Hi…I’m just trying the samples in the doc and in other sites than I found but I get error with this line
setUp(scenario1.users(10))
seems than scenario1 has not any users method…
my escenario is pretty simple
val scenario1 = scenario("Test time!!!")
.repeat(10) {
exec(
http("Home page")
.get("http://localhost:8080/")
.check(status.is(200))
)
}
using google I found this other way
setUp(scenario1
.inject(rampRate(100 usersPerSec) to(1000 usersPerSec) during new FiniteDuration(10, SECONDS)))
compiles fine but I get this error when I run
i.g.h.a.AsyncHandlerActor - Request ‘Home page’ failed : Too many open files
thanks!!