添加“思考”后获得“ NAN”

时间:2020-01-25 15:41:26

标签: artillery

基本上,我正在尝试将执行暂停10秒钟。在两个阶段之间。所以我尝试了以下代码:

config:
  target: 'https://reqres.in'
  phases:
    - duration: 120
      arrivalRate: 20
    - duration: 60
      arrivalRate: 10
      rampTo: 20
scenarios:
  - flow:
    - post:
        url: "/api/users"
        json:
          name: "Harley"
          job: "Software Engineer"
    - think: 10
    - post:
        url: "/api/users"
        json:
          name: "Harley"
          job: "Software Engineer"

我在NaN下得到Scenario duration

enter image description here

但是,如果我删除- think: 10,就可以了。

enter image description here

我该如何解决?

0 个答案:

没有答案
相关问题