This shows you the differences between two versions of the page.
en:postman_collection_adaptor [2023/11/20 12:46] montse |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Postman Collection Adaptor====== | ||
- | |||
- | =====Introduction===== | ||
- | |||
- | This adapter 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 the https://proxyservidoresdmz.scger.corp:8080 proxy, which may need to be used 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 name of the request 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 name of the request must be specified as a parameter in order to obtain the status code of that request. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||