On Wed, Jan 5, 2011 at 5:40 PM, Felix Frank <[email protected]> wrote: > On 01/05/2011 10:23 AM, Nancy wrote: >> On Wed, Jan 5, 2011 at 5:11 PM, Felix Frank <[email protected]> wrote: >>> On 01/05/2011 09:30 AM, Nancy wrote: >>>> Hi, >>>> >>>> I configure some of my test senarios run in 90% throughput controller, >>>> others in 10% throughput controller. I setup 1 thread, run only 1 >>>> loop. Why can not be found any records planed to run in throughput >>>> controller in summary report? >>>> >>> >>> The Throughput Controller delays Sampler executions so that the given >>> thresholds are not exceeded. If you have but 1 thread, you are not >>> likely to gain much from using it. As it will only delay Sampler >>> evaluations, there are no additional "planned runs" to be logged anywhere. >>> >>> I'm not sure what you'd like to find in your Summary Report. >> >> I just want some of test senarios take 90% running time, other takes >> 10% running time, so you mean I have to configure a schedule, let >> Jmeter know how much time this 1 thread, 1 loop need?, then I can see >> them in Lisener "summary report", how many time each steps running, >> response time, error rate.... > > I think you want this structure > > + Thread group > |+ Loop Controller > |-+ Sampler1 > |-+ Sampler2 > |-+ ... > |-+ Throughput Controller (e.g. 90 per minute) > + Thread group > |+ Loop Controller > |-+ Sampler10 > |-+ Sampler11 > |-+ ... > --+ Throughput Controller (e.g. 10 per minute) > > Running with just 1 thread won't help you with your task. > > An alternative is: > > + Thread Group > |+ Loop Controller > |-+ If Controller (Random Value < 90) > |--+ Sampler1 > |--+ Sampler2 > |--+ ... > |-+ If Controller (Random Value >= 90) > |--+ Sampler10 > |--+ ... > > No throughput Controllers, and also easier to control the mix, because > the number of Samplers is irrelevant (in the first plan, you need to > keep in mind that each sampler adds to the throughput count). > > HTH, > Felix > Thank you Felix :-)
I am little curious what occasion should use trhoughput Controllers, Can you give an example? -- Best wishes, Nancy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

