A
A
Alexander Karabanov2020-07-02 17:21:55
MySQL
Alexander Karabanov, 2020-07-02 17:21:55

Is there a tool to simulate various database problems?

Hello.

There is a need, as part of testing, to check how the application will behave in case of problems with the database, for example, such as:

  • server drops connection
  • it takes a considerable amount of time before it is possible to open a connection to the server
  • the server is slow in executing requests
  • the server responds with an error (wrong request syntax, etc.)


Please tell me if there is a tool that can "pretend to be" a database and simulate the above problems?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Mirilaczvili, 2020-07-03
@karabanov

https://github.com/Shopify/toxiproxy

Toxiproxy is a framework for simulating network conditions. It's made specifically to work in testing, CI and development environments, supporting deterministic tampering with connections, but with support for randomized chaos and customization.

S
Stanislav Bodrov, 2020-07-05
@jenki

Regular user. Let people play around, as a bonus they will get a laid server (the slower the server responds, the more harmful the request). They will dig up something that no analyzer will find.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question