Testing WebFacing applications

The WebSphere® Test Environment can be used as a convenient way to test your WebFacing applications. It allows you to test your WebFacing project on a WebSphere Application Server (WAS) running on your workstation. As WAS on the i5/OS® requires significant system resources, some developers may prefer to use the test environment during their development stage.

To setup and use the test environment, follow these steps:

  1. After the WebFacing project has been converted, activate the WebFacing Projects view. Right-click the WebFacing project that you would like to test and select Run As > Run on Server.
  2. The Run on Server dialog opens. You can create a new server, or choose to publish your project to an existing server. If you are using the test environment for the first time, you will be prompted to create a new server. If you have previously created servers, you can select from any servers that you have already created. The available server types depend on the options chosen during the installation of the IBM® Software Development Platform.

    If you want this project to always deploy to the same server, select the Set server as project default (do not ask again) check box. When you have selected your server, click Finish.

  3. If you are creating a new server, the server is created and started. If you are using an existing server, the existing server is started (if it is not already running). Your project is also deployed to the test environment.

    When the server startup has completed, the server console displays a message: "Server open for e-business" and a Web browser opens in the editor area, displaying the index.jsp page for your WebFacing application.


Feedback