Found 75 Articles for REST API

How to Generate CLI & JUNIT Newman report on Jenkins using Postman?

Debomita Bhattacharjee
Updated on 25-Jun-2021 12:43:00

1K+ Views

We can generate a CLI & JUNIT Newman report on Jenkins. Jenkin reports are a descriptive and categorized representation of test output. These reports help to establish a clear communication channel among members of the team and project stakeholders.Jenkins reports are available in multiple formats and can be improvised by incorporating various flags in the build commands. As a pre-condition, Jenkins should be set up in our system. The information on how to configure Jenkins can be found in the link − https://www.tutorialspoint.com/jenkins/index.htm. Besides, there should be a Collection created having at least a single request and Newman installed in ... Read More

What is Postman Sandbox?

Debomita Bhattacharjee
Updated on 25-Jun-2021 13:08:06

651 Views

Answer − Postman Sandbox is an Environment provided to execute JavaScript written as a part of the Pre-Request and Tests scripts for a request. This can be available for both Postman and Newman. Thus every script developed under the Tests or Pre-Request Scripts tab can be executed within this Sandbox.Libraries and Utilities used in Postman Sandbox −Lodash - a utility in the JavaScript library.cheerio.BackboneJS.SugarJS.CryptoJS.Environment, Global, Dynamic variables & CookiesTo set an Environment variable, we have to add the below script −postman.setEnvironmentVariable(name of variable, value of variable)To set a Global variable, we have to add the below script −postman.setGlobalVariable(name of variable, ... Read More

How to Share Session ID across Different Requests in Postman?

Debomita Bhattacharjee
Updated on 25-Jun-2021 13:05:36

2K+ Views

We can share session id across different requests in Postman. We can send a cookie value obtained from a request to a different request. This can be done only if the website is similar.A particular server can identify its own cookie. This makes a cookie highly secured. The cookies are passed to another request to store the information of the user preferences as it navigates through the webpages.A session id is similar to an expiration of a token. As the session id gets expired, an user has to again authenticate his credentials. As a user logs in for the first ... Read More

How to Monitor Collections in Postman?

Debomita Bhattacharjee
Updated on 24-Jun-2021 15:25:36

140 Views

A Postman Monitor is used to execute a Collection within the Postman cloud. It is used to determine the condition and the performance of the APIs.Monitors in Postman are designed on Collections.Monitors can be set up as frequently as every five minutes and can be configured with all the requests in a Collection. Also, there is an option to append Environment variables for the running of a Collection.Let us see how to create a Monitor Collection.Step1 − Click on the arrow beside the Collection name in the sidebar. Then click on Monitors.Step2 − Click on Create a Monitor. It is ... Read More

How to create and save a collection in Postman?

Debomita Bhattacharjee
Updated on 24-Jun-2021 16:00:45

1K+ Views

We can create and save a Collection in Postman with the steps listed below −Click on the Collections tab in the sidebar appearing to the left of the Postman application and then click on New Collection.CREATE A NEW COLLECTION pop- up should open. Enter a Collection name and fill the details under the tabs like Description, Authorization, Pre-request Scripts, Tests and Variables in this pop-up. Then click on Create.The Collection – Test Collection gets added under the Collections tab in the Postman sidebar. Initially it shows the number of requests as 0.Click on the Save button which appears to the ... Read More

Previous 1 ... 4 5 6 7 8
Advertisements