I've updated SampleResult to add sampleStart and sampleEnd methods.

The idea is that samplers will:
- create the sample result
- do any necessary initilisation
- call sampleStart
- perform the actual work
- call sampleEnd

[For samplers that do the sample in stages, such as LDAP, there are
samplePause/sampleResume methods as well]

I intent to deprecate (or even remove) the setTime() method.

These changes mean that it will eventually be relatively easy to change to a
more accurate timer, as the timing is all in one place. [Would need to add a
getTimeNanosecs() method or similar.]

It also means that it will be possible to readily switch to storing
timestamps as the start of a sample rather than the end. I propose to do
this using a jmeter property (defaulting to current behaviour).

Otherwise users scripts might break (e.g. we use some Perl scripts that
would probably need changing). 

I hope to be able to finish the changes over the next day or so.

-- 
Sebastian Bazley 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to