postman-testcase Questions

5

Solved

I will get the JWT token as response i need to set that JWT token as environment variable in postman this is my code pm.test("access_token is working", function () { var jsonData = pm.response.js...
Spectacled asked 23/4, 2020 at 15:7

1

When I am calling an api with normal api calling in postman and running a test script and setting environment value, it's working but when I use that api in postman flow, environment doesn't changi...
Lorraine asked 14/2, 2022 at 14:5

2

Solved

I'm very new in using FastAPI and postman. When I am sending a POST request with a body (input data), I'm getting Success code 200 and also intended Response. Now, I want to tweak my input data to ...
Roper asked 21/10, 2021 at 10:51

1

Solved

I'm wanting to generate a random user to be created using the API, every time I run the request. I have an email environment variable which I want to be set to a random email every time the user c...

3

Solved

I'm asserting for elements in array1 does exist in array2 or not, below are the array samples, var array1 = [ { "name": "appe", "loc": "war", "order": 5, "neck": "NO", "end": false }, { "...
Fredelia asked 12/7, 2019 at 11:37

1

Solved

I'm trying to submit a form in Postman which then redirects to another url. The redirected url query string contains some information that I want to use in my next call. Is this even possible and i...
Frustration asked 25/6, 2019 at 22:56

1

Solved

I'm working with a API project and using Postman for testing APIs. I wrote few test cases to check null as follows, //user id is present pm.test("user id is present", function() { pm.expect(jsonD...
Fajardo asked 28/1, 2019 at 8:50

1

I'm using postman with scripting. First, I perform a request to retrieve a oauth token. Then, inside the 'Test' tab, I'm using postman scripting to use the received token to set a global (postman...
1

© 2022 - 2024 — McMap. All rights reserved.