I have a script, which create a new user in every testrun with a random number as name. So the users are unique.
But when I start a testrun in Ultimate Thread Group with more than one user it use always the same random-number. Is it possible to create everytime a new one?
I tried to use propertys or reset a variable at the end, but it didn't worked.
Why don't you use a unique date and time instead of a random number, it's much more reliable and helpful in some sense, than just a random number.
You could store something like this into a variable and use it for the name:
var uniqueDate = DateTime.Now.ToString("F").Replace(":", "-");
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments