This topic applies only on the z/OS operating system.

Testing and production phases

Before explaining the test and production configurations for WebSphere Application Server for z/OS, you must understand which test phase should be done on the z/OS platform and which should be done on other platforms.

Note: Sharing resources between a production workload and a test workload can expose the production workload to a set of error conditions to which it is not exposed if the production and test workloads run in different cells. If possible, you should run production and test workloads in separate cells on your system.
Before setting up your test and production configurations for WebSphere Application Server, you must understand which test phases should be done on the z/OS platform and which should be done on other platforms. The following sections explain the different phases:
Test and production phases

Unit test phase

The development platform for WebSphere Application Server for z/OS is a WebSphere Application Server distributed operating system, such as Windows or Linux Intel. This development environment includes tools such as WSAD for Web content delivery. The IBM tooling solution assumes that you develop enterprise beans in WSAD and perform basic testing of the business logic in the distributed environment.

Component test phase

Component testing involves the joining together of several enterprise beans into logical components, providing them with access to data, and testing them together. While this can be done on a z/OS platform, it is recommended that you do this level of testing on a distributed platform. Performing this type of testing on a distributed platform enables a small team of developers to join the code pieces together and test the interactions. This type of testing focuses on the individual beans and their relationships to each other rather than z/OS platform functions and features.

Function test phase

Function testing involves joining the various components together, connecting them to test data in the target database, and validating the function that the application provides. Where this test is performed depends on the function and its data requirements. If the target deployment platform is z/OS, you might want to do this level of testing on the z/OS platform. In this situation you should install the applications that you are testing on one or more servers that are only used for testing.

When you install the application on a test server, define where in the JNDI directory the references to the application are stored, and then configure the test clients such that they know the location of the test application. The test clients can then drive requests against the test server to perform the functional testing. You can use remote debugging tools to diagnose problems you encounter along the way.

System test phase

Before you put an application into production on the z/OS platform, you should install the application on a WebSphere Application Server for z/OS system and simulate a real workload on that application. When setting up your system test environment, you should define an additional test server on a cell that is dedicated to the test system, and install the application onto that server. When installed, enterprise beans that are part of the application should be registered in a different subtree of the JNDI directory. This normally happens by default but it is good to verify that this registration occurs. The test clients must be configured to the version of the application that is being tested before you run your tests.

Production phase

After you are satisfied with the functional and system testing, install the application in a WebSphere Application Server for z/OS cell that is used for production . The difference between a production cell and a test cell is whether the remote debugger is allowed to be attached. Normally, it is not acceptable for a production workload to stop because a remote debugging request is sent to the cell.




Related tasks
Administering application servers
Concept topic    

Terms of Use | Feedback

Last updated: Sep 20, 2010 10:03:57 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-zos&topic=cruntestprod
File name: crun_testprod.html