TS 61 WebSphere

"WebSphere Test Specification for "NetBeans 6.1"

Author: "Radim Roska"
Version: "1.1"
Last update: "2008/04/28"
Introduction: "This test specification is focused on testing netbeans support for IBM WebSphere application server.
Comments: "It supports version 6.0 and 6.1. Test specification is same for both these versions."

Contents


Test suite: "Register WebSphere"

Purpose: "To verify a WebSphere server instance can be easily added/removed and used within the IDE."
Setup: "I assume you have already installed both versions of WebSphere server on your computer. If not look at http://wiki.netbeans.org/AppServersInstallation "

  1. "Register WebSphere"
    1. In services view perform add server action on Servers node
    2. Select WebSphere Application server 6.0
    3. Specify correct location, where WebSphere is installed
    4. Profile should be find automatically. Push Finish button
    5. Check WebSphere node in services view. Go through properties..
    6. Remove WebSphere.
    7. Do the same for 6.1 version.
    • EXPECTED RESULT: "All operations works as fine."
  2. "Server manager"
    1. Open Tools - Servers
    2. In opened dialog try to remove and add WebSphere server.
    • EXPECTED RESULT: "Works as in the first case."


Test suite: "Managing WebSphere"

Purpose: "To verify a WebSphere can be controlled from IDE."

  1. "WebSphere server instance"
    1. Perform start action on WebSphere server node.
    2. Check output window, there should be server log displayed.
    3. When server starts, you can ensure its really running e.g. by running command
        netstat -a | grep 8880 
      (of course depends on which port server really listen - was specified while adding server to ide, can be seen in properties )
    4. Perform refresh action on WebSphere.
    5. Perform stop action.
    6. Again you can check it stopped by netstat command .
    7. Start server in debug mode.
    8. Perform restart action server.
    9. Close output window. And perform Show server log operation.
    10. Perform Show admin console action.
    11. Stop server.
    12. Do the same for 6.1 version.
    • EXPECTED RESULT: "Server responds to the operations correctly. Icon in services view is changing with server status. Server log is displayed when it should be. Performing Show admin console actions runs browser with IBM web configuration tool. "


Test suite: "Deployment"

Purpose: "To verify a j2ee project can be deployed to server using IDE."

  1. "Deploying Web Application"
    1. Create Web Application. Be sure to select WebSphere 6.0 in New Web Application wizard.
    2. Look into Configuration Files for ibm-web-bnd.xmi and ibm-web-ext.xmi files.
    3. Run new application while server is down. Server has to start automatically. Go and make some coffee ;).
    4. Application output should be displayed in new tab of your browser.
    5. Change "Hello World!" in index.jsp and run Undeploy and deploy operation. Refresh your browser when its done.
    6. Perform debug operation on Web Application.
    7. Again index.jsp should be displayed in your browser.
    8. In services view under WebSphere node look for all applications you have deployed to the server.
    9. Perform steps 1-8 for WebSphere 6.1
    • EXPECTED RESULT: " All operations run successfully. Project wizard always set correct j2ee version. WebSphere support only J2EE 1.4. *.xmi files are created. After deploying changed application result in browser has to be changed too. Check aplication subnode in WS node in services view (web apps/ear are placed correctly) "
  2. "Deploying Enterprise Application"
    1. Create Enterprise Application project. Again be sure to select WebSphere 6.0. Create some Session Bean in EJB Module.
    2. Perform steps 2-9 in case "Deploying Web Application" this time with Enteprise application.
    • EXPECTED RESULT: " All operations run successfully. Project wizard always set correct j2ee version. WebSphere support only J2EE 1.4. *.xmi files are created. After deploying changed application result in browser has to be changed too. "


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo