How to view answers in Postman Collection Runner?

I use Runman Collection Runner to run the same query multiple times using iterations. My tests work as expected, but I cannot see individual responses for each request.

Can I view answers for queries in Runner Collection Runner?

+3
source share
4 answers

In the latest version of Postman, you can view all the data from the collection launch for each individual request.

In the Runner collection, click on the name of the request, and all details of the request and response can be viewed.

enter image description here

More information can be obtained in the Debugging section using the Request and Response Body section of this page.

+3
source

Let me add more information about the shadowcharly solution.

Your results can be viewed if you assign the responseBody variable to check the array (on the Tests tab)

tests["body"] = responseBody

enter image description here

and export it as json (on the interface you see only null / results if the test passed or not).

enter image description here

enter image description here

enter image description here

This is not very useful, but this is the only way I have found.

+2
source

If you repeat the exact same query, you can use the test name to show the result:

 tests['Test to see value of key Key'+ keyValue] = testResult.... 

You will have a different test for each value received, not a log, but it works fantastically;)

0
source

It may help someone I tried

pm.test (responseBody, true)

and it printed the answer in a summary of the results.

0
source

All Articles