This shows you the differences between two versions of the page.
en:postman_collection_adaptor [2021/04/19 14:29] 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 postman collection file on a remote microservice and sends back a TastRowValues variable that contains information about the result. It needs the local file path where the postman collection is, and optionally, the local file path for a environment file, and a variable number of Newman parameters that allow you to set up some aspects of the execution.\\ Also, if you need to use a certificate, with the parameter Ssl-Client-Cert, you add the path to your certificate file, and with Ssl-Client-Key, you add the path to your Key file. Ssl-Client-Passphrase is where you need to put the Key password, if needed.\\ The checkbox “Use Corporate Proxy” makes the microservice use the proxy https://proxyservidoresdmz.scger.corp:8080 , which you may need to use if the destiny domain of the request is on an external network. | ||
- | |||
- | * **getResponseBody:** Allows the user to get the body of the response received from a specific request, from a previously executed collection with the adaptor. To identify the request which you want to recover the response from, this function needs the request name as a parameter. | ||
- | |||
- | * **getResponseStatusCode:** Allows the user to get the HTTP status code received as a response to a specific request, from a previously executed collection with the adaptor. The request name must be specified as a parameter to get the status code for it. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||