Import test cases from Postman
How to create a HyperTest session using postman collections?
Last updated
How to create a HyperTest session using postman collections?
Last updated
Before you get started with importing postman data, you should be familiar with the following concepts:
- A set of requests fired in a particular order.
Session Differentiators - A value that categorizes a request into a session. This value is typically derived from specific headers, IP of the request. Learn more abut it .
- An API platform for developers to design, build, test, dcocument their APIs.
Request - An HTTP request consists of An HTTP method, a verb (like GET , PUT or POST ) that describes the action to be performed.
- Popular way of grouping requests for readable documentations.
Postman Folder - Organizes requests within a collection. Learn more about it .
First thing you need is HyperTest installed. Learn about HyperTest
- Install, deploy and mirror traffic to HyperTest.
- HyperTest has an easy to use interface.
HyperTest organizes requests having the same request header 'x-ht-session-id' into the same session.
Create a new session by providing x-ht-session-id in header of the Postman request.\
Click on send. ****
View your session in the HyperTest dashboard \
Navigate to pre-requests section of the folder/collection. \
Set pre-requests.
pm.request.headers.upsert({key:'x-ht-session-id',value:'<session-id>'})
\
For a collection\
For a folder\
In the same window, click on Run button.\
Ensure the run order, environment. \
Click on run. This will take you to run results window.\
View the session in HyperTest dashboard. \
Please make sure that is setup for your application. \
Please make sure that is setup for your application. \