Use Request Chaining

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: 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.

For more information about using chaining, see corresponding topic in 'How to' section.

Chaining and first request in a batch

Using chaining is only meaningful if you are executing multiple requests because each execution will try to use some data from the previous request. It is important to note that chaining should not be used in request item that will be executed first because there won't be any previous request and chaining data won't be available. If chaining items are used with first execution in a batch, HttpMaster will use empty string value for all used chaining items in first execution because data of previous request is not available.

Unavailable chaining data

It is possible that data for used chaining item won't be available in the previous execution data, for example, if specified http response header value is not available. In such a case, HttpMaster will use empty string value for such chaining item in the current request.

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.