how to load more requests per second in karate gatling

后端 未结 1 861
天命终不由人
天命终不由人 2020-12-11 11:18

I am trying to reuse karate scripts and perform load testing using gatling. The scenario defined is to load constant 50 users per second for 10 seconds. (To load test 500 us

相关标签:
1条回答
  • 2020-12-11 11:27

    We updated the docs (in the develop branch) with tips on how to increase the thread-pool size if needed: https://github.com/intuit/karate/tree/develop/karate-gatling#increasing-thread-pool-size

    Add a file called gatling-akka.conf to the root of the classpath (typically src/test/resources). Here is an example:

    akka {
      actor {
        default-dispatcher {
          type = Dispatcher
          executor = "thread-pool-executor"
          thread-pool-executor {
            fixed-pool-size = 100
          }
          throughput = 1
        }
      }
    }
    

    Since we made some fixes recently, please try to build from source if the above does not work for 0.9.6.RC4, it is easy, here are the instructions: https://github.com/intuit/karate/wiki/Developer-Guide

    If that does not work, it is important that you follow this process so that we can replicate: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

    0 讨论(0)
提交回复
热议问题