postman_collection_adaptor [TAST DokuWiki ]

User Tools

Site Tools


Sidebar

First steps in TAST

What is UML

Computer setup for TAST use

FAQ

Recognized Issues

TAST tool Menu

TAST Adaptors

Adaptors examples

TAST Integrations

Interesting features

Documentation of technical administration

Modeling recommendations

Training in the TAST tool

postman_collection_adaptor

This is an old revision of the document!


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.
  • 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.
postman_collection_adaptor.1615892721.txt.gz · Last modified: 2021/03/16 11:05 (external edit)