Sunday, March 8, 2009

How to view the complete error messages in the Analysis session

Solution:

Add "AdditionalGroupBy=Error Message" to ErrorsPerSecond.def and ErrorSummary.def

To display the complete error messages in the Analysis tool, do the following:
1. Close Analysis
2. Go to "LoadRunner Install Dir"\bin\dat.
4. Open ErrorsPerSecond.def using a word editor (notepad/wordpad).
5. Edit the section for "Graph Definitions."
6. Add an "Error Message" value to the AdditionalGroupBy key.

   Example:
   [Graph Definitions]
   AdditionalGroupBy=Error Message

7. Repeat Steps 5 and 6 for ErrorSummary.def.
8. Reload the raw analysis session and Add Error Statistics graph.
9. After the 'Error Statistics' graph is added, right click on the graph and select ' Set Filter/Group By' option.
10. On the Lower pane where it says, 'Group By' select 'Error Message' and it should be availabe in the 'Available Group'
11. 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.
12. This will show the error messages along with the code on the lower half pane where the graph is dsiplayed and it will exported in any reports that are created.

No comments:

Post a Comment