[Tsung] inject unique vales in HTTP parameters

Nicolas Niclausse nicolas at niclux.org
Wed Apr 16 14:25:48 CEST 2008


philippe vanderstraeten ecrivait le 16.04.2008 10:40:
> Nicolas, thanks for your answer,
> 
> I see the unique id provided by tsung, but it's not the solution.
> 
> So I have an other question: a Pid is passed to each function 
> substitution parameter. Does is Pid is unique to each active user  and 
> also unique  during the whole tsung  session ?

I think you can't be sure that the Pid will remain unique during the whole 
test.

There is another option you can use:

ts_mgs_server:get_id()

It's a global counter. each time it is called, the counter gets incremented 
by one.

-- 
Nicolas


More information about the Tsung-users mailing list