Releases: programmfabrik/apitest
New template func "log", more time logging
- New template function "log"
- Output body size + body loading time + request time in log
Renamed "file" to "file_render", added new "file"
The new "file" template function loads only the bytes of the file (as string) without further processing. "file_render" now does what "file" did before and that is calling the Go template engine to render the contents of the passed file as template. This was done for performance reasons as loading a file and passing it to the Go template engine if no processing is required can slow down tests quite a biit.
What's Changed
- using break and collect responses format by @unai-programmfabrik in #63
- don't overwrite format if unset (see #63710) by @mad-pf in #71
New Contributors
Full Changelog: v1.5.0...v1.6.0
Output total runtime when done
Merge pull request #70 from programmfabrik/output_total_runtime added output of total runtime after all tests are done
New manifest.request.no_redirect parameter
The new parameter no_redirect
can be used to instructed API test to not follow location responses but return the process response instead.
Added Sprig Template functions
We added the Sprig template library in version 3.
shorter --short log
v1.2.9 Fixed --short format output: Added newline
Custom template delimiters
custom template delimiters (#62) * custom template delimiters * added token removals
:control gets a "depth"
With the new "depth" feature, a set of :control
can be defined for multiple depths level. Before the :control
would only work on the level where it was defined.
oauth: allow unconfigured clients
- Allow unconfigured clients for oauth, the template functions return an in place error now, so template do render with unconfigured clients
- Added "Makefile" target "build-linux" to build. This builds a linux/amd64 binary
Short logs and header set change
- It adds short logs as an option (see README)
- It sets rather than add header with
header_from_store
, array still supported