LoadRunner – Error Graph

LoadRunner - Error Graph

Purpose: 

In LoadRunner, the error graph helps a performance tester to understand what are the error came during the performance test. Error graph gives a detailed picture of what and when errors come. This graph is very much useful when you merge with other graphs like average response timethroughput, latency or even with the running vusers graph.

To start the investigation on bottlenecks you should apply WHIWH rule first:

  1. What errors come
  2. How many errors come
  3. In which condition errors come
  4. When errors come
  5. How long errors persist

Graph Axes Representation:

  • X-axis: This graph having elapsed time on X-axis. The elapsed time may be relative time or actual time as per the graph’s setting. This also shows the complete duration of your test (without filter).
  • Y-axis: Number of Errors during the test

How to read:

The graph line shows a count of error during the test in the per-second interval. LoadRunner gives error code with respect to each error. You can get the actual error statement by referring ‘Errors per Second (by Description) Graph’.

LoadRunner provides below error graphs:

  • Errors per Second (by Description) Graph: To display the average number of errors that occurred during each second of the test run, grouped by error description.
    • X-axis: This graph having elapsed time on X-axis. The elapsed time may be relative time or actual time as per the graph’s setting. This also shows the complete duration of your test
    • Y-axis: Number of Errors during the test
Errors per second Graph in LoadRunner
Figure 01: Errors per Second (by Description) Graph
  • Errors per Second Graph: To display the average number of errors that occurred during each second of the test run, grouped by error code.
    • X-axis: This graph having elapsed time on X-axis. The elapsed time may be relative time or actual time as per the graph’s setting. This also shows the complete duration of your test
    • Y-axis: Number of Errors during the test
Error Graph in Performance Testing
Figure 02: Error per Second Graph
  • Error Statistics (by Description) Graph: To display the number of errors that accrued during test execution, grouped by error description. This is a pie chart.
Error Graph in Performance Testing
Figure 03: Error Statistics (by Description)
  • Error Statistics Graph: To display the number of errors that accrued during test execution, grouped by error code. This is a pie chart.
Error Graph in Performance Testing
Figure 04: Error Statistics Graph
  • Total Errors per Second Graph: To display the total number of errors (not categorized) that occurred during each second of the test run.
    • X-axis: This graph having elapsed time on X-axis. The elapsed time may be relative time or actual time as per the graph’s setting. This also shows the complete duration of your test
    • Y-axis: Number of Errors during the test
Error Graph in Performance Testing
Figure 05: Total Errors per Seconds Graph

Merge Error Graph with other graphs:

1. With no. of users graph: You can merge error per second graph with running Vuser graph to get the exact time and user count when an error occurred.

Figure 06: Errors per Second with Running Vusers

2. With Response Time graph: Average transaction response time graph can be correlated with error per second graph to see the effect of errors on transaction performance time.

Figure 07: Errors per Second with Average Transaction Response Time

3. With HTTP Responses Code graph: Response Code graph can be correlated with error per second graph to see which HTTP code and error received at what time?

Figure 07: Errors per Second with HTTP Responses per Second

4. With Throughput: Error graph can be merged with Throughput graph so that you can get the effect of errors on server data. 

Figure 08: Errors per Second with Throughput

Leave a Reply

Your email address will not be published. Required fields are marked *