【问题标题】:Karate-Gatling: One request is not recorded空手道加特林:没有记录一个请求
【发布时间】:2019-04-22 13:08:07
【问题描述】:

没有记录rampUsers()的一个请求。

例如。当我做create.inject(rampUsers(10) during (5 seconds)).protocols(protocol)

Simulation mock.CatsKarateSimulation started...

================================================================================
2019-04-22 15:59:37                                           4s elapsed
---- Requests ------------------------------------------------------------------
> Global                                                   (OK=9      KO=0     )
> POST /cats                                               (OK=9      KO=0     )

---- create --------------------------------------------------------------------
[##########################################################################]100%
          waiting: 0      / active: 0      / done: 10
================================================================================

Simulation mock.CatsKarateSimulation completed in 4 seconds
15:59:42.512 [GatlingSystem-akka.actor.default-dispatcher-5] ERROR com.intuit.karate - http request failed: Ask timed out on [Actor[akka://GatlingSystem/user/karate-68#-1547527748]] afte
r [5100 ms]. Message of type [scala.concurrent.duration.FiniteDuration]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
Parsing log file(s)...
Parsing log file(s) done
Generating reports...

================================================================================
---- Global Information --------------------------------------------------------
> request count                                          9 (OK=9      KO=0     )
> min response time                                      6 (OK=6      KO=-     )
> max response time                                    153 (OK=153    KO=-     )
> mean response time                                    23 (OK=23     KO=-     )
> std deviation                                         46 (OK=46     KO=-     )
> response time 50th percentile                          7 (OK=7      KO=-     )
> response time 75th percentile                          8 (OK=8      KO=-     )
> response time 95th percentile                         95 (OK=95     KO=-     )
> response time 99th percentile                        141 (OK=141    KO=-     )
> mean requests/sec                                    1.8 (OK=1.8    KO=-     )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                             9 (100%)
> 800 ms < t < 1200 ms                                   0 (  0%)
> t > 1200 ms                                            0 (  0%)
> failed                                                 0 (  0%)
================================================================================

Reports generated in 1s.

应该记录 10 个响应。相反,我只收到 9 条回复。

另外,atOnceUsers() 不会发送请求或生成报告。我在https://github.com/intuit/karate/issues/721 阅读了这个问题,这些问题可能有关联。

【问题讨论】:

  • 嗨 - 我们刚刚进行了一些更改(查看您链接的问题)并认为我们已经解决了它,您能否验证并评论该票,谢谢!

标签: karate gatling-plugin


【解决方案1】:

是的,你可以从源代码构建,看看它是否解决了问题:

https://github.com/intuit/karate/wiki/Developer-Guide

编辑:我们觉得我们已经解决了这个问题,请参阅您链接的问题以了解详细信息:https://github.com/intuit/karate/issues/721

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-04-14
    • 1970-01-01
    相关资源
    最近更新 更多