Found 69 Articles for SOAP API

Test and Collection Runner in Postman

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:38:03

379 Views

We can have checkpoints to verify the Response from a request. This is done by adding scripts in the Tests tab. These scripts get executed if the request has executed successfully.The scripts added under the Tests tab are developed in JavaScript. After a request has been sent and a Response is received, the outcome of these test scripts are reflected in the Test Results tab in the Response. The passed tests are marked ingreen and the failed tests are in red.Input the below tests in the Tests tab −tests["Status Code should be 200"] = responseCode.code === 200 tests["Response time lesser ... Read More

Disadvantages of Monitors in Postman

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:34:35

452 Views

Though Monitors in Postman have many features, it has some disadvantages as well. However, it is up to the end user if he should consider these features as drawbacks for Monitors.Disadvantages of monitors are listed below −Postman Monitors are non-functional provided the Postman server resides in the same server where we are. Thus it makes it difficult to determine the performance of a Collection in a different network.To solve this problem, we need to buy the Postman pro-version. On doing so, the Postman shall then give us another IP address with which we would be able to execute Monitors.Postman Monitors ... Read More

Analyzing Monitor Results in Postman

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:32:11

123 Views

Once a scheduled Collection Monitor gets triggered, we have to analyze the results. Click on the Monitor name available under the Monitors tab.A new window opens in the browser that shall redirect to the Postman account that we are signed in.If we analyze the performance graph of the API in the above image, we see the red bars which depict tests have failed for the request. A green bar points to the fact that tests have passed. On hovering on a particular bar, we shall get date, time, Response time and the percentage of test result for a particular run.Also, ... Read More

What are Postman Monitors?

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:29:38

662 Views

Postman Monitors are used to ensure that the performance and the Response obtained from an API are being maintained properly. Monitors are scheduled on a regular interval of minutes, hours or weeks for the entire day.The steps to create a Postman Monitor are listed below −Step 1 − Click on the arrow symbol to the right of the Collection name. Then click on the Monitors tab.Step 2 − Click on the Create a Monitor button.Please Note −  we have to Sign in to a Postman account in order to create a Monitor.Step 3 − Provide an input to the Monitor ... Read More

Assertions in Postman with Chai Assertion Library

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:22:17

834 Views

There are Assertions in Postman with Chai Assertion Library. Assertions are used to check whether the expected and actual results are the same. If not, an Assertion error is thrown with an error message.An Assertion returns a Boolean value. In Postman, Assertion is implemented in JavaScript. It is available in the Postman application automatically.In Postman, the Assertions are incorporated under the Tests or Pre-Request Script tab. The documentation of the Chai library is available in the link − https://www.chaijs.com/.Let us build an Assertion to verify if the text – Postman is present in an array.   pm.test["Text is present"], function(){   ... Read More

Run Postman Collection on Jenkins

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:13:45

670 Views

We can run Postman Collection on Jenkins. Firstly, we have to install Newman. To trigger an execution, we shall create a Collection having a minimum one request.The below steps list down the steps to run Postman Collection on Jenkins.Step 1 − Click on the arrow beside the Collection name in the sidebar and then click on Share.Step 2 − The SHARE COLLECTION1 dialogue box shall open. Click on the Get public link tab followed by copying the link which is highlighted in the below image.Please note -This link is not universal and applied to a specific user.Step 3 − Once ... Read More

How to Generate Newman Reports on Jenkins using Postman?

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:09:37

294 Views

We can generate Newman reports on Jenkins. The reports obtained from Jenkins are a pictorial and organized representation of test execution results. These reports can also be shared with all the stakeholders of the project.Jenkins reports can be generated in several formats and can be controlled by adding different flags in the build commands. Also, it is necessary to specify the path where the reports shall be saved in build commands.The steps to generate Newman reports on Jenkins are listed below −As a prerequisite, Jenkins should be configured in the system. The details available in the link − https://www.tutorialspoint.com/jenkins/index.htm. Also, ... Read More

How to Remove Unicode from Jenkins Console Output logs using Postman?

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:07:22

381 Views

We can remove Unicode from Jenkins Console Output logs. To perform this, we should create a Collection with at least a single request. Along with it, we have to install Newman.Step 1 − Click on the arrow appearing to the right of the name of the Collection. After that, click on Share.Step 2 − SHARE COLLECTION pop-up shall open. Navigate to the Get public link tab and copy the link which is pointed out in the below image.Please note − The link obtained is specific to a particular user.Step 3 − Launch Jenkins and go to the Jenkins Job which ... Read More

How to Run Postman Collection on Jenkins using Newman Commands?

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:04:21

420 Views

We can run Postman Collection on Jenkins using Newman commands. To achieve this, we should first have a Collection with a minimum one request and a test. Also, we should have Newman installed in our system.Step 1 − Click on the arrow to the right of the Collection name. Then click on the Share button.Step 2 − The SHARE COLLECTION1 window opens up. Go to the Get public link tab.Then copy the link which is highlighted in the below image.Please note − This link is unique to a user.Step 3 − Open Jenkins and navigate to the Jenkins Job below ... Read More

What is API Documentation in Postman?

Debomita Bhattacharjee
Updated on 03-Aug-2021 14:00:56

394 Views

We can produce documentation for the APIs used in Postman by default.This document can be shared privately or publicly. Postman creates and hosts documentations on Collections which can be synced at the real time through the browser. Also, this documentation helps to share public APIs among teams and other stakeholders.The steps to create an API Documentation in Postman are listed below −Step 1 − Click on the arrow beside the Collection name in the sidebar. To add a description for this Collection, click on the Add a description link.Step 2 − An edit box opens. Enter some description and click ... Read More

1 2 3 4 5 ... 7 Next
Advertisements