Thrubit intercepts every PutEvents call in your state machines and Lambda functions — returning instant, correctly-shaped mock responses.
ZERO real event routing. Zero latency. Zero downstream side-effects.
Before Thrubit, every test run of a state machine that fires PutEvents dispatches real events to your real event bus — triggering Lambda targets, SQS queues, and downstream workflows you're not ready to test yet.
Every iteration fires real events into your event bus, triggering live targets — Lambda functions run, SQS messages pile up, downstream workflows execute. You're testing one thing but side-effecting a dozen others, and your test data pollutes production event streams.
Flip the EventBridge mock toggle. Every PutEvents call — from native Step Functions integrations or from inside your Lambda — is intercepted and returns a correctly-shaped EventId response instantly. No real routing, no side-effects, no event bus pollution.
The EventBridge mock is a global setting in Thrubit's AWS panel. Turn it on and every PutEvents call — whether from a Step Functions native integration (arn:aws:states:::events:putEvents) or from inside a Lambda function via the SDK — is intercepted immediately. No code changes. No environment variables.
PutEvents calls — regardless of target event bus — are intercepted under the same toggleThrubit doesn't return a generic placeholder. The mock PutEvents response matches exactly what real EventBridge returns — so your ResultSelector mappings and downstream state transitions work correctly without touching a real event bus.
FailedEntryCount: 0 and a valid Entries array — exactly what a successful real PutEvents call returnsEventId — downstream states that extract or log the ID work correctlyPutEvents with multiple entries returns correctly-sized response arraysResultSelector paths and ResultPath merge patterns work identically against real and mock responsesEventBridge appears in two places in modern Step Functions architectures: as a native service integration in the ASL, and as a direct SDK call inside a Lambda function. Thrubit intercepts both.
arn:aws:states:::events:putEvents task states are intercepted by the execution engine before any network call is madeAWS.EventBridge.putEvents() are patched at the SDK prototype level before your handler runsResultSelector mappings and handler parsing code both work correctlyevents:putEventsEventBridge.putEvents()@aws-sdk/client-eventbridge)PutEventsCommandThrubit handles the full range of PutEvents call patterns — from simple single-event publishes to complex multi-entry batches with custom routing keys.
FailedEntryCount: 0 and a single-item Entries array with a mock EventId.Entries array sized to match the input — so downstream index-based selectors work correctly.Source and DetailType fields you send — they're logged in the execution output so you can verify your routing keys without firing real events.Catch and Retry configurations without injecting real failures. The mock always succeeds — letting you verify happy-path routing before switching to live validation.No code changes, no environment variables, no AWS credentials required to use mock mode.
In Thrubit, open the Settings panel and navigate to the AWS tab. You'll see the EventBridge mock toggle alongside SQS, Bedrock, and your AWS profile and region configuration.
Flip the EventBridge toggle from "Real AWS" to "Mock". The change takes effect immediately — no restart needed. Run your state machine just as you normally would.
Every PutEvents call returns a correctly-shaped mock response in milliseconds with zero real routing. Verify your event payload structure, test downstream state transitions, and iterate without polluting your event bus.
When you're ready to validate real event routing, toggle back to "Real AWS" and run again. Because your response parsing was working against the correctly-shaped mock, it works live too.
Download Thrubit and run your first EventBridge-integrated state machine locally in under five minutes — with zero real event routing and instant, correctly-shaped mock responses.
Real feedback from engineers, trainers and decision makers.
“Thrubit cut our Step Functions debugging cycle from 15 minutes per iteration down to seconds. The visual trace is worth the price alone. It’s become an essential part of our development workflow.”
“I was looking for ways to make Step Functions and Lambdas more tangible for students. Thrubit makes it significantly easier to visualize workflows and experiment locally, accelerating real understanding.”
“Thrubit saves us over $24k a year & protects us from surprise AWS bills. One rogue state machine once cost us 10x our typical month. With Thrubit, that risk is gone and our developers iterate faster.”