Gatling scala gradle,如何设置 requestTimeout

问题描述

我正在使用 gatling gradle 插件,并且正在尝试增加默认超时时间。

这不起作用。 我不断得到

> i.g.h.c.i.RequestTimeoutException: Request timeout to localhos     47 (94,00%)
t/127.0.0.1:8080 after 60000 ms

我的 gatling.conf 是

gatling {
  core {

  http {
    pooledConnectionIdleTimeout = 600000       # Timeout in millis for a connection to stay idle in the pool
    requestTimeout = 1000000                    # Timeout in millis for performing an HTTP request
  }

  }
}

我试图破坏我的 gatling.conf 并建造废墟

/build/resources/gatling/gatling.conf: 8: Key 'qd  qw  qd  qd' may not be followed by token: 'core' (if you intended 'core' to be part of a key or string value,try enclosing the key or value in double quotes)

所以 gatling 确实尝试读取我的文件,但不想覆盖设置。

谁知道如何覆盖它?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)