| # | Test case | Description |
| 1 | Start built-in tomcat server |
1. Perform 'Start / Stop Server' action on the default tomcat instance node. 2. In the opened dialog press 'Start Server' button and wait until the server is running.
|
|
|
RESULT:
The server should be successfully started. Check if there are startup messages in a output window. Verify if the instance node can be expanded and contains a list of deployed webmodules. Try to deploy a webmodule to verify if the server is running properly. |
| 2 | Stop built-in tomcat server |
1. Perform 'Start / Stop Server' action on the default tomcat instance node. 2. In the opened dialog verify that the 'Server is running' status is displayed and press 'Stop Server'.
|
|
|
RESULT:
The server should be successfully stopped. You can verify it by opening server URL in your browser (e.g. http://localhost:8084. The browser shouldn't be able to connect. |
| 3 | Start an external tomcat server |
1. Add an external tomcat installation into the IDE 2. Perform 'Start / Stop Server' action on the tomcat instance node. 3. In the opened dialog press 'Start Server' button and wait until the server is running.
|
|
|
RESULT:
The server should be successfully started. Check if there are startup messages in a output window. Verify if the instance node can be expanded and contains a list of deployed webmodules. Try to deploy a webmodule to verify if the server is running properly. |
| 4 | Stop an externall tomcat server |
1. Perform 'Start / Stop Server' action on the default tomcat instance node. 2. In the opened dialog verify that the 'Server is running' status is displayed and press 'Stop Server'.
|
|
|
RESULT:
The server should be successfully stopped. You can verify it by opening server URL in your browser (e.g. http://localhost:8080. The browser shouldn't be able to connect. |
| 5 | start tomcat server debug |
1. Perform 'Start / Stop Server' action on the default tomcat instance node. 2. In the opened dialog press 'Start Server (Debug)' button and wait until the server is running. 3. In the opened dialog press 'Start Server (Debug)' button and wait until the server is running.
|
|
|
RESULT:
The server should be successfully started. Check if there are startup messages in a output window. Verify if the instance node can be expanded and contains a list of deployed webmodules. Try to deploy a webmodule to verify if the server is running properly. |
| 6 | View tomcat server logs |
1. Start tomcat server . 2. Perform 'View Shared Context Log' and 'View Server Output' actions on the instance node.
|
|
|
RESULT:
The corresponding server logs should be opened in the output window and their content should be updated as the server appends something to them. |
| 7 | Change http connector and admin port from properties |
1. Select desired tomcat instance in the runtime tab. 2. In the node properties change 'Server Port' value to for example 9999. 3. Change the Admin Port to 8001 4. Start the server.
|
|
|
RESULT:
The server should be running on the specified port. Verify that the changes has been reflected to the configuration file $USER_DIR/conf/server.xml (open it from popup menu on server instance 'Edit server.xml'). |
| 8 | Change http connector and admin port from server.xml |
1. On desired tomcat instance node click 'Edit server.xml' popup item. 2. Changed server port value to e.g. 9998. 3. Change the Admin Port to e.g. 8002. 4. Start the server.
|
|
|
RESULT:
The server should be running on the specified port. Verify that the changes has been reflected to the properties sheet. |
| 9 | Change the ports when the server is running |
1. Select desired tomcat instance in the explorer. 2. In the node properties try to change 'Server Port' value to something else than the existing value.
|
|
|
RESULT:
Since the server is currently running the IDE should warn you about that fact and do not allow to change the property. |
| 10 | Change manager application user name and password |
1. Select desired tomcat instance in the runtime tab. 2. In the node properties change 'User' to another value (12345) and do the some for the password. 3. Start the server.
|
|
|
RESULT:
The server should be running on the specified port and a simple login dialog should be displayed. Fill up the original name/password. Than the access to the manager application from the IDE should work properly. |
| 11 | Disable HTTP monitor |
1. Select desired tomcat instance in the runtime tab. 2. In the node properties uncheck the 'Enable HTTP monitor' property. 3. Start the server.
|
|
|
RESULT:
The server should be running and no http monitor window should be opened in the IDE. Verify that the conf/web.xml file do not contain the monitor servlet filter (HTTPMonitorFilter filter class). |