Examples of supported Network Emulation JSON configuration:
Bandwidth
"NetworkEmulation": {
"Duration": 15,
"EmulationType": "Bandwidth",
"UpstreamSpeed" : 56,
"DownstreamSpeed" : 33.5,
"Endpoints": [
{
"Port": 443,
"Hostname": "www.bing.com",
"Protocol": "ALL"
},
{
"Port": 80,
"Hostname": "www.msn.com",
"Protocol": "ALL"
},
{
"Port": 443,
"Hostname": "www.google.com",
"Protocol": "ALL"
}
]
}
Corruption
"NetworkEmulation": {
"Duration": 15,
"EmulationType": "Corruption",
"PacketPercentage" : 0.10,
"Endpoints": [
{
"Port": 443,
"Hostname": "www.bing.com",
"Protocol": "ALL"
},
{
"Port": 80,
"Hostname": "www.msn.com",
"Protocol": "ALL"
},
{
"Port": 443,
"Hostname": "www.google.com",
"Protocol": "ALL"
}
]
}
Latency
"NetworkEmulation": {
"Duration": 15,
"EmulationType": "Latency",
"LatencyDelay" : 1000,
"Endpoints": [
{
"Port": 443,
"Hostname": "www.bing.com",
"Protocol": "ALL"
},
{
"Port": 80,
"Hostname": "www.msn.com",
"Protocol": "ALL"
},
{
"Port": 443,
"Hostname": "www.google.com",
"Protocol": "ALL"
}
]
}
Loss - Burst
"NetworkEmulation": {
"Duration": 10,
"EmulationType": "Loss",
"LossType": "Burst",
"BurstRate": 0.30,
"LossRate": 0.25,
"Endpoints": [
{
"Port": 443,
"Hostname": "www.bing.com",
"Protocol": "ALL"
},
{
"Port": 80,
"Hostname": "www.msn.com",
"Protocol": "ALL"
},
{
"Port": 443,
"Hostname": "www.google.com",
"Protocol": "ALL"
}
]
}
Loss - Random
"NetworkEmulation": {
"Duration": 10,
"EmulationType": "Loss",
"LossType": "Random",
"LossRate": 0.25,
"Endpoints": [
{
"Port": 443,
"Hostname": "www.bing.com",
"Protocol": "ALL"
},
{
"Port": 80,
"Hostname": "www.msn.com",
"Protocol": "ALL"
},
{
"Port": 443,
"Hostname": "www.google.com",
"Protocol": "ALL"
}
]
}
Reorder
"NetworkEmulation": {
"Duration": 15,
"EmulationType": "Reorder",
"CorrelationPercentage" : 0.20,
"PacketPercentage" : 0.10,
"Endpoints": [
{
"Port": 443,
"Hostname": "www.bing.com",
"Protocol": "ALL"
},
{
"Port": 80,
"Hostname": "www.msn.com",
"Protocol": "ALL"
},
{
"Port": 443,
"Hostname": "www.google.com",
"Protocol": "ALL"
}
]
}