DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30753>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30753

Batching of Samples for remote testing

           Summary: Batching of Samples for remote testing
           Product: JMeter
           Version: 2.0.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hey
   I've added some patch's and new classes to enable batching. The user can
provide a jmeter property mode to specify what behaviour they want.

So -Dmode=Standard (Also default) provides the normal behavior.
   -Dmode=hold_samples provides the exsisting hold_sample behavior.
   -Dmode=Batch provides the new batching behavior.

I created new classes for each type and use a Factory to return the correct type.

I added another remote method to RemoteSampleListenerImpl that accepts a List
and then fires the samples locally on the client.

The batch mode stores sample events untill either a time or sample threshold is
breached. The sampleStore is reset if either one fires.If only one threshold is
set it becomes the only value checked against.When a threhold is breached the
list of sample events is sent to a listener where the events are fired locally.

The time/sample threshold or both are set as Jmeter Properties time_threshold
and num_sample_threshold. The time is in milliseconds. I provided a default of
100 samples or 60 seconds. But I guess you guys would know what it should be set
to. 

I've used it and it seems to work fine so I hope its of some use to someone.

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

Reply via email to