空手道DSL框架是否具有执行负载测试的能力 [英] Does Karate DSL Framework has the capability of performing load testing
问题描述
当前,我们已经使用Karate框架实现了所有Web服务的自动化,这非常酷.是否有任何方法可以使用此工具进行负载测试?示例:当我注册成员1000次时给出那么平均响应时间应该是2.7毫秒
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
推荐答案
我是Karate的开发人员,很高兴听到此反馈,谢谢!
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.
如果您或社区愿意调查并做出贡献,那就太好了.我能想到的一个实验是使用 Java API 尝试创建多个线程并运行一个 *.feature
文件.
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.
空手道现在具有Gatling集成: https://github.com/ptrthomas/karate-加特林演示
Karate now has Gatling integration: https://github.com/ptrthomas/karate-gatling-demo
这篇关于空手道DSL框架是否具有执行负载测试的能力的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!