Thursday, December 5, 2013

How to view the all error messages in the Analysis session of load runner | Error messages in load runner

We can see the complete error messages in the analysis session by adding the simple line.
 
Add "AdditionalGroupBy=Error Message" to ErrorsPerSecond.def and ErrorSummary.def

For this  Close Analysis file and
  • Go to C:\Program Files (x86)\Micro Focus\Loadrunner Analysis\bin\dat
  • Open ErrorsPerSecond.def using a notepad++
  • Edit the section for "Graph Definitions."
  • Add an "Error Message" value to the AdditionalGroupBy key as shown in below
  • Repeat the same  for ErrorSummary.def. and reload the raw analysis session and Add Error Statistics graph.
  • After the 'Error Statistics' graph is added, right click on the graph and select ' Set Filter/Group By' option.
  • On the Lower pane where it says, 'Group By' select 'Error Message' and it should be available in the 'Available Group'
  • On the upper pane where it says 'Filter Condition', under 'Error Message' or 'Error Type' select all or any of the error codes or message to be shown on the graph.

[Graph Definitions]
AdditionalGroupBy=Error Message

On the lower half pane where the graph is displayed, this will display the error messages and the corresponding code. It will also be exported in any reports that are made.