Interactive Playground

Explore TestMesh flow examples. Select a scenario, read the YAML, then simulate execution.

Flow YAML

33 lines
flow.yaml
flow:
  name: "User Lifecycle"
  steps:
    - id: create_user
      action: http_request
      config:
        method: POST
        url: "https://api.example.com/users"
        body:
          name: "Alice"
          email: "alice@example.com"
      assert:
        - status == 201
        - body.id != ""
      output:
        user_id: $.body.id

    - id: get_user
      action: http_request
      config:
        method: GET
        url: "https://api.example.com/users/{{user_id}}"
      assert:
        - status == 200
        - body.name == "Alice"

    - id: delete_user
      action: http_request
      config:
        method: DELETE
        url: "https://api.example.com/users/{{user_id}}"
      assert:
        - status == 204

Execution Output

terminal

Click Run flow to simulate execution.

Ready to write your own flow?

This playground uses simulated output. Install TestMesh to run real flows against your own services.