The Multi-load-pattern collection allows adding multiple Steady and Step and load patterns to a single test. Each load pattern can be bound to one or more test objects (test cases or test case groups) to create an even more realistic use scenario test.
For example, a test may have two types of test cases:
- Routine work scenario
- A short-term, high-intensity work scenario
A multi-pattern collection load test will allow running a test whose goal is to find out how routine scenario performs before and during the high-intensity work scenario.
Creating the multi-load-pattern collection
Select the Multi-load-pattern collection from the Load pattern dropdown to bring up the multi-load pattern collection control.
- Click the Create a new load pattern button to add a new load pattern.
- Give the load pattern a name. This name will be used to associate to test objects.
- Set the Steady and Step load pattern properties.
- Optionally, set the number of seconds to delay the pattern initiation from the beginning of the test.
Binding to test objects
To bind a load pattern to a test case (or test case group):
- Select the test case (or test case group)
Set the Load pattern name property to the desired load pattern. Click the dropdown (a) to see the list of all available load patterns.
Empty load pattern
In a multi-pattern load test, if a test object does not have a load pattern name, it will not be executed.
- No labels