Testim Documentation

Welcome to the Testim documentation. You'll find comprehensive guides to help you get started quickly, example code snippets, and tips for being more productive. You will also find details about advanced features that allow you to customize Testim to fit your environment or special testing conditions. Don't worry, we'll support you if you get stuck. Let's jump right in!

Guides    Changelog

API parameters

Learn how to use parameters in your API calls

You can pass parameters to the API step to be used for the API call. You can also export parameters from the API response to be used in the rest of the test. Read more about parameters options here.

Click here to run a demo test of the example featured in this article.

Using parameters in the sent HTTP request

Parameters can also be used in the header, body, and URL. Since those sections are cumbersome to write in JS, we made it easy for you. In these sections, you will need to add double\triple curly brackets around the parameters.

Example of a parameter in the header:

Example for a parameter in the body:

Example for a parameter in the URL:

Note: You can use triple brackets if you do not want the parameters to be escaped. e.g { {{param}}}

Using parameters in the HTTP response

Parameters added in the property panel will automatically be added to the function's signature. Plus you can also access any other variables in the test's scope.

Updated 7 months ago

API parameters


Learn how to use parameters in your API calls

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.