zlacker

[return to "Launch HN: Karate Labs (YC W22) – Open-Source API and UI Test Automation"]
1. orlies+eg[view] [source] 2022-06-13 14:11:16
>>ptrtho+(OP)
How does it compare to Postman or Stoplight for testing your APIs?
◧◩
2. ptrtho+ao[view] [source] 2022-06-13 14:46:30
>>orlies+eg
Postman is a "UI driven" tool, it is great for exploratory testing of APIs and sharing the knowledge on how you call an API (e.g. collections) with others.

But Karate tests are scripts that can be checked into version-control just like any other code in your team.

Karate allows you to write hybrid tests, which means you can switch between API calls and UI actions within the same test script. You can also re-use API tests as performance tests with Karate. Tests are executed in parallel and you get a single HTML report.

Finally, in my opinion - the assertions that Karate gives you out of the box for complex JSON payloads are hard to beat.

[go to top]