ExecuteCollection

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 will be copied to the FD_TEMP_DIR and Property Replacement will be performed on the file. 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

Property Name

Property Code

Required

Description





Project Properties

Property Name

Property Code

Required

Description





Inputs

Input Name

Input Code

Required

Description

Path or URL of CollectionFDPMN_POSTMAN_COLLECTION_FILEYesPath to Collection File or the URL(http or https). Relative paths will be assumed to be in artifacts. (e.g. /home/postman/dataweave.postman_collection.json or
https://www.getpostman.com/collections/631643-f695cab7-6878)
 Path of Environment File FDPMN_POSTMAN_ENVIRONMENT_FILE No Path to Postman Environment file (e.g. /home/postman/dev.postman_environment.json)
 Folder Name in a Collection FDPMN_POSTMAN_FOLDERNAME_IN_COLLECTION No Folder name to run tests within a Collection.(e.g. test)
 No of Test Iterations FDPMN_TEST_ITERATIONS No Number of iterations to run the collection.(e.g. any value must be > 0)

Outputs

Output Name

Required

Description




Artifacts

This operation doesn't consume or produce any 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.