Script to run Single request Multiple times

Hi All,

Hope someone can help!

Is there a script that we can run a single request multiple times?

I don’t want to run it as a collection.

Thanks

The only two options I know of is to use a data driven approach using a CSV or JSON input file, or using array shift functionality with setNextrequest in a loop.

Both require the Collection runner to work.

If you want to look at the second option.

This thread has an example

Post Looping through an Array not working - Help - Postman