API Testing · Junior · Question 56 of 75

What is a pre-request script in Postman for?

Show the answer

Correct answer: Running code before a request, e.g. to set a timestamp or token

Explanation

Pre-request scripts prepare values such as dynamic IDs, signatures or fresh tokens.

Further reading

Problem with a question

API Testing · Junior · question 56

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz