Defining requirements in schedules
You can define performance requirements to specify the acceptable thresholds for the performance parameters in a schedule. The performance requirements that you define can also be used to validate the service-level agreements.
You can define both the performance and functional requirements in the schedules. The verdict of the schedule is computed based on the requirements defined in the schedule. You can view the verdict in the Requirements report. You can add the requirement for counters, which you can generate, by using the custom code in a schedule. After the test run is initiated, you can view the information about the counters graphically when the test run starts the custom code.
You can define the performance requirements in a schedule or in a test if your protocol supports it. When you define a requirement in a test, the requirement is defined individually for each test element even if you select multiple test elements. When you define a requirement in a schedule, the requirement is applied to the aggregate of test elements.
For example, assume that you select every page in a test and define the following as a requirement: Page Response Time(Average) must be less than 5 seconds.
This means that if one page in the test has a response time of 6 seconds, the requirement on that page fails. If the other pages have a response time of less than 5 seconds, the requirement is pass.
For example, in a schedule you can define the following requirement: Response Time For All Pages (Average) as less than 5 seconds. This measures the average response time for all the pages. If one page has a response time of 30 seconds and if there are 7 pages that have a lower response time such that the average response time is less than 5 seconds, then the page with a response time of 30 seconds also passes the requirement.
After you defined the requirements in a VU Schedule, you can run the requirement against the application under test, and then analyze the results that are reported.