Testing enterprise beans in the universal test client

The server tools provide you with a Web-based Universal Test Client where you can test your enterprise beans and Java classes.

To use the Universal Test Client:

  1. Create a WebSphere server.

  2. Add a project to the server.

  3. To ensure that the server is enabled to use the Universal Test Client:

    1. In the Servers view, double-click your server. The server editor opens.

    2. For WebSphere Application Server v6.0: Select the Overview tab and expand the Server section.

    3. For WebSphere Application Server v5.x: Select the Configuration tab and expand the Server Configuration section.

    4. Select the Enable universal test client check box.

    5. Close the editor and save your changes.

  4. Start a server.

  5. To start the Universal Test Client:

    1. In the Navigator view, right-click on an enterprise bean resource or an independent or stand-alone Java class.

    2. Select Run > Run on Server. The Bean page of the Universal Test Client opens in the Web Browser.

  6. Use the Universal Test Client to perform one or more of the following tasks:

  7. When you have finished using the Universal Test Client, close it.

 

Parent topic

Configuring WebSphere Application Server v6.x