AWS Step Functions enhances the TestState API to support local unit testing of workflows, allowing you to validate your workflow logic, including advanced patterns like Map and Parallel states, without deploying state machines to your AWS account.
AWS Step Functions is a visual workflow service capable of orchestrating over 14,000+ API actions from over 220 AWS services to build distributed applications and data processing workloads. The TestState API now supports testing of complete workflows including error handling patterns in your local development environment. You can now mock AWS service integrations, with optional API contract validation that verifies your mocked responses match the expected responses from actual AWS services, helping ensure your workflows work correctly in production. You can integrate TestState API calls into your preferred testing frameworks such as Jest and pytest and CI/CD pipelines, enabling automated workflow testing as part of your development process. These capabilities help accelerate development by providing instant feedback on workflow definitions, enabling validation of workflow behavior in your local environment, and catching potential issues earlier in the development cycle.
The enhanced TestState API is available through the AWS SDK in all AWS Regions where Step Functions is available. For a complete list of regions and service offerings, see AWS Regions.
To get started, you can access the TestState API through the AWS SDK, AWS CLI, or check out the AWS Step Functions Developer Guide.
Categories: general:products/aws-govcloud-us,general:products/aws-step-functions,marketing:marchitecture/application-services
Source: Amazon Web Services
Latest Posts
- AWS Step Functions enhances Local Testing with TestState API

- Microsoft Teams: Interpreter agent support in Teams rooms on Windows [MC1188221]
![Microsoft Teams: Interpreter agent support in Teams rooms on Windows [MC1188221] 3 pexels fauxels 3183187](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Viva Engage: Behavior change to Engage “featured conversations” in public communities [MC1187849]
![Microsoft Viva Engage: Behavior change to Engage “featured conversations” in public communities [MC1187849] 4 pexels mikebirdy 381228](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Teams: Enhancements to Interpreter and multilingual meeting experience [MC1188227]
![Microsoft Teams: Enhancements to Interpreter and multilingual meeting experience [MC1188227] 5 pexels merlin 11137997](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![Microsoft Teams: Interpreter agent support in Teams rooms on Windows [MC1188221] 3 pexels fauxels 3183187](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-fauxels-3183187-150x150.webp)
![Microsoft Viva Engage: Behavior change to Engage “featured conversations” in public communities [MC1187849] 4 pexels mikebirdy 381228](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-mikebirdy-381228-150x150.webp)
![Microsoft Teams: Enhancements to Interpreter and multilingual meeting experience [MC1188227] 5 pexels merlin 11137997](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-merlin-11137997-150x150.webp)