Skip to content

Instantly share code, notes, and snippets.

@cmendesce
Created December 14, 2021 20:26
Show Gist options
  • Select an option

  • Save cmendesce/320b1dfaf3095645207b51b239ef036d to your computer and use it in GitHub Desktop.

Select an option

Save cmendesce/320b1dfaf3095645207b51b239ef036d to your computer and use it in GitHub Desktop.
{
"fault": {
"percentage": [25, 50, 75],
"duration": 3000
},
"concurrentUsers": [1, 25, 50, 100],
"rounds": 10,
"maxRequestsAllowed": 1000,
"targetSuccessfulRequests": 20,
"patterns": [
{
"name": "retry",
"platform": "java",
"lib": "resilience4j",
"url": "http://resilience4j:8080/retry",
"configTemplate": {
"maxAttempts": 6,
"multiplier": 1.5,
"intervalFunction": "EXPONENTIAL_BACKOFF",
"initialIntervalMillis": [50, 100, 200]
}
},
{
"name": "baseline",
"platform": "java",
"lib": "resilience4j",
"url": "http://resilience4j:8080/baseline",
"configTemplate": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment