benc-uk / k6-reporter

Output K6 test run results as formatted & easy to read HTML reports
MIT License
401 stars 100 forks source link

Issue with "Total Requests" Count when execute the k6 'Checks' #51

Open PraveenDilshan opened 1 year ago

PraveenDilshan commented 1 year ago

Hi K6 Team,

I used Checks to run K6 scripts and published the results to Grafana dashboards and influx DB 2.0 instances. The run is being performed with Jenkins.

Here is the Code: sample Code from K6 Site. https://k6.io/docs/using-k6/checks/ 1

I only hit 1 request here, so we need to see 1 in the Requests in the HTML Total Request widget. but there I can see 2 Requests count on the HTML Report side but in the influx DB side and Grfana side I can see only 1 request. Checks Details and all other details data are correct but have the issue with request count.

2

4

3

Here I attached my Influx DB data and Grafana Dashboard Details.

5 7 6

Please, if anyone on this team can help, please do. that would be really helpful. 🙌

benc-uk commented 1 year ago

This is not maintained by K6, it's my own personal side project and is supported on a best endeavours basis. I'm not really working with K6 anymore, but the code is open source so you're more than free to provide a fix