额外导入持续时间/分钟DSL工作

Sat*_*lam 5 gatling

以下是给我一个编译错误

setUp(
    scn.inject(
      constantUsersPerSec(10) during(30 seconds)
    )
 )
Run Code Online (Sandbox Code Playgroud)

在IDE中获得以下编译错误

Cannot resolve symbol seconds. 
Run Code Online (Sandbox Code Playgroud)

我在IntelliJ上运行gradle并且不将模拟复制到gatling文件夹.需要额外的进口吗?

Ste*_*lle 13

import scala.concurrent.duration._
Run Code Online (Sandbox Code Playgroud)