0
0
Postmantesting~5 mins

Collection runner results in Postman

Choose your learning style9 modes available
Introduction
Collection runner results show you the outcome of running a group of API requests together. They help you see which requests worked and which did not.
When you want to test multiple API requests in one go.
When you need to check if all parts of your API work correctly together.
When you want to save time by running many tests automatically.
When you want to see detailed results for each request in a collection.
When you want to export test results for sharing or analysis.
Syntax
Postman
No specific code syntax; collection runner results are shown in the Postman app interface or exported as JSON.
Results include status codes, response times, and test pass/fail info.
You can export results as a JSON file for further use.
Examples
This shows a summary of each request's status and test results.
Postman
Run a collection in Postman Collection Runner and view the results tab.
You get a JSON file with detailed info about each request's response and tests.
Postman
Export collection runner results as JSON from the Postman app.
Sample Program
This JSON shows results from running three API requests: Get, Update, and Delete user. Each request has its response code and test result.
Postman
{
  "run": {
    "stats": {
      "iterations": 1,
      "requests": 3,
      "tests": 3,
      "assertions": 3
    },
    "executions": [
      {
        "item": "Get User",
        "request": {
          "method": "GET",
          "url": "https://api.example.com/user/1"
        },
        "response": {
          "code": 200,
          "body": "{\"id\":1,\"name\":\"Alice\"}"
        },
        "tests": {
          "Status code is 200": true
        }
      },
      {
        "item": "Update User",
        "request": {
          "method": "PUT",
          "url": "https://api.example.com/user/1"
        },
        "response": {
          "code": 200,
          "body": "{\"id\":1,\"name\":\"Alice Updated\"}"
        },
        "tests": {
          "Status code is 200": true
        }
      },
      {
        "item": "Delete User",
        "request": {
          "method": "DELETE",
          "url": "https://api.example.com/user/1"
        },
        "response": {
          "code": 204,
          "body": ""
        },
        "tests": {
          "Status code is 204": true
        }
      }
    ]
  }
}
OutputSuccess
Important Notes
You can see how long each request took in the results.
Failed tests are clearly marked to help you fix issues.
Exported results can be used to create reports or share with teammates.
Summary
Collection runner results show the outcome of running many API requests together.
They include status codes, response bodies, and test pass/fail info.
You can view results in Postman or export them as JSON for sharing.