Adding support in the paths to support templates. If the path contains something like:
/api/v1/${dynamicElement}/
In this case, the dynamicElement
will be replaced, if it exists in the ScenarioContext.
Support for adding static key/value pairs to the context:
Adding support for the JSON path to the "I set the value of" sentence. It now also tries to resolve the value from the ScenarioContext. If nothing is found, it uses the original value.
Adding support for JSON path to the "I store" sentence.
The JSON path can be used with:
$.firstElement[3].nextElement
The library detects, if the path has the prefix $.
. If it is not available, it adds this prefix.
- Adding support for adding and manipulating headers.
- Restructured the documentation: HTTP Methods have now their own md files.
- Adding support for JSON matcher which can compare to values in the ScenarioContext. More information: README.md#json-unit
- Adding support for own custom matcher. More information: README.md#extension-of-json-unit-matcher
- Correction of the sentence
^that the body of the response is$
to^that the body of the request is$