Runscope API Monitoring    Learn More →

Posts filtered by tag: runscope api

Using the Runscope API to Dynamically Update Environment Variables

By Neil Mansilla on .

Runscope API tests support variables, allowing you to pass one or more values between requests within a test. Variables are extremely helpful when you need to extract data from one request in your test and then apply or compare that value at another stage of your test. We sometimes refer to this as chaining requests. Variables can be declared before an API test run using Initial Variables (located in Environment settings), or you can create them dynamically after each request within your test. Runscope variables are limited to an individual test run, which means that they are reinitialized with each test run. 

There are many use cases for needing to persist variables, such as storing credentials like an access token in an initial variable. This makes it convenient for making authenticated API requests in your tests and...

Read More →

Categories: howto, product, testing

Everything is going to be 200 OK®