Loading
Scalability
Scale Test

Scale Test

Use metrics to plan scale tests. Book a slot in your sandbox instance calendar, and test at production peak load. Compare performance data from recent tests.

Access Scale Test

To get access, contact your customer success representative or account executive. From Setup, in the Quick Find box, enter Scale, then click Scale Test.

Considerations

  • We recommend Scale Test when you're expecting peak production traffic above 120 Requests Per Second (RPS). It lets you validate that your implementation can scale with no issues before you go live with a large rollout or peak event.
  • Scale Test is available as a paid add-on for customers with a Full Sandbox.
  • Even if your production instance doesn't reside on Hyperforce, you can use Scale Test if your sandbox does.
  • Scale Test is available in all Hyperforce regions except Singapore.
  • During test execution, Scale Test temporarily captures technical data to help you debug scripts, including user credentials, session information, request and response data, and screenshots. Scale Test stores this data in the AWS region where your test runs and automatically deletes it after 30 days for live monitoring data and 180 days for post-test artifacts.
  • If MFA is enforced in your sandbox, allowlist the IP address range that Scale Test uses to generate traffic.

Features

Test Plan Creation
  • To create test plans, ask your Salesforce admin to turn on Scale Center in your production org.
  • Use this data to plan your scale tests. See how long pages are taking to load and optimize them to reduce Experienced Page Time (EPT). Use the View Server Side Traffic feature to get workload metrics such as triggers and platform events. Include these backend operations in your test scripts and test data.
  • Users in your users file must be valid sandbox accounts. Dedicated load-test accounts work. They don't need to be real employee accounts. Encrypt the file before committing it to Git.
Test Environment Setup Import your JMeter or Playwright workload scripts from GitHub and validate that they're ready for testing.
Trial Runs Run small baseline tests to validate that your workload scripts accurately replicate production behavior and calculate target RPS. A trial run with Available status within the last 15 days is required before booking.
Test Scheduler

View available test slots and book a slot. During the slot, we upgrade and enhance your sandbox infrastructure to match a particular production instance.

  • New slot bookings require 2 weeks of notice, based on capacity availability. Cancellations require at least 1 week of notice.
  • To see updated bookings after you delete or cancel a scale test, refresh the page.
Load Generation Run traffic simulations using JMeter or Playwright scripts in a production-like sandbox environment to identify governor limit violations and validate app performance before peak demand.
Test Execution After the testing slot ends, compare performance metrics from two or three recent tests and optimize your next test run. Use the Open in Scale Center link to access other performance and scale-related insights. Test Execution also contains an optional checklist of tasks that you can use to prepare for future testing.
Live Monitoring During an active test run, view real-time metrics, logs, errors, and screenshots to observe your org's behavior under load as it happens.
Test Reports After a test completes, generate a report summarizing key results to guide optimization before your next run.

Explore Scale Test

  • Scale Test’s Limits and Suggested Usage
    Read information about the technical limitations and recommended usage of Scale Test.
  • Trial Runs
    Run small baseline tests to validate your JMeter or Playwright scripts and calculate target RPS before booking a full-scale load test.
  • Load Generation
    Book a scale test slot, run the full-scale load test, and analyze results to identify performance issues before they affect production.
  • Scale Test FAQ
    Get answers to common questions about using Scale Test.
 
Laddar
Salesforce Help | Article