This shows you the differences between two versions of the page.
postman_collection_adaptor [2021/04/19 14:33] montse |
postman_collection_adaptor [2024/12/10 12:23] (current) montse [Configuration] |
||
---|---|---|---|
Line 7: | Line 7: | ||
=====Configuration===== | =====Configuration===== | ||
- | There is no information needed when setting up the adaptor, the information will be needed when using the PFs. | + | There is no information needed when setting up the adaptor, the information will be needed when using the PF's. |
=====Initialization Parameters===== | =====Initialization Parameters===== | ||
Line 16: | Line 16: | ||
- | * **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. | + | * **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 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 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. | + | * **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 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. | + | * **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. |