Testing modes for Web projects

Three different modes can be used for testing your Web projects, Run on Server, Debug on Server, and Profile on Server.

Run on Server
Use this mode to test ZIETrans Web projects in a WebSphere® Application Server instance or other supported servers, as appropriate. In this mode you can modify and test the runtime settings, defined in the runtime.properties file, that are deployed to the runtime environment. Be aware that any changes made to the runtime settings while testing in this mode are retained and become effective when you deploy the ZIETrans application to a runtime environment. For more information about changing runtime settings see the Using Z and I Emulator for Transformation (ZIETrans).

To use this mode, in the ZIETrans Projects view right-click your project and select Run on Server.

Debug on Server
Same as Run on Server and in addition enables you to:
  • Use the display terminal to see host screens as they are navigated while testing your project.
  • See debug messages in the Eclipse console.
  • See changes you make to your project, for example changing the template or a transformation, without having to restart your application on the test server.
  • Modify and test runtime settings, defined in the runtime-debug.properties file, without modifying the settings, defined in the runtime.properties file, that are deployed to the runtime environment.
  • Step through Java™ code, such as ZIETrans business logic.

To use this mode, in the ZIETrans Projects view right-click your project and select Debug on Server.

Profile on Server
Same as Run on Server, and in addition enables you to locate the operations that require the most time, and identify actions that are repeated, to eliminate redundancy. You can use this function for performance analysis, helping you to get a better understanding of your application.

To use this mode, in the ZIETrans Projects view right-click your project and select Profile on Server.