Manual collation of HP Loadrunner results, ensures that as much as result data can be retrieved even though the results are not accessible from Performance Center/ Controller. Below are the steps to recover the load test results from Performance Center and Controller.
Steps to recover test results from HP Performance Center
- 1. Test results will be stored in the orchidtmp directory of Controller machine, location of this directory for a particular test run can be obtained from the Test Runs page in Performance Center.
- 2. Once this path is obtained, navigate to the result folder on Controller and open Collate.txt file.
- This file contains the path for temporary results stored in Load Generators.
- 3. If there is a line saying Completed = 0, change it to 1, as show below.
- 4. Grab the path (as shown above) of eve and map files from the Collate.txt file and navigate to the same. The eve and map files found here should be copied to the result folder on controller. If there are multiple Load Generators, repeat this step for all of them,
- 5. Next step is to modify the .lrr (Load Runner Result) file as below. (Open with Notepad)
- 6. In case of a test that failed in the midst of a test run, the Stop_time parameter won’t be present. In such case, enter this line manually.
Fun fact: The Stop_time stamp is in a special format called Unix time (aka POSIX time or Epoch time), which is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, not counting leap seconds.
- Open the _t_rep.eve file available in the controller result folder and grab the last instance of the Epoch time from the file, and use this as Stop_time in the .lrr file.
- If you made the changes in the actual result folder on the controller, go into Performance Center Administrator console and change the status of the test run to “Before Collating Results” or “Before Creating Analysis Data”. You will be able to download the results as normal after this.
- If the map files are blank transactions names would be missing, hence grab an map file from existing results and copy it to the new result folder, this should do the trick.
- If you followed the above steps correctly, your results have been collated successfully!
Steps to recover test results from HP Controller
- 1. Test results would be stored on the controller machine, you can find this path under Results settings in Controller.
- 2. Once this path is obtained, navigate to the result folder on Controller and open Collate.txt file.
- This file contains the path for temporary results stored in Load Generators.
- 3. If there is a line saying Completed = 0, change it to 1, as show below.
- 4. Grab the path (as shown above) of eve and map files from the Collate.txt file and navigate to the same. The eve and map files found here should be copied to the result folder on controller. If there are multiple Load Generators, repeat this step for all of them,
- 5. Next step is to modify the .lrr (Load Runner Result) file as below. (Open with Notepad)
- 6. In case of a test that failed in the midst of a test run, the Stop_time parameter won’t be present. In such case, enter this line manually.
- Open the _t_rep.eve file available in the controller result folder and grab the last instance of the Epoch time from the file, and use this as Stop_time in the .lrr file.
- If you followed the above steps correctly, your results have been collated successfully!
Nice article.
There are multiple map files in the load generators, viz .map, .map1 & .map2. Which of these should be copied to the results folder?
map file(0KB),
map1 file(1KB)
map2 file(1KB)
– Santhosh
Hi Santhosh,
Thanks for your comment. Map files are used by Loadrunner to map/match the transaction names. So in your case, you would need to see if one of the map files have all the required transactions inside, if so copy that one.
Hi Regin,
If one of the map files has all the transaction names, do I have to rename the extension from .map1 to .map and then copy to results folder?
This comment has been removed by the author.
will the steps be different for sap script load tests?