Create random mail addresses from Script

16 views
Skip to first unread message

Paul Bakker

unread,
Jan 18, 2022, 10:45:04 AM1/18/22
to BlazeMeter Forum
Hi all! 

I'm trying to create a script which generates random user accounts. The account is created but for now only one as the placeholders for random number / date etc won't work.. does anyone have a script working with parameters like {{uuid}} or {{random_int}}? 

I'm using it like blazemeter+{{uuid}}@mailinator.com, when i run the sript which does work in Postman it's not replacing the {{uuid}} for a number. 

Dmitri T

unread,
Jan 18, 2022, 11:59:36 PM1/18/22
to BlazeMeter Forum
The answer will differ depending on the BlazeMeter Test Type you're using and the executor.

If you're using Taurus with default JMeter Executor you will need to use __UUID() function like:

blazemeter+${__UUID}@mailinator.com

Paul Bakker

unread,
Jan 20, 2022, 7:50:32 AM1/20/22
to BlazeMeter Forum
This worked! Thanks :)

Op woensdag 19 januari 2022 om 05:59:36 UTC+1 schreef Dmitri T:
Reply all
Reply to author
Forward
0 new messages