Relevant for: API testing only
This task describes how to update a WSDL-Based Web Service that was already imported and incorporated into a test.
If you want to update the WSDL from ALM, make sure you have an open connection to the ALM server.
|To update a service from its original location||In the Toolbox pane, right-click the main service node and select Update WSDL.|
|To update the service from another location or if the Update WSDL option is not available||
Note: The Update WSDL option may not be available if the user credentials changed or if the service was imported using Service Test or an earlier version of UFT.
If UFT detects a change in the port path (<service name:port name> combination) the Update Port Security Wizard opens. The wizard only opens if you configured security settings for the original service. Follow the steps of the wizard to resolve all of the Service/Port conflicts.
Note: The wizard imports all of the services defined in the WSDL, even those deleted manually before the update. To remove them from the Toolbox pane, delete them again manually, after the update.
If a test step became invalid because an operation name changed or properties with values were changed, then the canvas marks the step with a warning marker.
Click the warning marker to display the message The step must be resolved. Resolve step. Click on the message text. The Update Step Wizard window opens.
Note that the step's properties become read-only, until you resolve them with the help of the wizard.
In the Select Operation page, click in the New Operation pane and select the operation that corresponds to the one in the Original Operation pane. Click Next. Properties for which conflicts were detected are highlighted in red.
In the page, in the Original Properties pane, select a property for which there is a conflicUpdate Input Propertiest, highlighted in red. In the right pane, New Properties, select a property to map.
Click Map. The wizard adds the mapping to the list in the bottom pane. Repeat this for all properties that you want to map. Click Next.
In the Update Output Properties page, select a property for which there is a conflict, highlighted in red. In the New Properties pane select the property to which you want to map. Click Map. The wizard adds the mapping to the list of mappings in the bottom pane. Repeat this for all properties that you want to map. Click Next.
Click Finish to save your changes and close the wizard.