Skip to content

Instantly share code, notes, and snippets.

@mertyildiran
Created May 22, 2021 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mertyildiran/463350945e1524dfb6190786f9d5a454 to your computer and use it in GitHub Desktop.
Save mertyildiran/463350945e1524dfb6190786f9d5a454 to your computer and use it in GitHub Desktop.
Mockintosh: mocks for microservice environments - Part 5: Chaos and Resilience Testing
performanceProfiles:
profile1:
ratio: 1
delay: 1.5
faults:
'200': 0.3
'201': 0.1
'400': 0.1
'500': 0.2
'503': 0.1
PASS: 0.4
RST: 0.2
FIN: 0.1
profile2:
ratio: 0.3
delay: 4.8
services:
- name: "Service One"
port: 8081
performanceProfile: profile1
endpoints:
- path: /example1
response: example1
- name: "Service Two"
port: 8082
endpoints:
- path: /example2
response: example2
- path: /example3
performanceProfile: profile2
response: example3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment