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
- Base URLhttps://api.us-west-1.saucelabs.com/rdc/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
{
"downloadSpeed": 5000,
"uploadSpeed": 3000,
"latency": 200,
"loss": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.