Weblogic 9 Application Server integration Test Specification
Author: Jaroslav Pospisil
Version: 1.0
Last update: 12-th September 2005
Estimated time: 3 hours
Default IZ component(s): serverplugins/weblogic9
Introduction: Weblogic plugin is one of new features in NB5.0 .
Its functionality is the simplified one to the previously introduced functionality of Sun Java System Appserver 8
and along with JBoss 4.0 appserver plugin it enable basic interface for starting server,stopping it and
deployment/debug actions.Both plugins are part of NB5 build and works with local server installation.
You have to install Weblogic 9 on your computer before start testing.
Latest version you can found hereYou have to register to download WL9 server.
Table of Contents
|
Purpose: To verify a Weblogic server instance can be easily added/removed and used within the IDE.
Setup: Install the Weblogic 9 server on your computer.
| # | Test case | Description |
| 1 | Add a Weblogic server installation |
1. Perform 'Add New Server...' action on Servers node. 2. In the opened dialog choose server "BEA Weblogic Application Server 9.0. and click "Next" 3. In the next screen fill the Weblogic server's Location and click "Next" 4. On the next page you fill Username and Password,both "weblogic" and click on "Finish".
|
|
|
RESULT:
A new subnode representing newly added Weblogic server should appear under the Server registry node. |
| 2 | Remove Weblogic server instance |
1. Perform 'Remove' action on the Weblogic server installation node
|
|
|
RESULT:
The node should disappear and the server should be stopped. |
| 3 | Check properties of the Weblogic 9 server installation |
1. Select the Weblogic 9 server node and check its properties.
|
|
|
RESULT:
Server manager should appear with Weblogic 9 server selected.You could check the properties of this server |
Teardown:
|
|
Purpose: To verify if Server Manager if is working propertly with a Weblogic server instance and all its actions and properties do what they are supposed to do.
Setup: Install the Weblogic 9 server on your computer.
| # | Test case | Description |
| 1 | Add Weblogic server |
1.Open Tools/Server Manager 2.Click on Add Server 3. In the opened dialog choose server "BEA Weblogic Application Server 9.0" and click "Next" 4. In the next screen fill the App server's Location,user name and password 5. Click on "Finish".
|
|
|
RESULT:
A new subnode representing the Weblogic server should appear under the Server manager list and corresponding properties should be displayed. |
| 2 | Remove Weblogic server |
1. Open Tools/Server Manager 2. Select "BEA Weblogic Application Server 9.0". Click on Remove.
|
|
|
RESULT:
The server name should disappear from list and the server should be stopped. |
Teardown:
|
|
Purpose: To verify a Weblogic 9 server instance is working propertly and all its actions and properties do what they are supposed to do.
Setup: Install the Weblogic 9 server on your computer.d for both command sets.
| # | Test case | Description |
| 1 | Start Weblogic 9 server |
1. Perform 'Start' action on the Weblogic server instance node.
|
|
|
RESULT:
The server should be successfully started. Check if there are startup messages in a output window. Verify if server node icon in Runtime tab changed responding to new status of server.Verify if in output window are on the left side displayed correct command icons(they represent the commands from context menu for server node),Start icon should be disabled . |
| 2 | Stop Weblogic server |
1. Perform 'Stop' action on the Weblogic server instance node.
|
|
|
RESULT:
The server should be successfully stopped. You can verify it by opening server URL in your browser (e.g. http://localhost:7001. The browser shouldn't be able to connect.Command icons in Output window should respond by disabling Stop and enabling Start. |
| 3 | Restart Weblogic server |
1. Perform 'Restart' action on the Weblogic instance node.
|
|
|
RESULT:
The server should be successfully restarted. Check if there are startup messages in a output window. Verify if server node icon in Runtime tab changed responding to new status of server.Verify if in output window are on the left side displayed correct command icons(they represent the commands from context menu for server node),Start icon should be disabled . |
| 4 | Start Weblogic server debug |
1. Perform 'Start in Debug Mode' action on the Weblogic instance node.
|
|
|
RESULT:
The server should be successfully started. Check if there are startup messages in a output window. Verify if server node icon in Runtime tab changed responding to new status of server.Verify if in output window are on the left side displayed correct command icons(they represent the commands from context menu for server node),Start icon should be disabled . |
| 5 | Refresh server status |
1. Perform 'Refresh' action on the Weblogic instance node.
|
|
|
RESULT:
Server status shoul be refreshed responding to all changes done,even those done outside the IDE. |
| 6 | Test command icons in Output window |
1. Perform all previous actions from command interface in Output window.
|
|
|
RESULT:
Should be the same as previously. |
| 7 | View Weblogic server Admin console |
1. Start Weblogic server . 2. Perform 'View Admin console' action on the instance node.
|
|
|
RESULT:
1.The Admin console should be opened in the browser. |
Teardown:
|
|
Purpose: To verify that the Weblogic 9 server contexts management works properly.
Setup: Install the Weblogic 9 server on your computer.
| # | Test case | Description |
| 1 | Deploy a new webmodule |
1. Create web module on Weblogic 9 server. 2. Perform 'Run Project' or 'Deploy project' action on web project's node on Projects tab.
|
|
|
RESULT:
Module should be deployed(verify it in Weblogic Admin console) and index.jsp opened in web browser. |
| 2 | Debug a new webmodule |
1. Create web module on Weblogic 9 server. 2. Perform 'Debug project' action on web project's node on Projects tab.
|
|
|
RESULT:
Module should be deployed(verify it in Weblogic Admin console) and index.jsp opened in web browser.Debugger window should appear in IDE. |
Teardown:
|
Purpose: To verify that the Weblogic 9 server generates proper server specific descriptor file.
Setup: Install the Weblogic 9 server on your computer.
| # | Test case | Description |
| 1 | Check Weblogic deployment descriptor |
1. Create web module on Weblogic 9 server. 2. Go to Files tab and unpack "YourWebModule/web/WEB-INF" node.
|
|
|
RESULT:
Check if there ic correctly created file "weblogic.xml" and inside is correctly set context path of your web module.Try to change it in Project properties nad check if it reflects the changes. |
Teardown:
|
Created: 20050912