Bug 53894

Summary: Heartbeat function for jMeter running as slave in distributed tests
Product: JMeter Reporter: Nils Petzäll <nils.petzall>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: enhancement CC: dzmitry.kashlach, nils.petzall, p.mouawad
Priority: P2    
Version: 2.7   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Nils Petzäll 2012-09-19 05:52:27 UTC
Hi

When running distributed tests, if a slave crashes for some reason. The "master" should be notified. Better to fail fast than to keep waiting for a test finished for the slave that will never come.

When starting a test, the slave should report back the start time for the test to the master.

Master saves the start time in relation to the specific slave.
Slave saves the start time for later queries from the master.

After all slaves have reported back the start time. The master will query each slave for the start time.

If the start time differs from the first reported or no response is sent back, master should assume that the slave has been restarted or crashed.

If restarted or crashed, the test should optionally be marked as failed. Atleast the master shouldn't wait for a "test finished" from that slave.

Hearbeat for a slave should be disabled after test finished has been received.

Hearbeat should be optional.

//Nisse