jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Frank ...@mpexnet.de>
Subject Re: How to get transaction time into a user defined variable?
Date Wed, 05 Jan 2011 11:37:32 GMT
> No, I'm not trying to chopping off the last three digits, I just want to get
> the transaction time through subtracting the 2 timestamps...but i couldn't
> do any operations on time1 and time2 directly. It seems that the time1 and
> time2 are int variables by default? There are some extra lines just because
> I tried to debug this problem.

The variables are untyped to BeanShell - their values are inserted
verbatim (as numerals) into your script.

Your log shows a "number too large" error, hence my suggestion to drop
the milliseconds.

Your computation of "long response1" should produce a valid timespan in
milliseconds, I believe.

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