14
I have the following scenario: There is a Windows Service, done in C#, which is used to synchronize data from a local database to a cloud base and need to perform some stress and charge, with this, I thought to carry out the following test:
- How would this service behave with instabilities in the network? For example, the internet has fallen in the middle of the process and with that is impossible for a while to perform synchronization.
- Simulate server slowness that causes the process to take longer to run.
- Simulate a large data load.
I would like to know how I can simulate these test cases, especially case 1, since this is something that the system needs to deal with, as it is an already predicted scenario that usually occurs in the environment Windows Service is installed.
I have read that normally, in the case of Windows Service, the ideal is to export the dll of him to test his public methods in this scenario, but I don’t know to what extent this is true.
Indirectly related question: https://answall.com/a/216574/57801
– Don't Panic