Using the Certify Postman Interface
After integrating Postman, Certify can access, send, and receive data and execute Postman processes.
Configuring Postman
You must complete the following steps in the Postman API Platform:
Complete the following steps to integrate Postman with Certify:
- Create a Postman collection.
- Export the Postman collection as a JSON file.
This procedure assumes that you have the Postman API Platform installed.
To create and export a Postman collection:
For more detailed information, see the Postman website.
- Open the Postman API Platform.
- Create a collection and request in Postman.
- (Optional) Define input parameters to pass data to Certify.
- (Optional) Define environment variables to receive data from Certify.
- Create a test case to validate the response.
-
Save and export the Postman collection as a JSON file.
You will use the Postman collection file path when creating a Certify process.
Creating a Certify Postman Process
This procedure assumes that you have installed the Postman interface when installing Certify.
The Postman Interface is comprised of only one object named Collection, and it has the following actions:
Action |
Description |
Narrative |
Configure |
Configure the Postman Collection you plan to run |
Configure Postman Collection "<*Collection>" run You will post the saved Collection path in a parameter field. |
Get Last Run Error Message |
Get error message from last run |
Store error message from last run in Variable <*Variable> |
Get Run Statistics |
Get statistics from last run |
Store last run <*Statistic ID> statistic value in <*Value> |
Get Variable |
Get Postman variable value from last run |
Store last run <*Scope> scoped Variable <*Variable> value in <*Value> |
Run |
Run Postman Collection |
Run configured Postman Collection |
Set Data Variable |
Set Postman data variable value |
Set Postman data variable <*Variable> to <*Value> |
Set Global Variable |
Set Postman global variable value |
Set Postman global variable <*Variable> to <*Value> |
To execute Postman tests in Certify:
- Open Certify.
- Create a Postman application with the Postman interface selected. For more information, see Creating Applications.
- From the Postman application, create a window named Collection to use for your process steps. For more information, see Creating Windows.
-
From the Worksoft Certify folder, import the Postman map as the version of the Postman application. The file is located in the following folder:
C:\Program Files (x86)\Worksoft\Certify\Interface Client\Worksoft\wsTest\Postman\Postman-csv.map
-
Create a new project named Postman and add the Postman application. For more information, see Creating Projects.
-
In the Postman project, create a Certify process to execute Postman tests. For more information, see Creating Processes and Adding Steps to Processes.
The process below shows how to point to a Postman collection, pass input data, execute the Postman test, and get the results.
-
Run the process to view the returned value in the Interface Return Value column in the Execution dialog.