LoadRunner Results will display an incorret Scenario Duration time in Analysis

  • KM00234596
  • 12-Dec-2012
  • 29-May-2013

Summary

LoadRunner Results will display an incorret Scenario Duration time in Analysis

Question

After having run a scenario and performing collation, the LoadRunner Analysis session will display an incorrect duration for the scenario. For example a scenario that ran for 2 hours will only display 2 minutes.

Answer

In order to change this you will have to edit 2 files. The .lrr file and the .eve files within the scenario's raw results folder in order to reflect the correct time length of the scenario.
1. Open the .lrr in a text editor, such as notepad.
2. Look for the scenario stop time. For example: Stop_time=1353991068
3. This shows Unix Epoch time, which you will need to convert and add the right length for the scenario. You can check online for sites which can perform this conversion.
4. After this modify the Stop_time with the new one and save the .lrr file.
5. Open the .eve file in a text editor.
6. You should see for a example a first line that looks like this: 28 11 1353942877 2 33554433 1240744 8103168
7. You will need to copy it and modify it like so, where xxxxxxxxxx is the new modified time: 28 12 xxxxxxxxxx 2 33554433 1240744 8103168
8. Past at the end of the .eve file and leave an empty line after it and save it.
Once this has been done you can now open the .lrr file and show the correct time length. If you are unsure of time duration, you can check one of the graphs; it may reflect the correct time length.