setUp(scn.inject(constantUsersPerSec(1500) during (10 seconds))).protocols(httpConf)
15:06:38.138 [WARN ] i.g.h.a.AsyncHandlerActor - Request 'shitload' failed: java.net.ConnectException: Address already in use: no further information
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
java.net.ConnectException: Address already in use: no further information |
package no.coop
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration._
class isAlive extends Simulation{
val httpConf = http
.baseURL("http://grointtst.intrano.shell:88")
.acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8")
.doNotTrackHeader("1")
.acceptLanguageHeader("en-US,en;q=0.5")
.acceptEncodingHeader("gzip, deflate")
.userAgentHeader("Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0")
val scn = scenario("isAliveSimulation")
.exec(http("shellload")
.get("/3mb.htm")
.check(regex("8.png")))
setUp(scn.inject(atOnceUsers(1))).protocols(httpConf)
//setUp(scn.inject(constantUsersPerSec(1500) during (10 seconds))).protocols(httpConf)
}
java.net.ConnectException: No buffer space available (maximum 4 ( 0,27%)connections reached?): connect