Tables
Tables are useful for testing data variability.
Let's see the example.
Request condition: path.userId
Response variable: table.userName
Response variable: table.age
1
Foo
35
2
Bar
100
3
Baz
3
Create manifest with following rule.
The stub will return the following response on the request GET /users/1
:
And on the request GET /users/2
:
Last updated