afranken / jmeter-analysis-maven-plugin

Plugin that parses JMeter result files and computes performance indicators such as average request duration
58 stars 40 forks source link

Invalid requests count for group - version 1.0.6 #43

Open marekrodkiewicz opened 7 years ago

marekrodkiewicz commented 7 years ago

Hi,

I have 4 groups: "check test file existence" (sample), "put" (httpSample), "get" (httpSample) and "delete" (httpSample), each of them consist of 9 requests. Somehow "check test file existence" and "get" are aggregated to one group named "get" even when I set only httpSample in sampleNames in pom.xml. Why it is grouped by response code instead of label? How can I change it? Jtl file has got exactly 9 elements labeled with "get". In Jmeter-analysis-maven-plugin csv file count is 9. run.jtl.txt

Output and result json have invalid value:

08:57:01 Group: get 08:57:01 time: 20160901T095644+0200 - 20160901T095654+0200 08:57:01 total duration: 9 08:57:01 requests: 18 08:57:01 requests per second: 2 08:57:01 response duration (ms) 08:57:01 min: 4 08:57:01 average: 152 08:57:01 max: 1256 08:57:01 standard deviation: 289 08:57:01 quantiles (ms) 08:57:01 10% 4 08:57:01 20% 5 08:57:01 30% 6 08:57:01 40% 9 08:57:01 50% 15 08:57:01 60% 70 08:57:01 70% 134 08:57:01 80% 142 08:57:01 90% 171 08:57:01 99% 457 08:57:01 99.9% 457 08:57:01 100.0% 1256 (max. value) 08:57:01 response size (bytes) 08:57:01 total: 151001836 08:57:01 min: 0 08:57:01 average: 8388990 08:57:01 max: 16777996 08:57:01 standard deviation: 8388990 08:57:01 response status codes 08:57:01 200: 18 (100%)

{ "performanceData": [ { "min": 4, "max": 1256, "quantile90": 171, "average": 152, "total": 18, "statusCodes":{ "200": 18 }, "uriByStatusCode":{ "200": [ "get", "check test file existence" ] } } { "min": 431, "max": 4618, "quantile90": 4087, "average": 1695, "total": 9, "statusCodes":{ "201": 9 }, "uriByStatusCode":{ "201": [ "put" ] } } { "min": 10, "max": 35, "quantile90": 27, "average": 15, "total": 9, "statusCodes":{ "204": 9 }, "uriByStatusCode":{ "204": [ "delete" ] } } ] }

Best regards and thanks for any advice

marekrodkiewicz commented 7 years ago

Workaround helped: `

httpSample

`