Wednesday 5 June 2013

Transaction Names as Numbers in Loadrunner Analysis

While generating analysis report the transaction summary has numbers instead of transaction names. This issue is seen mostly in case of test being run in performance Centre.
The possible reasons for this behaviour are:
  • Version conflict between controller and Load Injector. 
  • Map file was missing on one of the load generators. 
Analysis of the load test run showed that the load test had exceeded its timeslot and ended with the error "Executing run failed to stop in a timely manner". Furthermore no load test results were collated for this load test. As a consequence test result collation was performed manually by setting the collator status to "before collating results" and then collating the results.

Solution
Install correct version of Load generator on all the LG machines.

In order to resolve this problem, where no map file is used and all information is written to the eve file, revert to the old way of writing the results using these steps:

a) Close all the instances of Controller and make sure no test is running.
b) On the Controller machine search and find the file "Wlrun7.ini".
c) Back up the file to save the original version
d) On the file go to [GENERAL] section and add the line: EveVersion=2, close and save the changes.
e) Launch the controller and run the Load Test. If this is controller machine in Performance Centre implementation, perform this operation on every controller machine that is running a load test.
f) Open the results with analysis and all the transactions should be present.
This problem is fully resolved in Load Runner 11 and Performance Center 11, as information to the MAP file is written during the load test itself and not only at the end of the load tests
Alternate Workaround
Try the following workaround so that Analysis will display names under transaction names rather than numbers in the Analysis Report.

1. Open a new analysis session and change the option there in Tools ---> Options ---> Result collection --->Choose "Generate summary data only."

The default is "Display summary while generating complete data."

2. Then, go to File ---> Open ----> Change the "Type of File" to "Load Runner Results." The default is "Analysis Session Files."

Choose the .lrr file and Click on "Open".

3. The Analysis report will be generated. Save the .lra file.

Open the .lra file and check the Summary report for transaction names.

2 comments:

Unknown said...

This was Very Helpful :D this post saved me from getting kicked :D
Thanks Very Much !

Unknown said...

after test execution, if i open the .lrr file in results folder its not showing the all the transaction name in the summary report by showing dailog box as(the fallowing graphs were not created 1.Trasaction Summary 2.Average Trasaction Response Time, possible reason> The graph, as defined, results in no data)