katt icon indicating copy to clipboard operation
katt copied to clipboard

KATT (Klarna API Testing Tool) is an HTTP-based API testing tool for Erlang.

Results 12 katt issues
Sort by recently updated
recently updated
newest added

Fixes #84 As suggested in https://github.com/erlang/rebar3/issues/2682, use the rebar3 plugin: https://github.com/tsloughter/rebar3_neotoma_plugin * uses rebar3 plugin `rebar3_neotoma_plugin` * removes `priv/compile-parser` * moves `priv/katt_blueprint.peg` to `src/katt_blueprint.peg`, because rebar3_neotoma_plugin [checks](https://github.com/tsloughter/rebar3_neotoma_plugin/blob/master/src/rebar3_prv_neotoma_compile.erl#L40-L46) `peg` files in...

I was using a very old rebar3 version (3.13.0). During the recent days I wanted to try out 3.18.0. On this repository when I run `rebar3 eunit` katt_blueprint.erl is generated,...

in https://github.com/for-GET/katt/blob/master/src/katt.erl#L296 and output meaningful messages (e.g. the error code itself). Now it simply crashed because it doesn't match a katt_response record. example: `{error, econnrefused}`

bug

blueprint: POST ... { "transaction":"1", "big-chunk-input:":{ "small-chunk":"123",big-chunk:{"a":"1",....} } .. } BigChunk1}} .. } POST ... { "transaction":"2", "big-chunk-input":{{

enhancement

Use case: We are using KATT for api testing an http endpoint. But for some tests we first need to make sure that a resource exists (in this case a...

enhancement

Use case: Piping output to json will produce confusing error messages in case of e.g. a parse error in the katt script. Errors should be printed to stderr instead of...

enhancement

``` GET http://httpbin.org/cache > User-Agent: KATT < 200 < Content-Type: application/json { "foo": "{{>bar}}" } ``` The key `foo` does not exist so I would have assumed this would fail....

enhancement

after a failed rollercoaster in finding a load-testing tool (ab, httperf, siege, tsung, loader.io, loadimpact, ... , some others still to be investigated), I was thinking "how hard can it...

enhancement

Hi. I needed "smarter" KATT scenarios so I implemented a new step type that I call action. It allows you to write Erlang code as a step and it looks...