tasty 0.9.6

A CLI that runs API tests defined and grouped in TOML files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Test response referencing feature
# The second test uses the token from the first test's response

[test_get_token]
method = "POST"
route = "auth/token"
payload = { client_id = "test_client" }
expect.http_status = 200
expect.response = { token_type = "Bearer" }

[test_use_token]
method = "GET"
route = "api/protected"
payload.auth_token = { from = "test_get_token", property = "access_token" }
expect.http_status = 200
expect.response = { status = "authorized" }