{"repo":"for-GET/katt","free":true,"listed":false,"github":"https://github.com/for-GET/katt","clone":"git clone https://github.com/for-GET/katt.git","description":"KATT (Klarna API Testing Tool) is an HTTP-based API testing tool for Erlang.","language":"Erlang","stars":124,"topics":["erlang","api","http","test","har"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"KATT [![Build Status][2]][1] [Docs][3] KATT (Klarna API Testing Tool) is an HTTP-based API testing tool for Erlang, , though it can work just as well as a CLI tool. Use for shooting HTTP requests in a sequential order and verifying the response. Any relevant difference between expected and actual responses will cause a failure. Install from git or https://hex.pm/packages/katt . For convenience, available as a Docker image too: docker run --rm -it -v $PWD:$PWD -w $PWD ysoftwareab/katt ... . And whalebrew package: brew install whalebrew && sudo whalebrew install ysoftwareab/katt; katt ... Quick start on KATT and APIB files Example An example is worth a 1000 words. Have a look! Params If some values are static (constants) and you want to reuse them across multiple requests, you can add one or more params like below Validator The builtin validator supports basic text validation more advanced validation of HTTP headers JSON validation application/json , application/ +json URL-encoded validation application/x-www-form-urlencoded Tags The validator makes use of a few tags with special meaning: \"{{ }}\" Match anything including undefined (i.e. no real validation). \"{{expected}}\" Match anything but undefined (i.e. no real validation, only check existence). \"{{unexpected}}\" Match nothing (i.e. no real validation, only check lack of existence) \"{{ key}}\" Store value of the whole string (key must be unique within testcase) \"{{<key}}\" Recall stored value. The \"{{ }}\" tag can also be used a","default_branch":null,"files":null,"tree":[],"storefront":"/r/for-GET","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/for-GET/katt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}