curl --request PUT \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/settings/delayDistribution \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"delayDistribution": {
"type": "uniform",
"lower": 50,
"upper": 100
}
}
'{
"delayDistribution": {
"median": 123,
"sigma": 123,
"maxValue": 123,
"type": "lognormal"
}
}curl --request PUT \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/settings/delayDistribution \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"delayDistribution": {
"type": "uniform",
"lower": 50,
"upper": 100
}
}
'{
"delayDistribution": {
"median": 123,
"sigma": 123,
"maxValue": 123,
"type": "lognormal"
}
}The ID of the Mock API
5 - 10"jjl8y"
Log normally distributed random response delay.
Show child attributes
Settings successfully updated
Log normally distributed random response delay.
Show child attributes