Highlighted
Absent Member.
Absent Member.
438 views

Loadrunner Scenario does not run scripts in the desired order!

Jump to solution

Using LR 12.50, I have created 4 scripts which should be run by Loadrunner Scenario one at a time in a specific order. To do so I 'grouped' each script and defined e.g. "Start group" to start a given group when another group finishes, like seen in this screenshot:

OrderStrange.png

In this example I expect the script "prequ8..." to run AFTER the script "prequ7..." has finished. In fact, I set the options so that script1 should run first, followed by script2, then script7, and script8 at last. I SAVED the scenario.

Then, I started this scenario by command line and saw that the script "prequ8.." started first!!! Why is that? Because it is first in list? Is there another, better, proper way to define the order in which the scripts are executed in LR scenario?

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Re: Loadrunner Scenario does not run scripts in the desired order!

Jump to solution

Hello,

I just realized I am running two scripts which are not identical; one of them 'ordered' while the other is not ordered. I mixed them up! So, in fact, the groups seem to be executed in the correct order!!

Sorry for the confusion...

 

 

 

View solution in original post

2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Loadrunner Scenario does not run scripts in the desired order!

Jump to solution

Hi Alex,

I just tried the scenario you described on my 12.50 machine and it worked properly from the UI.

can you share the command line you used to start the scenario? better yet, can you share the scenario it self?

Thanks,

Lior

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Loadrunner Scenario does not run scripts in the desired order!

Jump to solution

Hello,

I just realized I am running two scripts which are not identical; one of them 'ordered' while the other is not ordered. I mixed them up! So, in fact, the groups seem to be executed in the correct order!!

Sorry for the confusion...

 

 

 

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.