set_network_condition
Simulate specific network conditions (e.g., wifi, 3g, high-latency) in simulators to test application performance under varying connectivity scenarios.
Instructions
Simulates different network conditions (e.g., wifi, 3g, edge, high-latency, dsl, 100%loss, 3g-lossy, very-lossy) in the simulator.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
profile | Yes | The network profile to simulate. Must be one of: wifi, 3g, edge, high-latency, dsl, 100%loss, 3g-lossy, very-lossy. | |
simulatorUuid | Yes | UUID of the simulator to use (obtained from list_simulators) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"profile": {
"description": "The network profile to simulate. Must be one of: wifi, 3g, edge, high-latency, dsl, 100%loss, 3g-lossy, very-lossy.",
"enum": [
"wifi",
"3g",
"edge",
"high-latency",
"dsl",
"100%loss",
"3g-lossy",
"very-lossy"
],
"type": "string"
},
"simulatorUuid": {
"description": "UUID of the simulator to use (obtained from list_simulators)",
"type": "string"
}
},
"required": [
"simulatorUuid",
"profile"
],
"type": "object"
}