Show TOC

Background documentationUsing Test Scenarios Locate this document in the navigation structure

 

You can use Web Services Navigator (WS Navigator) to test many Web services at once. The set of data used for testing the Web services is called a test scenario.

 

When you want to use a test scenario, you can choose the Test Scenario tab and proceed as follows:

  • Create a new test scenario, or import an available scenario from an XML file. For more information, see Creating Test Scenarios.

  • Execute a scenario and manage the results of the test. For more information, see Executing Test Scenarios.

  • Modify the scenario details using the scenario editor, and export the scenario to an XML file. For more information, see Editing Test Scenarios.

Features

A test scenario holds the following details for each of the tested Web services:

  • Position of the Web service in the scenario.

    The scenario keeps information about the order in which WS Navigator tests the Web services. This is helpful when you want to test stateful Web services

  • Location of the system on which the Web service is deployed.

    A scenario can contain only tests for Web services deployed on a single system. You can specify the location of the system you want to test before you execute the scenario.

  • The name of the tested Web service operation.

  • Test data for the operation.

    When the tested operation has input parameters, you can provide test data. WS Navigator sends the test data during the service request.

  • Expected results from the operation test.

    WS Navigator compares the Web service response with the expected results. In case they are different, it allows you to accept the current results or to exclude certain parameters from the check.

  • List of operation parameters for which the WS Navigator does not check if the response is identical to the expected result.