问题
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