Debomita Bhattacharjee has Published 863 Articles

How to Install Newman using NPM?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:39:59

2K+ Views

We can install Newman using npm. Newman can be installed using npm and Node.js. To download Node.js, navigate to the link − https://nodejs.org/en/download/current/.As we have downloaded Node.js successfully, we can check it with the below command −In Windowsnode --vIn Linuxnode --versionThe npm package becomes available automatically on installing Node.js. We ... Read More

What is Execution order of Collection Runner in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:35:14

890 Views

While executing a Collection, the requests are run in the same sequence as they appear in Postman. Let us have a Collection with at least two requests. To trigger them for execution, first click on the arrow appearing to the right of the Collection name in the sidebar. Then click ... Read More

How to Use WebDriver Javascript Executor to Navigate to a URL using Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:25:00

1K+ Views

We can use the Selenium webdriver JavaScript Executor to navigate to a URL. Selenium can run JavaScript commands by using the executeScript method.The parameters to be passed to the executeScript method to navigate to a URL is - window.location = \'"+s+"\'. Here, s is the variable which stores the link ... Read More

How to Run WebDriver in Headless Mode using Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:24:06

379 Views

We can run webdriver in headless mode. This is achieved with the HTMLUnitDriver which is the fastest webdriver among all the other browser drivers.Post Selenium 2.53 version, the HTMLUnitDriver jar should be added explicitly in the project. To add the required dependency, the below steps need to be followed −Navigate ... Read More

OAuth 2.0 Authorization with Postman

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:22:53

345 Views

With the help of OAuth 2.0, we shall first obtain an access token for an API. This token shall be used for authentication of all the future requests. The data access with OAuth 2.0 differs from one API access provider to another. However, it generally consists of sending requests back ... Read More

How to use Sessions in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:22:01

3K+ Views

We can use sessions in Postman. To create a session the follow the below steps −Step1 − Click on the eye icon appearing to the right upper corner of the Postman application. Then click on Edit in the Globals section.Step2 − Enter u in the VARIABLE field. Set the INITIAL ... Read More

How to use dynamic GUID in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:21:23

3K+ Views

We can use dynamic GUID in Postman. This can be utilized in the request URL, Body or Headers by simply adding the value {{$guid}}. It does not need any declaration or initialization.Thus {{$guid}} can be used directly in Postman without any requirement of prior processing of the variable. Postman has ... Read More

Manually Generating GUID in Postman

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:20:45

3K+ Views

We can manually generate GUID in Postman with the help of the steps listed below −Step1 − Input the endpoint − https://www.tutorialspoint.com/index.htm in the address bar.Step2 − Add the below script under the Pre-request Script tab −var u= require('uuid') var ud = u.v4() console.log(ud)In the above script, require is used ... Read More

What are Sessions in Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:19:56

325 Views

A session is a temporary fold that holds values of variables. They can be utilized for an existing instance and their scope is local. We can update the session variable value for the purpose of sharing workspace.With Postman, we can have the provision for local session sharing. Though a Collection ... Read More

How to share Session ID Cookie with another request using Postman?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 25-Jun-2021 13:19:24

1K+ Views

We can share session id cookies with another request. To achieve this, we shall first save the cookie session id obtained by executing a request. Then, this cookie session id shall be passed as a header to the following request.Step1 − Enter an endpoint − https://www.amazon.com/ in the address bar ... Read More

Advertisements