mardi 28 avril 2020

postman - locking random value, same value for every test in same collection

Is there a way to 'lock' random value in postman? I would like to generate one random value and use same value for every test in same collection.

this code generate different random value for every test:

pm.environment.set("random", _.random(0,9999999));



Aucun commentaire:

Enregistrer un commentaire