>the scenarios presented have to reuse the usernames created, then UUIDs
will add a bit of complexity
you have the same issue for whatever algorithm you use (because your tests
must be repeatable, unless you want to reset the DB everytime ,you have to
add a time component to the username ) . If you reuse this username in the
same thread you dont have a problem whether you use UUID or anything else -
if you reuse across threads (whether in the same instance or another
machine) you still have to devise a way of sharing this data which then is
the same whether you use UUIDs or anything else.


On Tue, Sep 24, 2013 at 8:29 AM, Flavio Cysne <[email protected]> wrote:

> Although I agree Deepak with using UUIDs, the scenarios presented have to
> reuse the usernames created, then UUIDs will add a bit of complexity 'cause
> he'll have to save generated UUIDs to a file, split it and redistribute the
> parts among the various JMeter slaves used to test Login scenario.
>
>
> 2013/9/24 Deepak Shetty <[email protected]>
>
> > or just use UUIDs
> >
> >
> > On Tue, Sep 24, 2013 at 4:39 AM, Flavio Cysne <[email protected]>
> > wrote:
> >
> > > If your test script will run in only 1 machine (not distributed), ZK
> > > solution works great.
> > >
> > > If you intend to distribute your test among many slaves you could
> define
> > a
> > > distinct property value (m1, m2, m3, ...) for each JMeter slave
> > > initialization command.
> > > In a distributed environment your username should be
> > > "username${count}${myProp}" or "username${__threadNum()}${myProp}"
> > > If you don't want to define a distinct property value for each JMeter
> > slave
> > > you could use ${__machineName()} function (
> > > "username${count}${__machineName()}" or
> > > "username${__threadNum()}${__machineName()}" ).
> > > This will only work if all JMeter slaves are running on different
> > machines.
> > >
> > >
> > > 2013/9/23 ZK <[email protected]>
> > >
> > > > Hi,
> > > > try adding a "counter" to your test and create a new user with:
> > > > userName${counter}
> > > >
> > > >
> > > > ZK
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://jmeter.512774.n5.nabble.com/Creating-5000-users-with-simmilar-user-name-tp5718195p5718223.html
> > > > Sent from the JMeter - User mailing list archive at Nabble.com.
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [email protected]
> > > > For additional commands, e-mail: [email protected]
> > > >
> > > >
> > >
> >
>

Reply via email to