zhouyuan wrote:
>
> I also tried with:
> pa = prev.getParent();
> print("parent:"+pa);
>
> But the return value of parent is null...so strange...
>
Sorry, there are some samplers have parent, I checked with:
pa = prev.getParent();
if (pa != null) {
print("parent:"+pa);
long rt1=prev.getTime();
print(rt1);
} else {
}
But they are all the last samplers in the transaction controller.
--
View this message in context:
http://jmeter.512774.n5.nabble.com/How-to-get-transaction-time-into-a-user-defined-variable-tp3328587p3332179.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]