Ask HN: Best test automation tool for REST APIs

7 points by bradwood ↗ HN
Hi HN.

What are you guys using for testing REST apis as part of a CI pipeline? Anything out there good, and fast, that you particularly rate?

2 comments

[ 4.5 ms ] story [ 11.2 ms ] thread
In Java world we use Rest Assured within Spring Boot test suites. I wouldn't call it fast but really easy to work with, read and assert stuff.
Karate is a BDD tool for testing APIs. My experience with it is limited but positive. It’s probably your best option if you want to do BDD.

Other then that I used Python and the requests package, ugly but works great, and Newman the Postman command line utility with some JS test code.

https://github.com/karatelabs/karate