Test Azure Functions reliability with Gremlin Failure Flags. Inject latency and errors into function code to validate timeouts and retries.
Azure Functions bills on execution time, which changes the risks of a hung function. A function waiting on a stalled database call is consuming money and occupying a concurrency slot other invocations need, and scaling out only creates more instances stuck on the same call.
Gremlin brings fault injection into the function itself with Failure Flags, so you can answer the important questions:
- Does your timeout fire before the caller gives up? Inject latency into a downstream call and ensure your timeout policy works as expected.
- Does the function fail silently? Trigger an exception and check whether an alert reaches a human or settles into Application Insights unread.
- Is there a fallback path? Run a blackhole experiment to make a dependency unreachable and see whether the function returns degraded output or nothing at all.
A hung function costs you money, capacity, and customer trust. Finding that out in a test is considerably cheaper than finding it out in production.
Dependencies: Failure Test
Simulate a failed dependency by dropping all network traffic to the dependency.
Dependencies: Latency Test
Recreate poor network conditions by delaying all network traffic to a dependency by 100ms.
Unreliable Networks - Dependencies
Simulate unreliable network conditions when communicating with dependencies by adding latency to API calls. Test whether your users are affected when dependency response times degrade.
* Failure Flags works wherever you can add the SDK to your application and run the Gremlin sidecar. Not every language and platform combination has been individually tested, and not all are officially supported. Check our compatibility documentation for what's verified, or get in touch if you don't see your runtime.
Intelligent Health Checks - Azure
Automatically monitor your Azure services during testing in one-click with Intelligent Health Checks.
Avoid downtime. Use Gremlin to turn failure into resilience.
Gremlin empowers you to proactively root out failure before it causes downtime. See how you can harness chaos to build resilient systems by requesting a demo of Gremlin.
