[ptt-users] testmaker question

Kyle Bell kylebell at tango-networks.com
Wed Oct 25 07:13:36 PDT 2006


Sameer,

In the xstest directory you might notice that in master.py, the agentid
is incremented every time a new tread is spawned per CVU.  The agentid
is able to be referenced from your test case.  The way we use this is
this agentid is appended to then end of a common string creating a
unique user per thread.  In this way 100 CVUs can create 100 unique
users making connections over and over again.  You can reference the
agentid inside your test case as self.agentid provided you import
agentbase.

Hope this helps...

-Kyle
 

On Wed, 2006-10-25 at 01:27 -0400, Khan, Sameer wrote:
> I am trying to use testmaker for performance measurements and
> wondering whether testmaker scripts have an ability for data
> parameterization? For example: If I want to run 10 users, each with
> different set of data and different data between iterations, etc etc,
> does testmaker has this feature in it?
> 
>  
> 
> Thanks,
> 
> -Sameer
> 
>  
> 
>  
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users



More information about the Users mailing list