Announcing Salesforce Scale Test

Vaishnavi Nulu Reddi
Salesforce Architects
4 min readDec 19, 2023

--

You saw a sneak peak of Salesforce Scale Test during the Architect Keynote at Dreamforce ’23. Today we’re delighted to announce that it’s now generally available. This transformative solution represents a significant advancement in our approach to scale and performance testing. Salesforce Scale Test helps architects and performance engineers test existing and new implementations in a quick, easy, and accurate way. It empowers customers to meticulously analyze scale hotspots within their production orgs and conduct precise testing in full-copy sandboxes that closely mimic production environments.

What is scalability?

Salesforce is a powerful platform for managing data and users. But when the number of users in your org reaches the hundreds of thousands, adjustments may be required to accommodate the increased traffic and related data flow.

An org has good scalability when it performs effectively and remains stable regardless of the demands on it. This means the org can handle changes, upgrades, and resource reduction without freezing, crashing, or suffering UI lags. In other words, scalability addresses the unique problems that stem from thousands of users using your org at once, all viewing, adding, and deleting data. See Salesforce Well-Architected — Scalability for more information.

Ready! Get set! Scale test!

Use the main tools in Scale Test to help you create a test plan, schedule your test, and compare performance metrics from two or three live test executions. A well-crafted plan helps you get the most out of your scale testing.

Scale testing:

  • Ensures that the software performs reliably under increasing user loads and data volumes.
  • Safeguards a positive user experience.
  • Identifies and addresses potential issues before they impact operations, reducing the risk of costly downtime or data loss.
  • Enables teams to deploy reliable, well-architected systems.
  • Provides confidence in software performance, which helps businesses maintain a competitive edge in today’s dynamic business landscape.

Test plan creation

Salesforce Scale Test lets you view the business peak hours in your production org or pick a custom date and time to view performance hotspots. When you create a test plan, you’ll see optimization opportunities from a front-end perspective like the most used and slowest pages, most used Lightning components, most used REST APIs, and most used SOAP APIs.

Use the metrics (shown below) to see how long the pages are taking to load and optimize them to reduce Experienced Page Time (EPT), which is a measure of the time it takes to download and display the entire content of a webpage in a browser window. Use Scale Test reports and metrics to proactively find issues or troubleshoot issues you’ve already learned about.

Test Plan Creation screen in Salesforce Scale Test
Create a scale test plan

View server-side traffic

Use the View Server Side Traffic feature to get powerful insights into what the traffic looks like under the hood of your implementation with workload metrics such as triggers, platform events, and DMLs. You can then include these backend operations in your test scripts and test data.

Salesforce Scale Test view server side traffic screen
View traffic information for your Salesforce implementation

Test scheduling

After you’ve created your test plan, you’re ready to book a slot on your full copy sandbox instance calendar. View all the available test slots in any given window and get an immediate confirmation when you submit the booking. The test will automatically run during the slot and generate results within three to four minutes.

Salesforce Scale Test scheduler screen
Use the scheduler to book a slot for your scale test

Test execution

Compare performance metrics from two or three recent tests.

After the testing slot has ended, navigate to Test Execution to see key performance metrics and how they are trending. This will help you reassess and optimize before your next test run. You can also use the Open in Scale Center link to access other performance and scale-related insights.

This part of Scale Test also includes an optional checklist of tasks that you can work through to prepare for future testing.

Salesforce Scale Test test execution screen
Compare performance metrics from your recent tests

Get started with Salesforce Scale Test

To access Scale Test, navigate to Setup and type Scale Test in the Quick Find box. Before booking a test slot, you’ll need to contact your Salesforce Account Executive (AE) to purchase credits.

Product notes:

  • Scale Test is available in Hyperforce production (Test Plan Creation) and Full copy sandbox orgs (Test Scheduler & Test Execution).
  • The testing has no impact on org performance and does not access your production org data.
  • Scale Test isn’t supported in Government Cloud.

Additional resources:

--

--