TS 61 WebLogic

"WebLogic Test Specification for "NetBeans 6.1"

Author: "Radim Roska"
Version: "1.1"
Last update: "2008/04/29"
Introduction: "This test specification is focused on testing netbeans support for WebLogic application server.
Comments: "Netbeans supports WebLogic version 9 and version 10. You must run NetBeans on JDK 1.5 when testing WebLogic."

Contents


Test suite: "Register WebLogic"

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

  1. "Register WebLogic"
    1. In services view perform add server action on Servers node
    2. In the opened dialog choose server BEA WebLogic Server and click Next
    3. Till you specify server location there's error msg "Please enter a valid BEA WebLogic Server 9/10 installation directory".
    4. Specify correct location, where WebLogic is installed. Next.
    5. Select one of precreated local instances, you can leave selected the default one.
    6. Finish.
    7. Remove WebLogic.
    • EXPECTED RESULT: "All operations works fine. When WebLogic is registered to the IDE, its node appears as subnode of Servers node in Services View. After Remove action WebLogic node disappears from Services View."
  2. "Server manager"
    1. Open Tools - Servers
    2. In opened dialog try to remove and add WebLogic server.
    • EXPECTED RESULT: "Works as in the first case."


Test suite: "Managing WebLogic"

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

  1. "WebLogic server instance"
    1. Perform start action on WebLogic server node.
    2. Check output window, there should be server log displayed.
    3. Check server node icon in services view has changed.
    4. Perform refresh action on WebLogic.
    5. Perform stop action.
    6. Verify it has really stopped by opening server URL in browser. (e.g. http://localhost:7001 - port may be different)
    7. Start server in debug mode.
    8. Perform restart action server.
    9. Close output window. And perform View server log operation.
    10. Perform View admin console action.
    11. Perform Properties action.
    12. Stop server.
    13. Most of these actions can be performed from output window as well.Verify it works.
    • EXPECTED RESULT: "

Following options should be available after right click on server node:

   * Start
   * Start in Debug mode
   * Restart (not enabled)
   * Stop    (not enabled)
   * Refresh
   * Remove
   * View Admin Console
   * View Server Log
   * Properties
Server responds to the operations correctly. Icon in services view is changing with server status. Appropriate string (e.g. "Starting BEA WebLogic Server") appears in the status bar when operation is performed. Server log is displayed when it should be. Performing View admin console actions runs browser with web configuration tool and so does view JMX console. "


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 WebLogic in New Web Application wizard.
    2. Run new application while server is down. Server has to start automatically.
    3. Application welcome page should be displayed in new tab of your browser.
    4. Change "Hello World!" in index.jsp and run Undeploy and deploy operation. Refresh your browser when its done.
    5. Perform debug operation on Web Application.
    6. Again index.jsp should be displayed in your browser.
    7. Check deployment descriptor - weblogic.xml in Configuration Files.
    • EXPECTED RESULT: " All operations run successfully. After deploying changed application result in browser has to be changed too."
  1. "Deploying Enterprise Application"
    1. Create Enterprise Application project. Again be sure to select WebLogic. Create some Session Bean in EJB Module.
    2. Perform steps 2-7 in case "Deploying Web Application" this time with Enteprise application.
    • EXPECTED RESULT: " All operations run successfully."


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