Please look through the example again.
The setNextRequest does not go in the pre-request script.
Here is another example.
Send multiple get request and then a single post request - Help - Postman
Please look through the example again.
The setNextRequest does not go in the pre-request script.
Here is another example.
Send multiple get request and then a single post request - Help - Postman