Network Throttling

Set custom network conditions

Applies custom network conditions to the device session. Only specified parameters will be conditioned. The applied network conditions are returned in the response.

post/sessions/{sessionId}/network/condition

Request

Path parameters

sessionIdstring required

The id of the device session

Request body

Example request

{
  "networkConditions": {
    "downloadSpeed": 5000,
    "uploadSpeed": 3000,
    "latency": 200,
    "loss": 2
  }
}

Response

Network conditions applied successfully

downloadSpeedinteger

Download speed in kbps (0 - 50000).

uploadSpeedinteger

Upload speed in kbps (0 - 50000).

latencyinteger

Latency in ms (0 - 3000).

lossinteger

Packet loss percentage (0 - 100).

Example response

{
  "downloadSpeed": 5000,
  "uploadSpeed": 3000,
  "latency": 200,
  "loss": 2
}

Changes

No recorded changes to this operation across all 1 revision of this API.