zlacker

[parent] [thread] 2 comments
1. ptrtho+(OP)[view] [source] 2022-06-13 14:46:30
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.

replies(1): >>orlies+q81
2. orlies+q81[view] [source] 2022-06-13 19:42:06
>>ptrtho+(OP)
can't you use Newman to set up unattended tests?
replies(1): >>ptrtho+032
◧◩
3. ptrtho+032[view] [source] [discussion] 2022-06-14 02:48:01
>>orlies+q81
Yes in the case of Postman, you need a separate tool (Newman) to run headless or CI in the cloud. In Karate, there is no separate headless-runner, there is just one tool which includes the test-runner. This simplifies things.
[go to top]