jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: SampleResult setStartTime
Date Thu, 02 Jun 2016 15:57:39 GMT
On 30 May 2016 at 13:06, Piotr Kozłowski <piotrpkozlowski@gmail.com> wrote:
> Hello, using bean shell I tried use protected void setStartTime(long), but
> each time when I did it I received problem:
>
> in post procesor BeanShell
> code:
> prev.setStartTime(startTime);
>
> log:
> Error in method invocation: Method setStartTime( long ) not found in
> class'org.apache.jmeter.samplers.SampleResult'
>
>
> I surprised because setEndTime works like I want.

setStartTime is protected; it's not intended to be use externally.

setEndTime is public.


>
> Any advice will be welcome
>
> Tx!

Mime
View raw message