How to use Faker with postman?
SET UP:
- Copy paste (refreshFakerVariables) into: Manage Environments > Globals :
refreshFakerVariables
- Create a Request: http://localhost, and paste in the pre-request script (clearFakerVariables). Save it as: "clearFakerVariables"
- Create a Request: http://localhost, and paste in the pre-request script (loadFaker). Save it as: "loadFaker"