Chaining items defined in the project properties can be used with the request item properties. When you use chaining items in the request item property that accepts them, you actually specify where particular execution data piece of the previous request should be used for the current request. You can use chaining items with the following request item properties:
- URL field.
- Request body field.
- HTTP headers field.
To use chaining in fields that accept them, you have to enclose them in curly braces. To display the list of available chaining items, put the cursor in the field where you want to insert the chaining and press
Ctrl+Shift+Space. A list of all available chaining items is displayed and you can select the desired item from the list to automatically insert it.
Chaining data in request items that generate multiple executions
If particular request item uses chaining and also generates multiple executions because of the use of parameters, chaining data for the next request is obtained from the previous request of the same request item. For example, if particular request item generates 10 executions and also uses chaining, the second execution will use data of the first execution, third execution will use data of the second execution, and so on. In short, chaining can also be used inside single request item that generates multiple executions and not only when executing multiple request items.
For step-by-step tutorial on using chaining, see the
corresponding topic in
How to section.