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
- (Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013]
![(Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013] 2 pexels pixabay 462162](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410]
![Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410] 3 pexels ketut subiyanto 4350217](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404]
![Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404] 4 pexels eye4dtail 122308](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Purview compliance portal: View-only role management enhancements [MC1403403]
![Microsoft Purview compliance portal: View-only role management enhancements [MC1403403] 5 pexels pixabay 269063](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft Viva Engage: Flexible targeting of Storyline Announcements [MC1183013] 2 pexels pixabay 462162](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-462162-150x150.webp)
![Microsoft Viva: Agent flexible query in Analytics Workbench [MC1403410] 3 pexels ketut subiyanto 4350217](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-ketut-subiyanto-4350217-150x150.webp)
![Update to Microsoft Enterprise Content Delivery Network (eCDN) analytics data retention (360 days to 180 days) [MC1403404] 4 pexels eye4dtail 122308](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-eye4dtail-122308-150x150.webp)
![Microsoft Purview compliance portal: View-only role management enhancements [MC1403403] 5 pexels pixabay 269063](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-pixabay-269063-150x150.webp)
