Bug 63873

Summary: influxdbBackendListener and mode=StrippedDiskStore problem ?
Product: JMeter Reporter: pierre.astruc
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: Nightly (Please specify date)   
Target Milestone: JMETER_5.2   
Hardware: PC   
OS: All   

Description pierre.astruc 2019-10-22 14:53:06 UTC
Hello all,

I have started to play with Backend Listener + Influxdb + Grafana.
It's nice but I have finded some strange things :)
(tested with 5.1.1 release + 5.2-SNAPSHOT 450712c)

- 1 -
In all "transaction" entries, there is no "Sent" or "Received" Bytes, I think it's just not calculated / summed from the requests to the parent sample. So, when I'm using the "Generate parent sample" option in my scenario (usual for me), I never have network traffic information into InfluxDB.

- 2 -
I find no informations about "Response code per second" and "Connect times over time" into the influxdb database, I think it would be a nice addition because those kind of values are important to analyse stressed platforms.

- 3 -
It seems that the backup listener flow depends of remote batching mode choosen...

a) mode=StrippedBatch (default)
- I only got one point every 30 seconds for all metrics except "Active Thread". So "Total Throughput" is not correct because it's value is summed (one dot with 20 req/s every 30 sec).

b) mode=StrippedAsynch
- This one seems ok, I got realtime result for all metrics, and the "total throughput" is correct with 4 req/s.

c) mode=StrippedDiskStore or mode=DiskStore
- This is the worst, I got NO data in influxdb except start an stop marker, even the number of active thread is 0 !

I'm using jmeter with mode=StrippedDiskStore frequently to send me listener result at the end of the test (some jp@gc graphs plugins), so I'm disappointed that I can't add a backend listener with mode=StrippedDiskStore !

Is there any way to have influxdbBackendListener working correctly (live), and send the other listener results at the end of the test with mode=StrippedDiskStore ?

Thanks for any input :)
Comment 1 pierre.astruc 2019-10-23 08:41:05 UTC

I have a last question about Backend Listener :)

- 4 -
From GUI, when I'm remote testing a simpletest.jmx without any Listener, the Network usage between slave to master is near 0 bytes/s. This is normal because the slave is just performing the test, and no result data need to be sent to the master.
Then, when I'm adding one "Backend Listener" (configured to connect to another influxdb server), I see network usage grow up between slave to master !

I think this should be removed, because the master doesn't care to receive all the result flow for one "Backend Listener". I mean, it's the slave who is computing the result with his own "Backend Listener" and send the data to influxdb no ? if yes, there is no need to send the "SerialisedSampleSender" data to the master.