KATT (Klarna API Testing Tool) Is an HTTP-Based API Testing Tool for Erlang
github.com
github.com
[1]: https://hurl.dev
Also, would you be able to take a look at Step CI and tell me what you think about it, especially in comparison to Hurl?
https://github.com/stepci/stepci
It could be that Step CI already has the feature you're looking for!
If hurl had something like an import feature, one could re-use HTTP requests. For example, one could create a file that logs into the service and use it in all other tests. It doesn't support that, so the only option you have is to re-write the login in every test _or_ build a script that outputs that. There is an open issue for that: https://github.com/Orange-OpenSource/hurl/issues/115
https://docs.stepci.com/guides/organising-tests.html
We will also support reusable sessions/credentials soon
also, the name is misleading, the project is not made by Klarna
"Despite the "Klarna" mention, this repository is not affiliated with Klarna AB. KATT was indeed born at Klarna, and Klarna AB holds copyright for parts of the code, but it is now being maintained outside the company, by its original authors and new contributors."
Do they have a permission to redistribute the code?
This all feels legally complicated
The License and notice files appear to be sufficient to understand the situation and there's really not a lot going on. The licensing files indicate that Klarna AB holds copyrights in the code (with some others mentioned) and that it is all licensed under Apache 2.0.
Naturally, the license related files in the repo can be inaccurate or incomplete. But when dealing with open source software you have to pick a point where you're going to trust these kinds of representations from strangers.
"Have you tested this API?"
"Yes, I used Katt"
"Cat? You mean netcat or curl"
cut - IPA(key): /kʌt/
https://en.wiktionary.org/wiki/cut#Pronunciation
katt - IPA(key): /ˈkatː/
https://en.wiktionary.org/wiki/katt#Pronunciation_3
(there's audio on both links)
I've had this happen before, where some tool or technology sounds like another tool. Combine that with people with varying accents, and you can quickly devolve into frustrating conversations.
"Okay, so the Foo system is having problems. Mary said they tested it using some cat scripts. Can we get Mary to share those, as we're unable to reproduce it"
(some time later)
"Oh, so Mary was using Katt with a K and not cat with a C."