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
        • Run and test collections with Newman CLI
        • Install and run Newman
        • Newman command reference
        • Upload files with Newman
        • Use Newman built-in reporters
        • Use Newman external and custom reporters
        • Newman with Docker
        • CI with Newman
        • Travis CI with Newman
        • Jenkins with Newman
        • Migrate to the Postman CLI
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
  • Install Newman in Jenkins
  • Configure Jenkins
  • Test Newman in Jenkins
  • Specify build frequency
ReferenceNewman CLI

Integrate your Postman tests with Jenkins using Newman

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

Integrate your Postman tests with Travis CI using Newman

Next

Migrate scripts from Newman to the Postman CLI

Built with

Jenkins is an open source automation server that can act as a continuous integration (CI) server or a continuous delivery (CD) hub. Use Newman to integrate your Postman tests with Jenkins. You can run a Postman Collection and its API tests from Jenkins. You can also specify the frequency that Jenkins runs a collection.

This guide uses a Jenkins installation that runs locally, but in most cases you’ll run Jenkins on a build server in your production environment.

Developing an API? Postman offers built-in tools to integrate your API with some of the most popular continuous integration (CI) tools, including Jenkins. After you set up CI for your API, you can view the status of builds or kick off a new build, all from within Postman. You can also use Newman to run API tests as part of your CI pipeline. To learn more, see CI integrations.

Install Newman in Jenkins

Install Jenkins if you haven’t already, and start it. By default, Jenkins is configured at http://localhost:8080 if you’re running it locally. Install the NodeJS plugin in Jenkins, then install Newman in it.

To install NodeJS in Jenkins, do the following:

  1. Click Manage Jenkins.
  2. Under System Configuration, select Plugins.
  3. Click Available plugins, and search for “NodeJS”.
  4. Select the checkbox next to NodeJS, then click Install.

To install Newman in Jenkins, do the following:

  1. Click Manage Jenkins.
  2. Under System Configuration, select Tools.
  3. Under NodeJS installations, select Add NodeJS.
  4. Enter a name for the NodeJS installation.
  5. In Global npm packages to install, enter “Newman”.
  6. Click Save.

Configure Jenkins

After you install Newman in Jenkins, you can configure Jenkins to run a collection using Newman. You’ll need a Postman Collection that has at least one request with tests. Then export the collection as a JSON file so you can run it using Newman.

To configure Jenkins to run Newman, do the following:

  1. On the Dashboard page, click + New Item to create a new job.

  2. Select Freestyle project from the options, name your project, and click OK.

  3. On the Configure page, click Build Environment, and select the checkbox next to Provide Node & npm bin/ folder to PATH. Select the NodeJS installation where you installed Newman.

  4. Click Build Steps, then select Add build step > Execute shell to run a shell command. Enter a shell command to run the collection using Newman, for example:

    $newman run ~/Desktop/jenkins_demo_postman_collection.json
  5. Click Save.

Test Newman in Jenkins

  1. On the Dashboard page, select the job you configured to run Newman.

  2. Click Build Now to manually run the build. After the build runs, review the Build History to check if the build succeeded:

    • If the build succeeded, Jenkins indicates this with a green checkmark.

    • If the build failed, Jenkins indicates this with a red cross mark.

  3. Select the build from the Build History, then click Console Output to review the results of the collection run.

  4. If the build failed, go to the collection in Postman to fix your tests. Then export the collection as a JSON file, and run the build again.

Specify build frequency

You can configure Jenkins to run Newman at a specified frequency. This enables you to run and test collections from Jenkins on a schedule.

In your production environment, you can set up notifications and customize Jenkins to align with your organization’s goals.

To set the frequency that Jenkins runs Newman, do the following:

  1. On the Dashboard page, select the job you configured to run Newman.

  2. Click Configure.

  3. On the Configure page, click Build Triggers, then select the checkbox next to Build periodically.

  4. Enter the schedule you’d like the build to run using cron syntax. For example, the following syntax sets the build frequency to every 15 minutes: H/15 * * * *.

    Click the help icon next to Schedule to learn how to specify the build frequency.

  5. Click Save.