Postman Collection Adaptor
Introduction
This adaptor is used to send a postman collection to our postman microservice, and get the desired information and response of it.
Configuration
There is no information needed when setting up the adaptor, the information will be needed when using the PFs.
Initialization Parameters
No initialization parameters required.
Functions
-
executePostmanCollection: executes a file containing a postman collection in a microservice and returns a TastRowValues variable that has information about the result. It requires the local path of the file containing the postman collection, and optionally, the local path of an environment file, and a variable number of Newman parameters that allow you to configure aspects of the execution.
And if you need to use a certificate, with the Ssl-Client-Cert parameter, you add the path to your certificate file, and with Ssl-Client-Key, the path to your Key file. Ssl-Client-Passphrase is the parameter to put the password of the key, in case you need it.
The “Use Corporate Proxy” checkbox causes the microservice to use for example the proxy https://proxyservidoresdmz.scger.corp:8080, which you may need to use if the target domain of the request is on an external network.
-
getResponseBody: allows the user to retrieve the response body received from a specific request, from a collection that has been previously executed with the adapter. To identify the request from which you want to retrieve the response body, this function needs the request name as a parameter.
-
getResponseStatusCode: allows the user to obtain the HTTP status code, received as a response to a specific request, from a collection previously executed with the adapter. The request name must be specified as a parameter in order to get the status code of that request.
No Comments