

Salesforce Scale Testing
As businesses grow, Salesforce must efficiently manage rising data volumes, user traffic, and complex operations. Whether gearing up for major events, go-live rollouts, or enhancing overall application performance, scale testing plays a vital role.
Scale testing ensures that a Salesforce application can handle high volumes of users, transactions, and data without performance degradation. It helps organizations prevent bottlenecks, downtime, and slow performance under peak loads. This article explores the importance of scale testing in Salesforce, the working of scale test, and its limitations.
Why Salesforce Scale Testing Matters
In today’s digital landscape, application performance significantly impacts user experiences. During critical periods such as product launches, promotional events, or seasonal spikes, applications must run efficiently. Scale Test is a powerful Salesforce add-on designed to help businesses prepare for spikes in demand and operational surges.
Scale testing simulates high-traffic scenarios, pushing systems to their limits to uncover potential performance issues before they impact the users’ operations. By stress-testing applications under realistic conditions, potential obstacles can be identified and resolved, ensuring optimal system performance even during peak usage. The insights from scale testing help businesses stay agile, meet evolving demands, and maintain a competitive edge.
Another key benefit of scale testing is continuous optimization. By making performance testing a regular part of the development cycle, teams can:
- Fine-tune their testing approach based on real-time results.
- Discover new scenarios and user behaviours that need testing.
- Analyze traffic spikes and run focused scalability tests separately from other testing methods.
- Track Most Used and Slowest Pages, Most Used Lightning Components, and Most Used REST APIs.
This ongoing process helps businesses stay ahead of potential issues, ensuring their systems remain efficient, responsive, and ready for future growth.
How Scale Test Works
1. Test Plan Creation
A well-structured test plan maximizes the effectiveness of your scale testing. Consider the following prework to refine your testing strategy:
- Define key test use cases and requirements.
- List the performance metrics to track (e.g., slowest pages, API response times, back-end processing time).
- Use tools to simulate user interactions and generate test data.
- Identify the expected throughput and estimated execution time for each scenario.
2. Set Up Your Test Environment
Before running a scale test, ensure your sandbox mirrors your production setup as closely as possible.
- Conduct a sandbox trial run using the same code and data as production.
- Use the Trial Accuracy Checker to verify the test environment:
- Green – Accurate replication of peak traffic
- Yellow – Some issues need to be addressed
- Red –The setup doesn’t match production, requiring fixes before proceeding
3. Test Scheduling and Slot Booking
Scale Test operates within Salesforce full copy sandboxes and follows a first-come, first-served booking model. Here’s how to book a test:
- Navigate to Setup > Enter Scale Test in Quick Find > Select Test Scheduler.
- Click New Booking, then choose an available start and end date.
- Receive instant confirmation via toast notification.
- View all test statuses:
Completed – Past bookings
Confirmed – Upcoming bookings
Live – Ongoing tests with remaining days displayed
- Need to cancel? Simply use the dropdown menu to delete a confirmed booking. The cancellations must be made at least 1 week before the scheduled test.
Note: Even if your production instance isn’t on Hyperforce, you can still use Scale Test if your sandbox is on Hyperforce. Scale Test is supported in all Hyperforce regions except for Singapore.
4. Test Execution and Data Analysis
After running your scale test, you can gain deep insights into your system’s backend performance by reviewing server-side traffic. Scale Test provides workload metrics such as:
- Triggers and Platform Events
- DML Operations
- API Performance Data
Use these insights to refine test scripts and enhance system efficiency. A continuous testing approach reduces performance failures and improves user experience with every iteration.
Limitations
- Scale Test is a paid add-on and requires a Full Copy Sandbox license.
- The test environment is not a replica of production but aims to provide the closest possible configuration.
- Not an isolated environment: Other customers may run tests in the same instance.
- Telemetry data collection begins automatically upon first use and takes 2-3 days to populate.
- Request limitations: Maximum 60 user logins per minute; higher requests will be rejected.
Conclusion
Salesforce Scale Testing is essential for ensuring smooth performance during high-traffic periods. By proactively simulating peak loads, businesses can identify potential issues, optimize system efficiency, and enhance user experience before real-world challenges arise. With Scale Test, teams can validate their infrastructure, refine testing strategies, and gain actionable insights to support seamless operations. While it has certain limitations, its ability to detect and resolve performance bottlenecks makes it a valuable tool for maintaining system reliability. By making scale testing a regular practice, organizations can stay prepared for growth, prevent unexpected failures, and deliver a consistently high-performing Salesforce experience. This help your to understand the Salesforce Scale Testing: Ensuring App Performance under Pressure.