Versions Compared

Key

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

Executes Postman Collection defined in a Postman application. The exported collection file or the collection URL will be passed as input along with other optional arguments to the plugin operation. The JSON File(s) will be copied to the FD_TEMP_DIR temporary directory and Property Replacement will be performed on the file before execution. Test Results will be generated as an XML file and copied to the FlexDeploy Test Results repository.

Test Instance Properties

Property Name

Property Code 

Required

Description

Newman Executable PathFDPMN_POSTMAN_PATH_TO_NEWMAN_UTILITY  No

Absolute Path to the Newman command line utility for Postman testing

This is an optional property. If newman is on the PATH, then you don't need to supply it. Otherwise, give the full path to newman utility.

Node Executable Path FDPMN_POSTMAN_PATH_TO_NODEJS No

Absolute Path to the Node executable

This is an optional property. If the node executable is on the PATH, then you don't need to supply it. Otherwise, give the full path to node.

Environment/Instance Properties

...

Input Name

Input Code

Required

Description

Path or URL of CollectionFDPMN_POSTMAN_COLLECTION_FILEYes

Path to Collection File or the URL(http or https). Relative paths will be assumed to be in artifacts

. (e.g.

directory.

For example,

  • /home/postman/dataweave.postman_collection.json
or
Path of Environment File FDPMNFDPMN_POSTMAN_ENVIRONMENT_FILE No Path

Path to Postman Environment file (e.g. /home/postman/dev.postman_environment.json)

Since plugin 5.2.0.2, this input can be relative path to artifacts directory.

Folder Name in a Collection FDPMNFDPMN_POSTMAN_FOLDERNAME_IN_COLLECTION No Folder Folder name to run tests within a Collection.(e.g. test)
No of Test Iterations FDPMNFDPMN_TEST_ITERATIONS No Number Number of iterations to run the collection.(e.g. any value must be > 0)

...

Output Name

Required

Description




Artifacts

This operation doesn't consume or produce any consumes artifacts, which allows for test files to be part of artifacts.

Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the environment instance.

Selecting a specific resource will result in selection of endpoints associated to the environment instance which have that resource defined.

Endpoint Execution 

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.