StackTrace:
12:36:24.036 [main] ERROR io.gatling.app.Gatling$ - Run crashed
akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://GatlingSystem/user/gatling-controller#1966422103]] after [2147473647 ms]. Message of type [io.gatling.core.controller.ControllerCommand$Start]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
at akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:635)
at akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:650)
at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:205)
at akka.actor.LightArrayRevolverScheduler$TaskHolder.run(LightArrayRevolverScheduler.scala:337)
at akka.actor.LightArrayRevolverScheduler.$anonfun$close$1(LightArrayRevolverScheduler.scala:141)
at akka.actor.LightArrayRevolverScheduler.$anonfun$close$1$adapted(LightArrayRevolverScheduler.scala:140)
我的功能文件包含7个api端点,它们可以作为单独的功能正常运行,但带有加特林给出的错误。 我是加特林人的新手,所以无法确定原因。 下面是我的.scala文件的样子
val protocol: KarateProtocol = karateProtocol(
"/billingAccounts/summaries" -> pauseFor("get" -> 15),
"/billingMonths" -> Nil,
"/billingAccounts" -> Nil)
val customerProtocol: KarateProtocol = karateProtocol(
"/customerBills/unpaid" -> Nil,
"/customerBills/paid/{year}/{month}" -> Nil,
"customerBills/paymentOrders?billId={id}" -> Nil,
"/customerBills/processing" -> Nil)
val billing: ScenarioBuilder = scenario("CustomerBill").exec(karateFeature("classpath:bff/customerBill/CustomerBill.feature"))
val customerBill: ScenarioBuilder = scenario(scenarioName = "billing").exec(karateFeature("classpath:bff/customerBill/CustomerBill.feature"))
setUp(
billing.inject(rampUsers(10) during (60 seconds)).protocols(protocol),
customerBill.inject(rampUsers(10) during (60 seconds)).protocols(customerProtocol)
)
after(
Thread.sleep(1000)
)
有人知道我在做什么错吗