Bug 61167 - Store more detail for error transaction into influxdb backend
Summary: Store more detail for error transaction into influxdb backend
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: Nightly (Please specify date)
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 11:41 UTC by mchassagneux
Modified: 2017-09-17 18:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mchassagneux 2017-06-08 11:41:34 UTC
Like influxdb database allow to store many indexed series without performance issue, JMeter could send more detail for transactions in error. 
The better way is to send the number of errors by response code and message for each transaction.

Exemple : ( influxdb line protocol format )

jmeter,application=foo,transaction=bar,responseCode=400,responseMessage=bad\ request count=250

These details are only sended for failed transaction and summarOnly to false.
Comment 1 mchassagneux 2017-06-08 11:54:48 UTC
Fix in svn commit r1798048
Comment 2 Milamber 2017-09-17 18:07:06 UTC
URL: http://svn.apache.org/viewvc?rev=1798048&view=rev
Log:
InfluxdbBackendListener : add number of errors by response code and message for each transaction
Bugzilla Id: 61167

Added:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/ErrorMetric.java
Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/SamplerMetric.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java