Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ApexTestResultLimits
Supported Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Special Access Rules
In API version 49.0 and later, users must have the View Setup and Configuration permission to access this object.
Fields
| Field Name | Details |
|---|---|
| ApexTestResultId |
|
| AsyncCalls |
|
| Callouts |
|
| Cpu |
|
| Dml |
|
| DmlRows |
|
|
|
| LimitContext |
|
| LimitExceptions |
|
| MobilePush |
|
| QueryRows |
|
| Soql |
|
| Sosl |
|
Usage
- The associated test method must be run asynchronously.
- Limits for asynchronous Apex operations (batch, scheduled, future, and queueable) that are called within test methods aren’t captured.
- Limits are captured only for the default namespace.