Skip to content

entando/entando-QE

Repository files navigation

entando-postman/selenium

Postman version

Postman v.6.0.10 +

Collections v 2.1

install newman package

Prerequisites

  • Node and npm installed on your machine
  • newman and postman-combine-collections installed as global in your environment

install newman package

npm install newman --global

install postman-combine-collections

npm install postman-combine-collections --global

We can choose to execute single collection tests from the postman_API directory or execute all tests simultaneously by grouping all collections in a new generated json document.

execute single collection's tests

newman run postman_API/Access-Token.postman.collection.json -e postman_API/environment/Entando5.postman_environment.json

execute all collections's tests

Group all collections by executing:

postman-combine-collections --filePath=postman_API/*.json

then execute 

newman run root.collection.json -e postman_API/environment/Entando5API.postman_environment.json