Use this tag for issues with pre-request scripts in postman, use the "postman" tag for general issues
Questions tagged [postman-pre-request-script]
189 questions
0
votes
2 answers
Postman post pre-request failing on https
I'm trying to setup a Postman Pre-request to get an OAuth token before each request I make to my service.
I've tried to follow various examples and guides related to this and each seems pretty straightforward, though I still have issues with my…
Kerruba
- 757
- 7
- 19
0
votes
0 answers
Data Files in PR-request_Result is showing as undefined
Problem statement:- I am trying to use data variables in pre-request section and I am unable to retrieve values from CSV data variable. I tried using the below two options but still no data is seen when I try to log the value nothing is displayed;
-…
JACOB SAMUEL
- 3
- 1
- 4
0
votes
1 answer
POSTMAN- Generate Request body dynamically using Data Files to pass values for certain fields
How can I generate this payload automatically in postman. Please see the structure below.
I am only changing Account Number / Account Name in the payload. If I have add 200 accounts for a customer ID I would have to insert 200 separate structures in…
JACOB SAMUEL
- 3
- 1
- 4
-1
votes
0 answers
Chaining requests with variables in Postman?
I need some help with the Postman runner feature to bulk change around 50 sheets in SmartSheet. All the sheets are within the same folder and I have a sheet that the by csv upload but having trouble with more variables.
I have a model sheet to…
-1
votes
0 answers
Why this error comes no content map due to end of input in spring boot while hitting api's in postman
While hitting the API in postman and sending the request I am getting this error
"com.fasterxml.jackson.databind.exc.MismatchedInputException: No
content to map due to end-of-input"
Can anyone help me out with this problem?
-1
votes
1 answer
How to store a list of values in Postman and then pass a random value from the list in a API call?
I am new to Postman. I have dabbled with automating some of my API calls here in I set counters and randomize characters. However, I need to store a list of values (for this exercise it could be 1000 individual values) and then randomize which value…
Jarrod
- 33
- 2
- 8
-1
votes
1 answer
How i can extract a cookies/token and set it as variable using pre-runScript in postman?
I'm trying to run a pre-run script in postman (collection level)that doing a simple get request, to get a certain token through which I will be able to send it in a body request for the next endpoint.
I have managed to do that but actually, the…
amr kamel
- 17
- 3
-1
votes
1 answer
Postman running the same request multiple times
I want to run the same request multi times with different pre-request scripts? Any idea how can I do it without using the Data Driven (CSV) test?
Eg., I have to run the below GET url multiple times (every 2 minutes) but whenever I run this, I need…
siv
- 9
- 1
-1
votes
2 answers
Permission denied when try to fetch records from zoho people
I am trying to fetch records from zoho people API .. For this i am using POSTMAn. I successfully create token in postman and when i try to apply this link in get field then this shows an error "permission denied" i tried from past few days but did…
Bakhtawar Ashiq
- 61
- 7