jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Using Beanshell sampler for wait
Date Fri, 25 Mar 2011 12:58:15 GMT
On 25 March 2011 12:35, Ravindra Gupta <rav.gupta@gmail.com> wrote:
> Hi Sebb,
>
> Apart from generating a sample for each wait, is there are any other issue.
> I have read in one of the thread that Beanshell sampler is associated with
> memory leak. Is that bug is resolved?
>
> The reason for not choosing timer - I am using Transaction controller. even
> if I put timer above the Transaction controller, the time gets added to
> Transaction controller output.

The sampler delay will also be added to the Transaction controller.

Have you tried deselecting "Include timer duration in generated sample"?

> I have no issue if a sampler gets added to log file. It can segregated while
> producing results.
>
> Do you think my approach is correct?

See above, and the JMeter docs.

> Regards,
> Ravindra
>
> On Fri, Mar 25, 2011 at 5:34 PM, sebb <sebbaz@gmail.com> wrote:
>
>> On 25 March 2011 06:11, Ravindra Gupta <rav.gupta@gmail.com> wrote:
>> > Hi All,
>> >
>> > Can I use beanshell sampler for wait using Thread.sleep(); ?
>> >
>> > Is there are any -ve impact if we run load test using it?
>>
>> Yes, it will generate a Sample for each wait.
>>
>> > I dont want to use Timer.
>>
>> Why not?
>>
>> > Regards,
>> > Ravindra
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message