Highlighted
Established Member..
Established Member..
5192 views

For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution



Hi Guys,

Could you please share your thoughts and experience on the below.

1) For a Scenario schedule, Run until completion or Duration which is the best?

2) What makes the difference b/w Run until completion and Duration?

3) Which one gives accurate results in terms of Load What I mean to say is to observe the load on the servers?

4) Let’s say for 1000 Vusers, by giving the Run until the Completion or Duration (3 hrs) which one is the best?

Thanks,
Raj
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
Hi Raj,

It depends on your scenario. If you want to run a script for specified number of iterations irrespective of the duration you can go with Run until completion. It executes the script for the no of iterations provided by you in the run logic and then terminates. If your requirement is to run a load test for specified duration then you can go with Run for duration and you can specify the no. of iterations as 1 as it iterates automatically until the duration is reached its maximum. Also make sure that you have enough test data if you are executing with unique test data. your calculation should be based on the available test data.

View solution in original post

9 Replies
Highlighted
Super Contributor.
Super Contributor.

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
1. whichever best suits your business scenario
2. Refer Controller user guide
3. Refer Controller user guide
4. Depends on what you want to test
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
Hi Raj,

Load test should emulate the real time execution. It may vary as per application needs.

However we ideally run for a duration of 1 hour to 2 hours to monitor the load.

By running until completion you can only have 1 call per script.
Running the test for 2 hours give a guage on average time taken for a transaction while the script/Business process being executed multiple times(More realistic).


0 Likes
Highlighted
Absent Member.
Absent Member.

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
Hi Raj,

It depends on your scenario. If you want to run a script for specified number of iterations irrespective of the duration you can go with Run until completion. It executes the script for the no of iterations provided by you in the run logic and then terminates. If your requirement is to run a load test for specified duration then you can go with Run for duration and you can specify the no. of iterations as 1 as it iterates automatically until the duration is reached its maximum. Also make sure that you have enough test data if you are executing with unique test data. your calculation should be based on the available test data.

View solution in original post

Highlighted
Established Member..
Established Member..

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
Hi Srinivas,

It's for only 1 Iteration.


Thanks,
Raj
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
If it is only for one iteration and you do not have sufficient unique test data then you need to go for run until completion. If you can use your data for the second time then go for a specific duration where it gets executed for multiple iterations until it reaches its maximum time frame.
Highlighted
Established Member..
Established Member..

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
Hi Srinivas,

I have 1000 Unique username and passwords.
Have to run only 1 iteration for 1000 Vusers.

Inthis situtaion which one is the best either Run until the completion and Duration?

Thanks,
Raj
Highlighted
Absent Member.
Absent Member.

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
Run Until completion only. Dont go for Duration. Thanks.
Highlighted
Established Member..
Established Member..

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
Thanks a lot Srinivas!
Highlighted
Absent Member.
Absent Member.

Re: For a Scenario schedule, Run until completion or Duration which is th best?

Jump to solution
its depends on your requirements. requirements always includes two things - no of users doing this many trxns. this many trxn some time includes - no of one trxns like no of logins per hour or no of total trxns (page views) like sample script has total of 6 trxn (launch, login etc) - how many per hour

so in your case

1000 users but how many logins per hour.

if you met both requirements by any means - 1 hr flat or run until completion. it doesn't matter. both can be met with same criteria - by changing think time and pacing.
0 Likes
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.