I need help writing a common function to use across a collection of requests which will help with building a framework.  I have tried using the below format   The following function is declared in the Test tab in the first function  postman.setGlobal...
I want to use linq.js for my assertions. Is there a way to include an external library in Postman?...
One of the controller methods in my NestJS application is supposed to take plain text as its body but whenever I try to make a request, the parameter is received as an empty object. Is this even possible or am I going to have to create some sort of D...
I need to use some async code in my Postman test.   As it's a complex scenario I've reproduced the scenario in a very simple test with the following code:   let promiseNumber = 0;  function resolvedPromise() {     return new Promise((resolve,...
I am trying to upload a file with POSTMAN to this url   http://localhost:3000/bucket/test/files/   And should got result in my controller there :      put(request, response, args) {     //HERE IN THE REQUEST.BODY      console.log(request.body)      l...
I'm trying to access the response of my POST request in Postman via Post Request Script.  I added this 2 lines, under Pre-request Script    let response = pm.response.json();  console.log('JSON Response: ',response );   Then, I opened up...
I'd like to run newman on my CI environment (solano-ci).   newman is a tool that runs through requests in your postman collection.  I have a newman script in my package.json, and I also have a npm start script that starts the server at localhost:...
I am new to JSON and Postman. I believe I'm trying to do something very simple.  I have created a GET request which will get a JSON response like the one below.  In the example below I want to get the count of All "IsArchived" attributes...
Can we read data from excel in postman for js tests?  OR can we write a js script which read data from excel/csv/notepad.  I have wrote some js script which automate my API tests. I am using Newman to execute them from command prompt.  I am writing a...
I'm trying to update data in a nodejs application. I tested it with postman.   My developing steps was was:    Getting data with id: 10 from DB (MySQL) to update >> Unhandled rejection SequelizeDatabaseError: Query was empty I recognised, I...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.