# Is it possible to write a script with no request that just calls other requests?

**URL:** <https://community.postman.com/t/is-it-possible-to-write-a-script-with-no-request-that-just-calls-other-requests/30236>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [November 30, 2021, 7:43pm UTC](https://community.postman.com/t/is-it-possible-to-write-a-script-with-no-request-that-just-calls-other-requests/30236 "2021-11-30T19:43:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaugeri](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jmaugeri](https://community.postman.com/u/jmaugeri)\
**Post date:** [November 30, 2021, 7:43pm UTC](https://community.postman.com/t/is-it-possible-to-write-a-script-with-no-request-that-just-calls-other-requests/30236/1 "2021-11-30T19:43:18Z")

</div>

I currently have a collection that loops through an array of URLs and runs the necessary requests on those URLs (using postman.setNextRequest) until that array is empty. It works okay for what I need, but it’s complicated to keep track of the logic flow so I’d like to simplify this logic further.

Is it possible to just have a script that doesn’t make a request and only loops through this URL list calling each request as needed? I thought I would be clever and do this using “Pre-request Script” for the collection but then I found out that it runs before EVERY request which isn’t what I want. I want it to run once and inside there handle the variables and call each request manually. I can’t find a simple way to do this from within Postman but I feel like it should be doable somehow?
