Show TOC

Editing Test ScenariosLocate this document in the navigation structure


When you want to remove a scenario step, or to change the order in which Web Services Navigator (WS Navigator) executes the scenario steps, you can use the scenario editor. You can also use the scenario editor when you want to change the way a particular scenario step is run.

For each step you select in the editor, you can do one or more of the following:

  • Modify the test data for the Web service request.

  • Modify the expected test result that WS Navigator compares with the Web service response.

  • Modify the list of operation parameters for which WS Navigator always accepts the response results as correct.

  • You have loaded a scenario in WS Navigator in one of the following ways:

    • You have just created a new scenario.

    • You have loaded a test scenario file using Start of the navigation path Test Scenario Next navigation step Editor Next navigation step Import End of the navigation path.

  • You know the WSDL or WSIL URL, the user name, and the password necessary to access the tested Web services.

  • WS Navigator is allowed to access the systems on which the Web services are running. More information: Configuring Web Services Navigator White List


Editing a Scenario

  1. Choose Start of the navigation path Test Scenario Next navigation step Editor End of the navigation path.

  2. Edit the scenario list:

    • To change the order in which WS Navigator executes the scenario steps, use the arrow buttons to move a particular step up or down in the list.

    • To remove a single step, choose Delete.

    • To remove all scenario steps at once, choose Remove All .


Removing scenario steps cannot be undone.

Editing a Scenario Step

  1. Choose Start of the navigation path Test Scenario Next navigation step Editor End of the navigation path.

  2. Select the scenario step you want to edit.

    You may need to provide the WSDL or WSIL URL, user name, password, and timeout.

  3. In the Test Scenario Execution Details screen area, modify the details of the selected step:


    Choose Save Changes each time you modify the execution details. The editor saves the changes only for the currently selected tab in Test Scenario Execution Details . The changes would be lost if you select another step in the editor, or if you switch from the editor to another part of WS Navigator.

    • The following can be of help when modifying elements:

      • You can copy and paste the parameter values by choosing the corresponding options from the Change menu.

        You can do this for individual elements, for a branch in the tree structure, and for the entire structure.

      • To find a particular value, choose Find .

        You can also replace some or all of the found values with another value. Note that the search functionality is not case sensitive, and you cannot use search wildcards.

      • To collapse or expand a structure of elements, use the buttons at the right end of the toolbar in the top part of the Parameters screen area.

    • Choose Input Parameters to modify the test data sent to the service.

      You can add or remove single parameters or arrays of parameters as necessary. To enter test data manually, deselect the Skip checkbox next to a parameter, and enter a value.

      When you want to clear all test data and remove the input parameters you have added, choose Reset .

    • Choose Expected Result Data to modify the data that WS Navigator uses to check if the service response is correct.

      Similarly to the input parameters, you can add or remove response parameters and modify their values.

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

      By default, the list contains operation parameters added after the test scenario execution using Add to exclude list . To add a parameter manually, use the service response structure available in Expected Result Data and use the forward slash (/) character as a delimiter.