cancel
Showing results for 
Search instead for 
Did you mean: 

Pass variable value dynamically in POST Request body - Postman

KrisG
Explorer
0 Kudos

Good afternoon all.

Running my Odata services from Postman , just for the ease of doing testing.

I have to post some master data with external number range and every time I am changing variable value in the POST request body to the next number.?(some random number or last number+1 from table).

Is there way to automate this in Postman? I created variable and used it in body. not sure if it works. it doesn't ask for variable when I run. I want to make it easy for someone who wants to test it.  I can pass on some variables from 'GET' but this key number has to be from user input.

like, when I click run, it just asks for variable value, or should be able to add this variable just before running from collection.(without going into individual service)

is there an option for this? i couldn't find much help from existing threads.

Accepted Solutions (0)

Answers (0)