Postman challange #1903
Unanswered
vishalrawat80
asked this question in
Q&A
Replies: 2 comments
-
@vishalrawat80 Is it related to postman challenge?? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Create a pre-request script in Postman to generate a random string as a username before making a POST request to create a user. Challenge: Save the generated username in a Postman environment variable and use it across different requests. Sample Pre-request Script: const randomUsername = "user_" + Math.floor(Math.random() * 1000); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Create a pre-request script in Postman to generate a random string as a username before making a POST request to create a user.
Beta Was this translation helpful? Give feedback.
All reactions