Newman

Newman Plugin

Kaholo plugin for running postman collections using Newman.

Method: Run Collection

Run a postman collection using Newman. You can view all method options in the documentation.

Parameters:

  1. Collection (String\Object) Required – Postman collection object or path to the collection json file. When passing the collection itself make sure to pass it as an object from code.
  2. Environment (Text\Object) Optional – Environment to pass to newman. Can pass either a string of the path to the environment file, or an enviroment object from code.
  3. Environment Variables (Text\Object) Optional – Environment variables to pass to newman. You can enter multiple values by separating each with a new line, or you can enter an object from code.
  4. Global Variables (Text\Object) Optional – Environment variables to pass to newman. You can enter multiple values by separating each with a new line, or you can enter an object from code.
  5. Options (Object) Optional – Any other options newman accepts, to pass to it for the collection execution. Enter value as object from code. Notice! The object will be merged with the parameters provided above and any object fields matching the ones provided above will be overwritten.