Automating Dynamic Requests for Load Test

Hi Team,
I want to load test an API endpoint PUT /document/{document_id} by sending 1000 requests where the document_id ranges from 1 to 1000. The request body can remain static. While manually creating 1000 requests with different document_id values is possible, it’s not practical for this task. Could you please guide me on how to automate this in Apidog by sending 1000 requests where document_id starts from 1 and increments up to 1000, any built-in feature that supports auto-incrementing or iterating through document IDs during the test run?

Hi Hamza,

You can use a for loop in Apidog and set the document_id to the loop step index. Check the docs for details: Flow control conditions - Apidog Docs