# Omni-Testing

Test a hosted core under load from the console or the API and get a verdict with evidence.

Product: Observability

Human documentation: https://www.1sc.dev/docs/o/omni-testing

Documentation index: https://www.1sc.dev/llms.txt

## What it is for

Omni-Testing is the stress-testing part of 1sc Observability. It answers one question: does this core carry the load you need? It starts simulated UEs, sends traffic through the core, and reports passed, failed, incomplete, or not evaluated with the measured evidence. High-volume traffic is the first test type.

- Size a deployment before a pilot.
- Find the UE count where throughput or packet loss breaks.
- Compare a core release with the previous release.
- Confirm that an instance size meets your bounds.

## Start a traffic run

- [Sign in to 1sc.dev](https://www.1sc.dev/sign-in) and open Dashboard → Observability → Omni-Testing.
- Set the UE count, the duration, and the rate per UE.
- Optionally set pass conditions: minimum aggregate Mbit/s, maximum loss, and maximum RTT p95.
- Optionally set a load host instance. Leave it empty to send traffic from the core host.
- Click Start traffic run. The tab shows progress and adds a row when the run finishes.

```text
curl -X POST https://www.1sc.dev/api/deployments/<deployment-id>/traffic-run \
  -H "Authorization: Bearer $ONE_SC_API_TOKEN" -H "content-type: application/json" \
  -d '{"confirmTrafficRun":true,"ueCount":16,"durationSeconds":120,"bitratePerUe":"2M","sla":{"minAggregateMbps":15,"maxLossPercent":1}}'
```

GET on the same path returns the progress of the current run and the newest 20 runs. The capability id is deployment.traffic_run.start, and it requires the radio-attach:run scope.

## Read the result

| Result | Meaning |
| --- | --- |
| Passed | Every pass condition held and the measurement quality is complete. |
| Failed | A measured value broke a pass condition. |
| Incomplete | Evidence is missing, or the load host was saturated, so the core cannot be judged. |
| Not evaluated | The run declared no pass conditions. |

> **Requirements:** The deployment must use the external-dn-nat data network and PLMN 001/01. A separate load host must carry the DeploymentId and OwnerId tags of the deployment and be in the core VPC. When the core host also sends the traffic, a heavy run can report Incomplete.
