I'm wanting to generate a random user to be created using the API, every time I run the request.
I have an email environment variable which I want to be set to a random email every time the user create request is sent.
I currently have:
pm.environment.set("Email", pm.globals.get("$randomUserName") + "@myDomain.co.uk");
I'm wanting to get a random user name from $randomUserName
However, I can't seem to find out how to get a value from $randomUserName in the Pre-Request Scripts section.