diff --git a/README.md b/README.md index 3ad27713..7dded648 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Note that you can also add environment variables in the your configuration file Here are some examples of conditions you can use: -| Condition | Description | Values that would pass | Values that would fail | +| Condition | Description | Passing values | Failing values | | ------------------------------------- | ----------------------------------------- | ------------------------ | ----------------------- | | `[STATUS] == 200` | Status must be equal to 200 | 200 | 201, 404, 500 | | `[STATUS] < 300` | Status must lower than 300 | 200, 201, 299 | 301, 302, 400, 500 | @@ -51,7 +51,9 @@ Here are some examples of conditions you can use: | `[STATUS] > 400` | Status must be greater than 400 | 401, 402, 403, 404 | 200, 201, 300, 400 | | `[RESPONSE_TIME] < 500` | Response time must be below 500ms | 100ms, 200ms, 300ms | 500ms, 1500ms | | `[BODY] == 1` | The body must be equal to 1 | 1 | literally anything else | -| (beta) `[BODY].data.id == 1` | The jsonpath `$.data.id` is equal to 1 | `{"data":{"id":1}}` | literally anything else | +| `[BODY].data.id == 1` | The jsonpath `$.data.id` is equal to 1 | `{"data":{"id":1}}` | literally anything else | + +**NOTE**: `[BODY]` with JSON path (i.e. `[BODY].id == 1`) is currently in BETA. For the most part, the only thing that doesn't work is arrays. ## Docker