Automation lab Aú Performance & Stress Testing (PERFORMANCE_STRESS)
Lab 091: First page load under 2 seconds
Practice first page load under 2 seconds in a real web app context as part of the Performance & Stress Testing module.
expert
expert
Objectives
Use for test scripts- Understand the purpose and business flow of first page load under 2 seconds.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
Performance & Stress Testing / performance / expert / active
First page load under 2 seconds
Simulate measuring first load time and flagging pass/fail.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Generate mock load time.
- Compare against 2s threshold.
- Expose pass/fail status.
Steps
- Click measure.
- View load time in ms.
- Check pass/fail indicator.
Load time: n/a
No resultAssertions to practice
- Time displayed in milliseconds.
- Pass when <= 2000ms, fail otherwise.
- Badge color changes for pass/fail.