Documentation
Search
K

Pynt Newman

To run pynt with a local stored postman collection use pynt newman.

Prerequisites:

  1. 1.
    Install Pynt CLI: python -m pip install pyntcli
  2. 2.
    Ensure Docker engine is available and running on your machine (install from https://docs.docker.com/engine/install/).
  3. 3.
    Ensure your functional test collection is available in your workspace.
  4. 4.
    If your functional tests requires environment variables, make sure they are set.
  5. 5.
    Make sure your target is up.

Important Notes:

  • Please verify the above by running your functional test collection vs. your target before executing the Pynt security test.
  • Pynt utilizes your functional tests to perform the security tests. The more extensive the functional tests are, the more the security tests will cover. For example, more APIs, more users, more requests and full use of the parameters will trigger broader and richer dynamic security tests.

How to run:

Usage: pynt newman [OPTIONS]
Options:
--collection - Postman collection file name
--environment - Postman environment file name
--reporters - output results to pynt_results.json and pynt_results.html

Here is an example:

wget https://raw.githubusercontent.com/pynt-io/pynt/main/goat_functional_tests/goat.postman_collection.json
pynt newman --collection goat.postman_collection.json

EULA and Privacy Policy

Please read the EULA and the privacy policy carefully before downloading or using Pynt.

Need Support?

If you have questions or need any help, please email us at [email protected].