Karate framework - mock server define thread pool

て烟熏妆下的殇ゞ 提交于 2021-02-05 08:13:11

问题


I'm using karate framework for load testing and ruining mock server using following command with -T option to achive higher tps and it seems it is not effected and its always run 8 threads which is number of cores in the server.

  java -jar karate-0.9.5.RC5.jar -T 100 -m featurefilename.feature -p 8080

Kindly help to define thread pool count for the karate mock server.


回答1:


This is not currently supported. I can also confirm that this is not a priority for the project. You are welcome to contribute code, the relevant part is here: FeatureServer.java.



来源:https://stackoverflow.com/questions/61675202/karate-framework-mock-server-define-thread-pool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!