1

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.

someone
  • 6,577
  • 7
  • 37
  • 60

1 Answers1

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.

Peter Thomas
  • 54,465
  • 21
  • 84
  • 248
  • Thank you I was trying to modify source code. I got source from github and it seems KarateParserBaseListener is missing on that package com.intuit.karate.core and unable to build it – someone May 08 '20 at 11:05
  • 1
    @someone please refer this: https://github.com/intuit/karate/wiki/Developer-Guide – Peter Thomas May 08 '20 at 11:05
  • I increased size of worker group and it resolved. Thank you – someone May 08 '20 at 14:18