Questions tagged [postman-testcase]
283 questions
0
votes
0 answers
Creating website for stocks info and charts using APIs and Java and Postman
I want to create website that show stocks information using something like this:
https://rapidapi.com/apidojo/api/yahoo-finance1/tutorials/build-your-own-stock-charts-with-yahoo-finance-api-and-python
Can I use Postman and how do I Java to send the…

CryptoAngel
- 43
- 1
- 4
0
votes
3 answers
test the id shouldnt be in response body
hey guys im new in postman
this is my response
{
"status": "ok",
"statusCode": "0000",
"message": {
"text": "",
"type": ""
},
"errors": [],
"data": {
"docs": [
{
"name":…

Amir Marezloo
- 7
- 4
0
votes
1 answer
Add a few more values to the previous array in postman
in my test i sholud compare response permission with my rolepermission_array variable in envirment
but there is diffrent , the reponse permission has 4 more permission because of it i should update my envirment
what should i do
First
in this image…

Amir Marezloo
- 7
- 4
0
votes
1 answer
I Want To Log All Error Message in Postman console
Hi Guys Im New In Postman
I Want To Log All Error Message In Postman Console
i have many error message in response
whats is the code i dont know how log all errors
This is The Response
this is my code by the way
new one

Amir Marezloo
- 7
- 4
0
votes
1 answer
I want to extract array from json file
i have json file with this data
[
{
“rolename”: “Number one”,
“roledescription”: “Number one”,
“rolepermission”: [“manage_users”,“view_user_logs”],
“roletype”: “client”
}
]
i want to extract data from “rolepermission” and put it in body request
this…

Amir Marezloo
- 7
- 4
0
votes
1 answer
how to get error message at return response using json in postman
how to check only one value is accepted when the request is inserted? if both values are passes then send the error message using json. Either RegNumber or Pan should be accepted. i am very new to this
{
"email_id": "sample@example.com",
…

Maha
- 15
- 1
- 7
0
votes
1 answer
Twilio Error 11200- HTTP retrieval failure: Attempt to retrieve media failed, while trying to Trigger a Twilio Studio Flow Execution via Rest API
I am attempting to build this Appointment Management System for scheduling vaccination appointments using Twilio+ Airtable + Postman. ( [Link to the blog following])2
In order to trigger the Twilio studio flow via Rest API and to get the…

Tisha Singh
- 5
- 3
0
votes
1 answer
How do I asset an object inside an array
new to postman and JavaScript. I am trying to asset the "message" and ""Some Message." in below postman test script but keep getting an error Please advice where am I going wrong.
[
{
"documentId": "123",
"documentName": "AB.pdf",
…

AaravB
- 3
- 1
0
votes
1 answer
How can I call an API repeatably until the response body has a specific data on Postman?
Let's say my API call URL is www.example.com/quiz with POST method.
And I get the response body like this. And
var jsonData = pm.response.json();
pm.collectionVariables.set("cv_quiz_order", quiz_order)
if(!jsonData.is_end){
// TODO: request next…

c-an
- 3,543
- 5
- 35
- 82
0
votes
1 answer
I want to write test case in postman to validate below test case
I want to validate that material ID has length of "14" and Material department is "OT"
what will be test case to write in postman for below JSON response.
{
"success": "true",
"Result": {
"Response": [
{
"Material Id":…

Vidit Yadav
- 11
- 2
0
votes
0 answers
Postman test Chaining post request result to get request uri param
I have to write postman test for below requests.
Post {{url}}/{{version}}/Customers will return customer object which contains customerId
Get {{url}}/{{version}}/Customers/{{customerId}}
So I need to run both request according to above…

smith
- 73
- 1
- 8
0
votes
2 answers
Postman chaining APIs with looping
I have 3 APIs.
API#1 - GET {{endPoint}}/event/{{customerId}}/orders
API#2 - POST {{endPoint}}/pullOrders/{{orderId}}/claims
API#3 - DELETE {{endPoint}}/pullOrders/{{orderId}}/events
Response of API#1 is a json with the orderIDs.
{
"List": [
…

ontherocks
- 1,747
- 5
- 26
- 43
0
votes
2 answers
Access complete response size in postman test?
Is it possible to access the complete response size in postman with response body and headers ?
I am able to use the below method to get the size of the response body only
pm.response.responseSize
it will return the size in bytes.
My test case in…

Sandeep Negi
- 27
- 1
- 11
0
votes
0 answers
Postman Test for Api that immediately returns SUCCESS response
I have an Api (in AWS) which immediately returns a "SUCCESS" response after a call is made (in a lambda) but I'd like to test the output of a subsequent step.
First lambda places data on a SQS queue which is retrieved by another lambda who's output…

shearne
- 35
- 1
- 7
0
votes
2 answers
Postman: How to retrieve value when key is array
Json Looks like :
{"discovery": {
"[AppCtrl Global]": {
"ScriptFileTypes": ".cmd,.bat,.vbs,.wsf,.pl,.py,.ps1,.tcl,.rb",
"name": "test"
}
}
}
Now I want retrieve Name value, by using…

Manish Katepallewar
- 13
- 5