You can test an outbound web service action without sending a request to the external web service. So, you only test the outbound web service action setup and not the full process with connection to the external web service.

When testing, the outbound web service action does run the request message and response message. So, data can be impacted. Therefore, you are advised to only test an outbound web service action in a Development or Test environment.

For the result of an outbound web service action test, view the message history of the related request message and response message.


Standard procedure

1. Click Connectivity studio Integration Design.
2. Click the Web service tab.
3. In the list, click the link of the desired outbound web service action
4. On the Action Pane, click Development.
5. Click Test.
6. Enter the test status code to be returned when the outbound web service action is tested.
You can use any response status code from 200 to 299. Other codes will fail.
  In the StatusCode field, enter a number.
7. Indicate whether you want to use the request data or the mockup response data as test response data.
  In the Use request as response field, select the desired option.
 

Note: If you select No, make sure to enter the test response data in the Response section, in the Mockup response field.

8. Define from which table the request test data must be retrieved from.
Usually, this is the root record table of the source document of the request message. You can also use another table as defined for this document.
  In the Table name field, enter or select a value.
9. You can test using a specific record. To do so, you need the RecId of the desired record.
  In the Record-ID field, enter a number.
 

Note: If you do not define a specific record, you are advised to fill in the Test quantity field.

10. If the outbound web service action is set up for data synchronization of type Date range, you can do a delta run. If you do so, only the records that are added after latest web service action run, are included in the test.
  Select Yes in the Delta run field.
11. If you do not test a specific record, define the number of records of the defined table to be included in the test.
  In the Test quantity field, enter a number.
12. If you do not use the request data as response data, enter the test response in the right structure and format, for example, XML or JSON.
  In the Mockup response field, type a value.
13. Click Run.
14. Close the page.
Related to Notes

Set up outbound web services

 

Provide feedback