Stevoisiak
Stevoisiak

Reputation: 26885

How can I run an individual request with Postman Collection Runner?

I want to use the Postman Collection Runner to submit requests to an XML API based on data imported from a CSV spreadsheet. However, rather than running an entire collection, I want to only run an individual request from a folder.

So for example: I have a folder of POST requests for manipulating employee data.

POST requests for employee data

I specifically want to test sending Load requests to my API. However, the Collection Runner only lets me select and run the entire Personality folder.

How can I test an individual request using the Postman Collection Runner?

Upvotes: 6

Views: 5583

Answers (3)

SilentNot
SilentNot

Reputation: 1701

Select the collections tab on the left hand side. Tap on the name of the collection to expand all the requests in the collection. Select the request you want to run. In the right hand window, the request will show up. Hit the send button to run the request.

Of course this is not directly from the collection runner itself.

Upvotes: 0

DennisS1981
DennisS1981

Reputation: 626

You could also simply create a subfolder for the single request you want to iterate over. Runner can zoom in on that folder.

Upvotes: 3

Danny Dainton
Danny Dainton

Reputation: 25921

If you want to run the first request you can use the setNextRequest(null) function within the test tab. As long as the request that you only want to run is first in the collection, it will be the only one that is picked up in the collection runner. More details can be found here.

Upvotes: 1

Related Questions