Property transfer
We have seen in our pre examples that in service orchestration, response parameter data of one service may become essential for the other service. Therefore, we would need to transfer the necessary data from a response to another request. To achieve the data transfer between services we use property transfer.
To add property transfer as a test step, repeat the steps as shown previously to add a groovy script and finally, when you reach the window where you have all the steps listed, select the following step:
You will then find the Property Transfer configuration window:
In the preceding window you need to configure the following:
- Source: Test step which is the source of the data to be transferred
- Property: Usually the response which has the response parameter data to be transferred
- Path language: XPath for a single node of the same parameter name, X query for a multiple data set with the same parameter name, and JSON for a REST API using JSON message exchange format
- Target:...