Do Trial Runs
Learning Objectives
After completing this unit, you’ll be able to:
- Conduct trial runs to validate your test setup.
- Explain the importance of trial runs in identifying and resolving issues.
It’s time to explore the importance of doing trial runs before conducting full-scale tests. Trial runs are scale tests that you execute with a smaller number of users. They help you validate your test setup, identify potential issues, and ensure that your tests are accurate and reliable.
Plan your ramp-up. Be intentional and take your time. Start small. A controlled ramp-up (and ramp-down) is crucial for uncovering issues without overwhelming your system from the start.
Sample ramp plan for 5,000 users:
- 0–15 mins: Ramp from 0 to 1,000 users → hold for stability
- 30–45 mins: Ramp to 2,500 users → hold again
- 60–90 mins: Ramp to 5,000 users
- 90–150 mins: Hold steady at 5,000 users (collect peak metrics)
- 150–180 mins: Gradually ramp down to zero
Why Trial Runs Are Important
- Validation: Trial runs help you validate your test setup, ensuring that all components, including Agentforce, are functioning correctly.
- Issue identification: By running trial runs, you can identify and resolve issues before they impact your full-scale tests.
- Confidence: Conducting trial runs builds confidence in your test setup, ensuring that you are prepared for the full-scale test.
Steps to Conduct Trial Runs
Testing Step | Description |
|---|---|
Set Up Your Test Environment |
|
Define Test Scenarios |
|
Run the Trial Run |
|
Analyze Results |
|
Iterate and Improve |
|
Use Case: Route Insurance Cases Based on Criteria
You run a trial with 2,000 users on an insurance application that routes cases through Agentforce based on policy type. Use Playwright logs and screenshots to debug a failed Live Agent handoff. Trial mode allows you to iterate safely before booking the full-scale test. You adjust the retry logic for Named Credential API calls that were timing out under partial load.
Congratulations, you’ve taken all the necessary steps to now book and review an actual Scale Test!