Skip to main content

Questions tagged [postman]

Postman is the complete tool chain for API developers to make API development faster, easier, and better.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

When launching website in localhost and testing the api of that application in Postman why it is showing "Certificate has expired"?

I was testing Opencart Application APIs in Postman. Application was installed in desktop and to enable the application Localhost is needed. I had to create a session to generate a token to start the ...
Nolak's user avatar
  • 11
0 votes
1 answer
40 views

Receiving a 200 response code, but the data is not updating?

I want to load test for registration with One Time Password (OTP), so I have used 2 .csv files for registration and OTP by using parameters, and also separately used an API collection for those two. ...
thaju's user avatar
  • 1
1 vote
1 answer
27 views

Sending a file in the body of a POST request in Karate

I am having some difficulties getting a request to work as expected in Karate where I use a .json file in the body of my POST request. I have tried to define it as both a form field and as a multipart ...
DEnumber50's user avatar
  • 1,192
0 votes
1 answer
340 views

Deleting a resource using POST method instead of DELETE Method in REST API

I was taking some online course to learn API testing. As per my understanding We can use POST: to add the items (e.g., adding a new book in the library) GET: to view/ see the items (e.g., see the ...
Aamna's user avatar
  • 93
-1 votes
1 answer
561 views

getting this error AssertionError: expected undefined to deeply equal 'open_group'

const jsonData = pm.response.json(); pm.test("Status code is 200", function () { pm.response.to.have.status(200); }) //each month on the payment day, next_cycle is updated pm.test("...
user57151's user avatar
1 vote
1 answer
9k views

What is the difference between Bearer token and API key authorisation in Postman API testing? [closed]

I am a complete newbie in API testing. Now, while sending a GET or POST request , we need to authorize the calling project. How does it work internally and what's the difference between API key and a ...
test234's user avatar
  • 21
0 votes
0 answers
428 views

Postman - Compare response body with database data

Request Body: { "StudentInfo":{ "Student":[ { "StudentId":"001" } } } Response Body { "Studentinfo":{ "Student&...
user55906's user avatar
1 vote
0 answers
500 views

How can we validate the response body using Tests in postman

Request Body { "StudentInfo":{ "Student":[ { "StudentId":"001" } } } Response Body { "Studentinfo":{ "Student":[ { "StudentId":&...
user55898's user avatar
1 vote
1 answer
354 views

Postman: mock server input parameters

I have created a mock server. I access it via {{url}}/mock1 and the response body I have mocked is the below. [ { "ID": 1, "LETTER": "A" }, { ...
Javi Torre's user avatar
1 vote
2 answers
2k views

Is there any way to import postman collection into playwright?

Details: We have several thousand APIs in various postman collection. Our customer wants to have them customized accordingly, towards E-2-E testing. The customer would like to use Playwright for ...
Mornon's user avatar
  • 1,117
1 vote
1 answer
99 views

API Testing and automation framework [closed]

I wonder if it is 100% necessary to use an automation framework like KARATE instead of API Tools like POSTMAN. Usually I automate different websites by using SELENIUM & JAVA and I try different ...
new_programmer's user avatar
-1 votes
2 answers
538 views

POSTMAN - How to fetch data using POST method instead of GET?

This is the url on which i'm sending a GET request to access data - reqres.in/api/users?page=2 The data i'm getting in response is somewhat like this (id - 1, name - john, job - QA ; id - 2, name - ...
functester02's user avatar
1 vote
0 answers
260 views

Some value from Postman test undefined

I need to create tests in Postman for running key values for the AI Conversation app. I have created tests, where I have used the logic below, where I can see all of the values after a test run except ...
Natalia Hunter's user avatar
0 votes
1 answer
306 views

How to use JMeter for parallel executions running using postman?

How to use JMeter for parallel executions running using postman. I want to execute close to 4000 to 5000 requests id`s at the same time and see the results.
Kamgates's user avatar
0 votes
1 answer
5k views

How to execute parallel run in postman for get option in one go?

Need to know how to run parallel executions in postman for get options with single access id but with multiple requests
Kamgates's user avatar
0 votes
2 answers
5k views

How to validate nested array from JSON response using Postman?

I am trying to validate GET method API response JSON using Postman. I have tried some of online suggestion but nothing worked for me. In my testcase i am validating that List tag is showing or not. ...
Kaushal Patel's user avatar
3 votes
1 answer
1k views

How to verify particular values in JSON response - Postman

The response body looks like this. [ { "id": 1, "wardName": "Unit1" }, { "id": 2, "wardName": "Unit2&...
kasuni gunasekera's user avatar
-2 votes
2 answers
622 views

Should i learn SOAP API or Rest Assured API Testing? [closed]

I am new to API testing world. Should i learn Rest Assured API testing using maven and eclipse or should i learn all things on Soap UI or Postman tool? Which tool is more in demand in IT industry and ...
test882's user avatar
1 vote
2 answers
437 views

Passing test results from Postman Newman to Elasticsearch

Any idea how to pass postman newman test results to Elasticsearch ? I need to send every single test name, request url + test resut to elastic for kibana visualization. There's no native support from ...
Martin Koníř's user avatar
2 votes
2 answers
79 views

Search for minimum number of occurrences of a substring

The following is the Body of the response: { "downloadTime": "2021:03:17T17:52:21Z", "downloadTimeStamp": 1616003541, "genome": "hg38", ...
Beeta's user avatar
  • 23
0 votes
2 answers
30 views

Reconfiguring and checking monitors in Postman

Postman offers the possiblity to create monitors (Launchpad -> View More -> Create a monitor). I know that it is possible to view the list of them from Postman workspace on the web, but is it ...
Tom Johnson's user avatar
2 votes
2 answers
197 views

Postman proxy does not save URLs of some resources

I asked this on https://community.postman.com/t/postman-proxy-does-not-save-urls-of-some-resources/19376, but no answers this far. I’ve turned on Postman Proxy and configured Firefox (Tools -> ...
Tom Johnson's user avatar
3 votes
2 answers
1k views

API Testing on production - what requests shouldn't test?

I've manage to get new job and what I can say so far - expectations for me are high. I never used to test API on production - usually I've been teached to test API on dev/test enviroment, but in ...
nieudacznik toja's user avatar
0 votes
1 answer
617 views

How to automate GraphQL tests with Postman

My company is moving from REST APIs to GraphQL. I'm trying to use Postman (which I'm new to) to automate some tests for the GraphQL stuff, and I'm running into issues. The manual side of Postman ...
Michael's user avatar
0 votes
0 answers
29 views

I have automated Soap request via Rest Assured code, but its written that Rest assured API can only be used for rest service [duplicate]

Here is my code public class xmlreq extends TestBase { @Test public void buildRequest() { logger.info("starting"); RestAssured.baseURI="http://webservices.oorsprong.org/...
Sumeet's user avatar
  • 1
1 vote
0 answers
7k views

Postman gives There was an error in evaluating the test script: JSONError: No data, empty input at 1:1 ^ error

I'm trying to create a postman script that sends an SMS message to a phone. When I send the message I get this error: There was an error in evaluating the test script: JSONError: No data, empty input ...
user99201's user avatar
  • 111
-1 votes
1 answer
35 views

How to fetch the list of newly created time entries alone using Postman? [closed]

From this json, I need to fetch created_at. How should I do it in Postman? { "meta": { "total_logged": 127200, "total_logged_per_team_member": [ ...
Shivashankari T's user avatar
3 votes
4 answers
1k views

How to spoof a third party API

Our application does calls to a third party API for completing a few tasks. This endpoint has an issue in the test environment, and management has asked us to mock this environment so when the app or ...
PDHide's user avatar
  • 11.1k
6 votes
3 answers
3k views

Writing Integration Tests programmatically vs using Postman for REST APIs

I am developing REST APIs in my project and using .net core 3.1. Various best practices suggest that we should write Unit Tests as well as Integration Tests for our project. I agree with the point of ...
Sunny's user avatar
  • 171
-1 votes
2 answers
1k views

How do I verify a value from a CSV file using Postman test [duplicate]

I'm using Postman to push data from a CSV in my Google cloud bucket to an app. I need to write a test to verify that one of the values in the CSV is all in uppercase.
Gabriel Lozano's user avatar
-1 votes
3 answers
8k views

AssertionError: verify response body as a test in postman

This is the response from Postman: { "data": [ { "firstname": "tahaq", "lastname": "postmanq", "accountenabled": "true", "email": "tahaiq@...
Taha Iqbal's user avatar
1 vote
1 answer
3k views

Passing global variables to Newman (Postman) from Jenkins

I have a Postman Collection with Global Variables that I am running via Jenkins (successfully), but I want to expose choices for the variables as Choice Parameters within Jenkins. I asked an initial ...
Steerpike's user avatar
  • 393
-1 votes
1 answer
6k views

Postman PUT returns success, but parameters are null in response body

I am trying to update employee details on following URI http://dummy.restapiexample.com/api/v1/update/24 The request body is: { "employee_name": "DorisWan", "employee_salary": "50000", "...
Vishal Pawar's user avatar
1 vote
1 answer
615 views

Exposing Postman Global variables as Jenkins Choice Parameters

I have a postman collection which I have managed to run from Jenkins using Newman. I have a groovy pipeline in which I install the dependencies included in my package.json (Newman in this case). ...
Steerpike's user avatar
  • 393
4 votes
2 answers
23k views

Printing Response body element in Test results in Postman

I need to print one specific response element from the response body of an API in the test results section of Postman.
Danish Khan's user avatar
-2 votes
1 answer
657 views

Testcase Python Request: 405 Error despite not accepting the certificates

Details Currently I have the problem that I cannot accept the certificate on our test page. We use Python requests for our test cases and unittest from Python directly. We have also excluded the ...
Mornon's user avatar
  • 1,117
0 votes
1 answer
110 views

Collection Variable is not being assigned

If Env-Variable drawingmanage equals false the value gets assigned successfully(else block) whereas if it is true the value doesn't assign(if block) if(pm.variables.get("drawingmanage") == 'true'){ ...
Mohamed Sulaimaan Sheriff's user avatar
2 votes
6 answers
124 views

API Management Tool Recommendation

I am looking for a tool for API testing and collaboration that offers the following: Creating a workspace that can be shared with a limited number of people. A good number of collections without ...
Abhay's user avatar
  • 21
3 votes
1 answer
6k views

How to send double quotes in postman csv data file

I have the following request body: { username:{{user}}, password:{{pass}} } The expected structure of the request is : { username:"something", password:"something" } if the request body is ...
pooja's user avatar
  • 71
1 vote
2 answers
496 views

Consume POST request data to GET and DEL requests

I get an id from a POST request and I want to use that id in the GET and DEL requests. I don't want to do it manually; if there is automated way that my read and delete requests consume my POST ...
Srinath's user avatar
  • 13
8 votes
3 answers
9k views

How to export single API request with body in Postman so it can be imported

Postman can export whole collections, and also single requests. I'd like to export just one request, so I can send it as an example to somebody else who can import it in their Postman via (possible ...
pavelsaman's user avatar
  • 4,548
3 votes
3 answers
109 views

Testing REST - submitting a web-form. Identifying why the server responses with 500 for some emails and for some - 200

The troubled email is [email protected], the URL is https://junior.skyeng.ru/online-uroki-po-matematike/ (form is placed almost at footer). The website to test is in Russian. If you want to ...
Andy's user avatar
  • 49
1 vote
1 answer
938 views

How to analyse newman htmlextra report?

Hi could someone explain the fields in Postman htmlextra report. I am not able to understand why testscripts fail shows '0' even though two assertions failed I only have 15 pm.expect in my ...
PDHide's user avatar
  • 11.1k
4 votes
2 answers
8k views

Decoding JWT and testing results in Postman

We are implementing a new service which requires Authorisation by the way of a JWT. I already have the submission and returned body containing the "access_token" My question is how do I set up a ...
Adam A's user avatar
  • 1,047
0 votes
3 answers
4k views

Postman or any API tools for API cache testing

my application (Restful API, no UI interface at this moment) has the Cache Async in memory functionality at each GET, POST, PUT, DELETE. Does Postman or any API tools has the ability to test the cache ...
user2201789's user avatar
2 votes
2 answers
362 views

Postman API test structure

Recently I started writing tests for our API. However, I have faced some issues which I think it is critical to think at the start. How should I structure my tests in terms of setup and cleanup phase (...
user avatar
1 vote
2 answers
2k views

Schema Validation in Postman

I'm having trouble validating a schema in Postman using tv4 inside the tests tab - it is always returning a true test, no matter what I feed it. I am at a complete loss and could really use a hand - ...
Haney's user avatar
  • 95
0 votes
1 answer
3k views

Compare the date from a API key value in Postman

I have a scenerio where I need to compare a date from an API response with today's date and check whether it is less than or equal. The API response will give me a JSON object and in that JSON the ...
Grace's user avatar
  • 5
0 votes
2 answers
6k views

Print API response in "Test results" tab in Postman

I'm using Postman to automate an API using Newman. But the response body of the API call is not showing in the Postman "Test results" tab. var body = JSON.parse(responseBody); tests["Response ...
Grace's user avatar
  • 5
1 vote
1 answer
69 views

Error showing for url when try to run api test script with Newman

I'm beginner to REST API testing. I wrote some scripts for some scenarios using postman and tried to run with Newman. (In there URL defined as environment variable.) Showing errors for that URL when ...
Rush910's user avatar
  • 137