Skip to content

Releases: programmfabrik/apitest

New template func "log", more time logging

18 Mar 13:57
Compare
Choose a tag to compare
  • New template function "log"
  • Output body size + body loading time + request time in log

Renamed "file" to "file_render", added new "file"

10 Feb 16:16
c97252d
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v1.5.0...v1.6.0

Output total runtime when done

02 Dec 17:23
9b31022
Compare
Choose a tag to compare
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

30 Sep 09:35
Compare
Choose a tag to compare

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

28 Sep 07:27
Compare
Choose a tag to compare

We added the Sprig template library in version 3.

shorter --short log

23 Sep 14:16
Compare
Choose a tag to compare
v1.2.9

Fixed  --short format output: Added newline

Custom template delimiters

02 Sep 10:39
c34388e
Compare
Choose a tag to compare
custom template delimiters (#62)

* custom template delimiters

* added token removals

:control gets a "depth"

23 Aug 14:48
7775886
Compare
Choose a tag to compare

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

30 Jul 07:55
Compare
Choose a tag to compare
  • 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

29 Jul 15:47
04d93f2
Compare
Choose a tag to compare
  • It adds short logs as an option (see README)
  • It sets rather than add header with header_from_store, array still supported