Test Configuration
Prerequisites
You have configured the request message and the response message.
Procedure
- Choose the Test Configuration button.
The Test Request dialog box appears. The dialog box consists of four tabs:
Tab
Description
Request Variables
This tab contains a table with the request variables that you defined previously. Enter a meaningful value for each variable.
Response Variables
This tab contains a table with the response variables. Once a test call of the Web service has been executed successfully, the variables from the response are entered here automatically.
Raw Request
The data for the request is displayed here.
Raw Response
Here you can display the raw data for the response that the server has sent. The data is displayed in raw form, in other words, before it is converted to response variables in the unmarshalling operation. The response contains the following data:
-
HTTP status
-
Header
-
Cookies
-
Response text
-
- Choose the Test button.
If the configuration has not yet been tested, the message Web service not called is displayed in the dialog status bar.
When the test has been executed successfully, you get the message Test OK.
- When a test is completed successfully, choose the Map Response button.
By choosing this button, you can automatically create the response message configuration based on the response received after a successful test. You can only use the function for a RESTful Web service in conjunction with a JSON response.