[RSS]

SoapUI Test Specification for NetBeans 6.1

Author: Lukas Jungmann
Version: 1.1
Last update: 07/01/2008
Default IZ component(s): websvc/soapui
Introduction: This test specification is not intended to be complete test specification for all features provided by SoapUI plugin created and actively developed by Eviware Software AB. It is expected to cover only the most important use cases from NetBeans point of view.
Estimate time: 4h (general testing) + 4h (publishing module on NB UC)
Comments: To prepare projects for testing purposes follow ie. Getting Started with JAX-WS Web Services tutorial
Additional documentation:

Test suite: Web Service Test

Purpose: Test the basic functionality for the JAX-WS web service
Setup: Download and install soapUI plugin from NetBeans Stable update center (use Tools -> Plugins) and have a project with some JAX-WS web service containing at least two web service operations
  1. Create Web Services Tests
    1. Deploy prepared project
    2. Run "Create Web Services Tests" action from web service's context menu and accept all defaults in dialogs which appears
    • EXPECTED RESULT: "Web Service Tests" node appears under the project node
  2. "PortBinding" node
    1. Expand "Web Service Tests" -> "<wsName>PortBinding" -> "<wsOperation>" node
    2. Double click on the "Request 1" node
    • EXPECTED RESULT: Sample request SOAP message is opened in the editor
  3. Invoke the service
    1. Click on the green arrow in the top left corner to execute the sample request
    • EXPECTED RESULT: Response from the service appears in the editor next to the sample request
  4. "Test Suite" node
    1. Expand "Web Service Tests" -> "<wsName>PortBinding Test Suite" -> "<wsOperation> Test Case" -> "Test Steps" node
    2. Double click on some the "<wsOperation>" node
    • EXPECTED RESULT: Sample request SOAP message is opened in the editor
  5. Run the test case
    1. Click on the green arrow in the top left corner to execute the sample request
    • EXPECTED RESULT: Response from the service appears in the editor next to the sample request
  6. Monitor the traffic
    1. Right click on the "Web Service Tests" node
    2. Select the web service end point from the dropdown list, accept other defaults and finish
    3. Switch to one of the previously opened tabs with a sample request SOAP message
    4. Select from the drop down the port you chose to redirect in the soap monitor dialog (default 8081)
    5. Execute the request
    6. Switch to the SOAP Monitor tab
    • EXPECTED RESULT: There's some activity shown in the SOAP Monitor

Test suite: Web Service Client Test

Purpose: Test the basic functionality for the JAX-WS web service client
Setup: A project with some JAX-WS web service client
  1. Create Web Services Tests
    1. Run "Create Web Services Tests" action from web service clients' context menu and accept all defaults in dialogs which appears
    • EXPECTED RESULT: "Web Service Tests" node appears under the project node
  2. "PortBinding" node
    1. Expand "Web Service Tests" -> "<wsName>PortBinding" -> "<wsOperation>" node
    2. Double click on the "Request 1" node
    • EXPECTED RESULT: Sample request SOAP message is opened in the editor
  3. Invoke the service
    1. Click on the green arrow in the top left corner to execute the sample request
    • EXPECTED RESULT: Response from the service appears in the editor next to the sample request
  4. "Test Suite" node
    1. Expand "Web Service Tests" -> "<wsName>PortBinding Test Suite" -> "<wsOperation> Test Case" -> "Test Steps" node
    2. Double click on some the "<wsOperation>" node
    • EXPECTED RESULT: Sample request SOAP message is opened in the editor
  5. Run the test case
    1. Click on the green arrow in the top left corner to execute the sample request
    • EXPECTED RESULT: Response from the service appears in the editor next to the sample request
  6. Monitor the traffic
    1. Right click on the "Web Service Tests" node
    2. Select the web service end point from the dropdown list, accept other defaults and finish
    3. Switch to one of the previously opened tabs with a sample request SOAP message
    4. Select from the drop down the port you chose to redirect in the soap monitor dialog (default 8081)
    5. Execute the request
    6. Switch to the SOAP Monitor tab
    • EXPECTED RESULT: There's some activity shown in the SOAP Monitor