Resolve REST Conflicts Wizard

Relevant for: API testing only

REMOVE THIS TOPIC This wizard enables you to resolve differences between REST service steps and the prototype method on which they were based. The wizard detects changes such as added, removed, or renamed properties and helps you resolve them.

Prerequisites

  1. Ensure that an API test or component is in focus in the document pane, or selected in the Solution Explorer.
  2. Create a prototype for a REST service method. For details, see Create a REST service model.
  3. Drag one or more REST service methods from the Toolbox pane to the canvas.
  4. Select a REST method in the Toolbox pane and choose Edit Service from the right-click menu. In the Edit REST Service dialog box, modify the method's properties and/or values.

Back to top

Start the wizard

Do one of the following:

Option Description
  • To resolve the selected steps only
  • Click on the alert in the bottom right corner of the REST method step , and click the text The step should be resolved. Resolve step.
  • To resolve all steps using the prototype method
  • In the Toolbox pane, right-click the method and select Apply Changes to all Steps.

    Back to top

    This task describes how to update a REST method step that was changed.

    Modify the step as required

    In the Properties pane, modify the REST service step as required: add or remove properties, or change property values. If there are conflicts, the canvas will display warning icons next to the relevant steps.

    Back to top

    Open the wizard

    • To resolve conflicts for the selected step, click the warning icon in the top right corner of the REST method step in the canvas. Select This step should be resolved. Resolve step. The Resolve REST Method Steps wizard opens.

    • To resolve conflicts for all steps created with the prototype, right-click the method in the Toolbox pane and select Apply Changes to all Steps.

    Back to top

    Run the wizard

    1. Select the steps that you want to resolve (only relevant when opening the wizard through the Toolbox pane).

      The left pane, Before Changes, shows the step's properties before they were resolved. The right pane, After Changes, shows the step's properties after they were resolved.

    2. Proceed with the wizard, resolving or keeping the detected differences.

    Back to top

    See also: