Question - How will you generate random numbers of a given range in Postman?
Answer -
Suppose you want to generate numbers between the range 1 to N, then it can be done in the pre-request script as follows:
pm.globals.set('randomNumber', Math.floor(Math.random() * N));
We can then use this variable in the URL as:{{randomNumber}}