Run a API test with selected request dynamically in a loop

book

Article ID: 223090

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

 I have requirement of running same request with different parameter values dynamically in a loop. Is there any option in Runscope to run the test in a loop?

Environment

Release :

Component : BLAZEMETER PERFORMANCE TESTING

Resolution

The current API Monitoring design does not provide an ability to have a single test loop through a set of variables as you have outlined is needed in your test;  however, you may be able to meet your needs by making use of API Monitoring Trigger URls.  Trigger URLs allow you to initiate one or more tests from scripts, code and third-party services by making simple HTTP requests.  You can use Trigger URLs with custom initial variables.  You would pass in new values for each set of variables that you would need to use in your test as you iterate through all required values.

Additional Information

The Trigger URLs with Custom Initial Variables section of the Build/Deployment Integration article provides more information on working with Trigger URLs.