--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
My2cents: you're calling emailUnique directly instead of calling it from a function, so it's only called once.
2014-04-17 19:03 GMT+02:00 <nicolas...@gmail.com>:
Use a UUID.
On Thu, Apr 17, 2014 at 6:48 PM, Maxime Tual <maxim...@gmail.com> wrote:
Hi,I'm trying to get an unique email for each of my created user with Gatling.So when i create the user I use this function:def emailUnique(email: String): String = {return emailUnique}When my first user is created he got this email : testGatling+2...@example.com BUT
when my second user is created he got the same email: testGatling+2928430...@example.com
The timestamp has not change between the two users. Here's my simulation:setUp(ProvisioningUser.scn.inject(atOnceUsers(1),nothingFor(4 seconds),atOnceUsers(1)).protocols(httpConf))Why the timestamp did not change ? Or how can I've got unique email every time (without clear the database) ?
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.