Hello! I’m new to Postman. I just received a collection with variables., but I need better custom usernames for my tests.
Right now the Pre-request script looks like this: pm.environment.set(“randomUserName”, ‘TestMUser’+currdate.valueOf())
but I’m not happy with the usernames it makes, it doesn’t look like the current date at all, and overall too long, like this:
TestMUser1676290156475,
and I’d like it to be like this:
TestMUser20230221999 or 21022023999
What can I do?
Thank you in advance and please excuse my poor English.