Testing and debugging Step Functions state machines - Amazon Step Functions
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Testing and debugging Step Functions state machines

Step Functions provides different ways to test and debug state machines. You can:

  • Test and debug your state machines in the console

    You can design, implement, and debug workflows in the Step Functions console. For more information, see Using data flow simulator to test data flow in Step Functions.

  • Use the TestState API to test an individual state.

    Using the TestState API, you provide the definition of a single state and execute it. You can test a single state without creating a state machine or updating an existing state machine.

  • Use Step Functions Local to test state machines locally.

    Step Functions Local is a downloadable version of Step Functions that lets you develop and test applications using a version of Step Functions running in your own development environment. With Step Functions Local, you can run your state machines to test their input and output data flows, integrations with supported services, and more in your local development environment.