Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Newman (needed for CTK test execution), this is the command line version of 'Postman'; installation instructions available at: https://www.getpostman.com/docs/newman_intro

  • Newman is built on Node.js. To run Newman, make sure you have Node.js installed. Node.js can be downloaded and installed from here on Linux, Windows, and Mac OSX.

    Node.js offers a server-side environment, which allows the use of JavaScript language to generate web pages. Basically, it replaces server languages such as PHP, Java EE, etc. Once Node.js is installed, Newman is just a command away:

    npm install -g newman

     

...

  • This installs Newman from npm globally on your system allowing you to run it from anywhere.

Once Node.js and Newman are installed follow the next steps: 

...

3  You need to create your testing environment. The environment is a text file without extension written in JSON. It has the following format:

Image Modified

You can use this as a template. Create a file with this format, replace the values for the name, the host and your API addresses and put it in the same folder as the postman collections.

...