Skip to content

Fix output issues on Rollback

Latest
Compare
Choose a tag to compare
@kyp76 kyp76 released this 04 Apr 11:35
· 1 commit to master since this release

Capability to use output values during a Rollback scenario

See the example, now it is working

 result = spintest(
        ["http://test.com"],
        [
            {
                "method": "GET",
                "route": "/test",
                "output": "test_output",
                "expected": {"code": 400},
                "rollback": ["test_rollback"],
            },
            {
                "name": "test_rollback",
                "method": "DELETE",
                "route": "/test/{{ test_output['id'] }}",
                "expected": {"code": 201},
            },
        ],
    )