HI,

It's Charlie!

I am distributing tests randomly between txn type, and aiming to have a 
percentage of the txns of each type.

You want to distribute on time, which is different.  My previous post was to 
give you hints, I don't have time to write tutorials, sorry.

I imagine you will do something like:

Post process each txn, to sum the latency/response time.  You will gather a 
total for user txns, and a total for manager txns.

Compare these totals for your 60/40 ratio, then use a switch/if controller to 
decide which txn to perform next. I prefer switch as it only requires a single 
controller, whereas if requires a controller for each condition (unless they 
recently added an 'else' capability).

Hope that helps,
Charlie

> -----Original Message-----
> From: 郭鑫 [mailto:[email protected]]
> Sent: Wednesday, 23 January 2013 7:43 PM
> To: JMeter Users List
> Subject: Re: How to make JMeter support transaction mix ?
> 
> Hi Scott,
> 
> How do you do that ? Could you share ?
> 
> 2013/1/22 Stott, Charlie <[email protected]>
> 
> > I use a random number generator and an If controller, or a switch
> > controller if there are more than two txn types.
> >
> > > -----Original Message-----
> > > From: 郭鑫 [mailto:[email protected]]
> > > Sent: Monday, 21 January 2013 5:25 PM
> > > To: [email protected]
> > > Subject: How to make JMeter support transaction mix ?
> > >
> > > Guys,
> > >
> > > Does anyone know in a project how to make a transaction mix && the
> > > load mix? Now I run into a situation like this: 2 types of users
> > > like user and manager both perform requests. I want to distribute
> > > time on them 60% and 40%,  also distribute the requests within that.
> > > Does JMeter support that? I am aware that Loadrunner and Webload
> > > support this.
> > > How do I do that? I get something useful possibly named "Throughput
> > > Controller" from the tutorial. Am I right?
> > >
> > > Thank you.
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to