jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhouyuan <yz...@microstrategy.com>
Subject Re: How to get transaction time into a user defined variable?
Date Fri, 07 Jan 2011 15:59:30 GMT


Felix Frank-2 wrote:
> 
>> 
>> I try to get the previous sample result using BeanShell PostProcessor
>> like
>> this:
>> print("prev:"+prev);
>> long rt1=prev.getTime();
>> print(rt1);
>> But it only shows the sample result of nested http requests not the
>> parent
>> sample... I also tried simple controller to contain the samples in it...
>> but
>> the problem remained the same.
>> 
>> 
> 
> Whose child is the PostProcessor?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

I add the PostProcessor as a child of the simple controller.
-- 
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-get-transaction-time-into-a-user-defined-variable-tp3328587p3332034.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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