p.kop15
p.kop15

Reputation: 35

Does Karate DSL Framework has the capability of performing load testing

Currently, we've automated all of our web services using the Karate framework and it is super cool.Is there any way we can do the load testing with this tool? Example: Given when I enroll a member 1000 times Then the average response time should be 2.7 milliseconds

Upvotes: 2

Views: 2295

Answers (2)

Vivek Sr
Vivek Sr

Reputation: 21

Yesterday as part of my POC work w.r.t API demonstrated Karate in my office people were very much impressed. thanks for Karate team.

Upvotes: 1

Peter Thomas
Peter Thomas

Reputation: 58088

I'm the developer of Karate and it is great to hear this feedback, thanks !

Karate was not designed for load-testing - but we would like to support it in the future. But it is not a priority now, and there are things like mocking we want to get to sooner which we feel is a more critical need for many teams.

If you or the community would be willing to investigate and contribute, that would be great. One experiment I can think of is using the Java API try to create multiple threads and run a *.feature file.

EDIT: Karate now has Gatling integration: https://github.com/ptrthomas/karate-gatling-demo

Upvotes: 7

Related Questions