Variables allow you to create requests that use data from a previous HTTP response header in your test. Get started by clicking the "Response Variables" button when creating or editing a test.

Define a variable by specifying a name and an HTTP response header field name.

A variable name must only contain alphanumeric ASCII characters and the underscore. Variable names are case sensitive.

Once you have defined a variable, you can use that variable in any subsequent URL in that test using the {{varname}} syntax. For example, if you defined a variable named id, you could specify a request URL that used id in the path:{{id}}/details

You can also use variables in GET Options and POST Options. For example, you could define a variable called csrf that was associated with a header field called X-Csrf-Token, and then use it as a POST parameter in the next request:

A Note on Escaping #

When using the double-brace syntax,  {{ varname }}, the content of your variables will be escaped for safe HTML use. To get your raw, unescaped values, use triple-braces: {{{ varname }}}

Still need help? Contact Us Contact Us