constants users per second v request per second

Hi,

I am attempting to set a constant rate of 150 rps.

Here is a snippet of the test:


val scn = scenario(“Earth”)

.exec(addCookie(Cookie(“ForgeWWCVFCountryCode”, “us”)))
.exec(http(“earth”)
.get("""/earth""").check(status.is(200)))

setUp(scn.inject(
constantUsersPerSec(150) during(20.minutes)).protocols(httpProtocol))

The stats show my mean request rate of 300/sec. Does this mean that the cookie and get request are calculated as two separate requests?

Many Thanks

Aidy

Hi,

Apologies, it looks like redirects are counted as requests.

Aidy

Exactly what I was about to ask :slight_smile: