All changes to the GraphQL Test Tool (gtt) are documented here. Releases follow semantic versioning.
- Fixed incorrect error check.
- Add support for JSONPath for remembered variables.
- Add memory access for remembered variables.
- More display options for pretty format and SEN (from OjG) formatting.
- Updated go.mod to use the latest OjG.
- The OjG SEN format is now allowed for script files. This make reading the scripts very tolerant of JSON errors.
- Timeout option fixed.
- Allow variable replacement in headers and content with
$(var)
pattern.
- Options to set the expected response status code.
- Request timeout added.
- Headers can now be set on requests.
- Fixed display of use case filename when longer than 80 characters.
- Exact matches on element in a map can be achieved with use of
"*": null
indicating any element not explicitly called out must be eithernull
or not present.
- Include file option added.
- Step option
always
added which indicates the step should always be run even if the test has failed.
- Regular expressions can now be used to match non-string responses.
- Enable line-wise regex match when expecting strings
Sort nested arrays
- Nested arrays are now sorted when specified with a
sortBy
step option.
Add dockerfile to repository
Array limits bug fix (v1.0.6 wasn't picked up by go mod, bug in sum.golang.org)
- Check for array comparisons now check for length.
Test Reporting Improvements
- Displays mismatched values as part of error message when actual is not the same as expected.
Sorting
- Sort before displaying results instead of after.
Reorganize
- Folder and file layout so go.mod works as expected.
- Fixed support for comparing text responses.
Iniital release