For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
      • Sync collections and specifications reference
      • Migrate from API Builder to Spec Hub
        • Overview
        • Create an API
        • Import an API
        • Test an API
        • Manage and share APIs
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Adding API tests
  • Running API tests
  • Adding CI integration
Design and build APIsDevelop APIs with the API Builder

Add automated tests and CI integrations in the Postman API Builder

||View as Markdown|
Was this page helpful?
Previous

Check for validation and syntax errors in the Postman API Builder

Next

Manage API deployments in the Postman API Builder

Built with

Testing is a critical part of the API development process. You can create a collection that has your API tests and link it to your API. You can also integrate your API with supported continuous integration (CI) tools.

API testing using the API Builder is available with Postman team plans. If you are on a Free individual plan, create a new team to run and automate tests from the API Builder. Learn more about what’s included with each plan.

Want to take your API testing further? Learn more about essential API testing techniques, adding test logic with scripts, and more at Test APIs and write scripts in Postman.

Adding API tests

You can connect a test collection (a collection containing API tests) to an API you’ve defined in the Postman API Builder.

To add a test collection to an API, do the following:

  1. Click APIs in the sidebar and select an API.

  2. Click Test and Automation.

  3. Next to Collections, click Add icon Add a collection and select an option:

    • Copy existing collection - Select an available collection from the list. A copy of the collection is added to the API.
    • Generate from definition - Name and configure a new collection based on the API’s definition.
    • Add new collection - Create a new empty collection in the API. You can add a request to the collection, then add your tests to the Post-response tab.
Adding a test collection

For more information on how to write API tests, see Use scripts to add logic and tests to Postman requests.

Running API tests

After adding a test collection, you can run the collection to test your API and view test results.

To run a test collection for an API, do the following:

  1. Click APIs in the sidebar and select an API.
  2. Click Test and Automation.
  3. Under Collections, hover over a test collection and click Run icon Run.
  4. Configure the collection run, then click Run (collection name). Learn more about configuring collection runs.
  5. To view detailed test results, expand the collection and click View Report next to a test run.
Running a test collection

To remove a test collection from an API, click Delete icon Delete next to the collection.

Adding CI integration

Postman integrates with some of the most widely used continuous integration and continuous delivery (CI/CD) tools. After you set up CI integration for your API, you can view the status of builds or start a new build, all from within Postman. You can also run API tests created in Postman as part of your CI pipeline.

To set up a CI integration for an API, do the following:

  1. Click APIs in the sidebar and select an API.
  2. Click Test and Automation.
  3. Under Automate, select the CI integration you want to add.
Connecting to CI/CD

To learn more about how CI integrations work, and for detailed configuration steps, see CI integrations.