0
votes

Is there any way to graph sampler errors over time after running a test plan in JMeter?

I had a test plan execute for an hour, and was watching the command line summary results go by. After about 45 minutes errors started appearing in the results. I looked for a listener which allowed me graph the error percent over time but wasn't able to find anything.

Looking at the results file it appears the sampler results saves a timestamp... Would it be possible to write my own tool that reads the results file (xml) and use the timestamp on each result to build this graph?

I am assuming ts in the example below is a timestamp?

<httpSample t="1" lt="0" ts="1446662820905" s="false" lb="[POST] Account Accept Invite Pass" rc="Non HTTP response code: org.apache.http.NoHttpResponseException" rm="Non HTTP response message: The target server failed to respond" tn="Load Tests Accept Invite Workflow 3-2" dt="text" by="1919">
2
Any feedback on answers, if OK it should be accepted and upvotedUBIK LOAD PACK

2 Answers

1
votes

No need to write a tool for this. Import the XML in MS Excel and create a graph/chart on your own.

1
votes

To compute this you have at least 2 options:

You can see what it shows here:

http://ubikloadpack.com/donations/dashboard/

This feature is being donated to JMeter, if you feel it's useful, then :

  • Register at http://jmeter.apache.org/mail2.html
  • The send a mail saying you like it here to JMeter Users List user at jmeter.apache.org with subject "Re: Donation of a New Dashboard for JMeter : Questions and more"