Test AWS AppSync reliability with Gremlin Failure Flags. Inject latency and errors into resolvers to validate GraphQL query resilience.
AWS AppSync concentrates many backends behind one endpoint, which is convenient for clients and unforgiving operationally. A single query can touch half a dozen data sources, and the response is only as fast as the slowest one.
The coupling is easy to miss because it doesn't follow service boundaries. Instrument your resolvers with Failure Flags and you can test each one independently. With Gremlin, you can:
- Find the field that holds up the whole query. Inject latency into one resolver and measure what happens to the fields around it.
- Confirm your schema degrades partially. Fail a single data source and check whether clients receive partial data with one error or nothing at all.
- Test how clients handle incomplete responses. Many treat any error as a total failure, which turns one degraded field into an apparent outage across your entire API.
Returning most of the data beats returning none of it, but that behavior has to be designed deliberately and confirmed under real failure conditions.
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 - AWS
Automatically monitor your AWS services during testing in one-click with Intelligent Health Checks.
AWS integration
Integrate Gremlin with your AWS account for automatic Health Check creation, service discovery, and more.
Using Failure Flags by proxy
Use Failure Flags, Gremlin's application-level fault injection feature, without changing a single line of code.
Installing Gremlin on Amazon ECS
Learn how to install Gremlin on EC2-backed Amazon Elastic Container Service (ECS) deployments.
Installing Gremlin on AWS - Configuring your VPC
Amazon Web Services (AWS) has unique networking requirements that must be implemented for Gremlin to run successfully…
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.
