• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Spring Boot’s Chaos Monkey library

 
Ranch Hand
Posts: 70
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chris Love & Andres Sacco. Congrats on your Microservices Testing (Live Project) release.

Can you use Spring Boot’s Chaos Monkey library to simulate random problems for testing purposes?

For example, is it possible to test App/Code behaviour under conditions such as Memory Assault (Out of Memory Exception)?

Thanks,
 
Author
Posts: 4
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Geoff,  thank you for your question.

Chaos Monkey offers the developer a great set of possible problems like increasing the latency, increasing the use of CPU/memory, random problems on the response, and exceptions that stop the application.

The main problem with this library is you can't create simulations automatically, you need to do all the modifications to the scenarios. using the endpoints that offer the library. For that reason, I propose using another tool combined with Chaos Monkey to create a hypothesis that needs validation so you can create different scenarios that change the application context without your intervention in each step. You can think of this approach as a type of testing
 
reply
    Bookmark Topic Watch Topic
  • New Topic