Loading
Scalability
Load Generation

Load Generation

Book a scale test slot, run the full-scale load test, and analyze results to identify performance issues before they affect production.

Complete at least one trial run with Available status within the last 15 days and note your scaling factor from the trial run results. For Playwright workloads, record your UI journey using Test Script Recorder before importing it as a workload.

A booked scale test runs full-volume JMeter or Playwright traffic against your org to identify governor limit violations, measure response times, and compare sandbox behavior against your production baseline.

  1. Book your scale test.
    1. Go to Test Scheduler and click New Booking.
    2. Review the booking requirements and click I Acknowledge.
    3. Enter your trial run date, scaling factor, test dates, and test name, then click Submit.
  2. Run and monitor your test.
    1. When your slot is active, go to Test Execution. On the Test Runs tab, select your workload, enter a test name, and click Run.
    2. Click View under Live Test to monitor real-time metrics. Use Suspend, Restart, or Terminate to manage individual tasks during the run.
    3. When the test is complete, click Create Report. Enter a name and time range.
  3. Analyze the report results.
    1. Review summary metrics: total logged-in users, average RPS, governor limit hits, and org throttle status.
    2. Check the Governor Limit Hits table for exceptions such as too many SOQL queries and resolve them before scheduling a larger test.
    3. Review Apex Performance for CPU and DB time distribution by entry point. Visit ApexGuru in Scale Center for optimization guidance.
Load Generation Phases
Load Generation Phases
Phase Description
Phase 1: Test Environment Setup Record your UI journey with Test Script Recorder (Playwright) or prepare your JMeter scripts. Run trial runs to validate accuracy and calculate target RPS.
Phase 2: Book Your Scale Test Reserve a production-like sandbox slot, acknowledge booking policies, and confirm your scaling factor, target RPS, and test dates.
Phase 3: Test Execution and Analysis Run your workload, monitor live JMeter and Playwright metrics, generate a report, and review governor limit hits, RPS projections, and Apex performance.
 
正在載入
Salesforce Help | Article