https://github.com/houseofcat/Library
Reusable functions that help harden C#/NET systems by purposefully adding stress and errors in a variety of ways.
Go easy on me, it is a work in progress, with no structure/release plan.
New needed features -> open a feature Issue!
Supports NET472.
Gremlins can generate RandomExceptions.
Gremlins can generate contextual RandomExceptions.
Gremlins can generate Random System.Exceptions, Random System.Net Exceptions, or Random System.Net & Sql.Exceptions.
Gremlins can simulate marshaled memory usage. Can be used to simulate high memory usage.
Gremlins can simulate CLR/Managed memory usage. Can be used to simulate high memory usage.
Gremlins can starve CPU usage and specify the thread priority. Can be used to simulate load on the system or appdomain.
Gremlins can starve the SqlConnection pool keeping the connections open internally until released. Can be used to simulate load on the ConnectionPool and how well your application performs when the connectionpool is low on connections.
Thread monitoring - a variety of ways to to see the number of threads actively engaged in work.
SqlConnection monitoring - a variety of AdoNetPerformance counters that monitor SqlConnections.
A Demo client project that should (when finished) demonstrate how best to use all these features.