Hi,
I have the following script:
val scn = scenario(“Home Page”).repeat(1) {
.exec(http(“Clearance Data”).get("/api/clearance").check(status.is(200))
.exec(http(“User Data”).get("/api/users").check(status.is(200))
.exec(http(“Profiles”).get("/api/profiles").check(status.is(200))
)
}
When I run the above code, the first call is taking around 6 secs, whereas the actual time taken by it is 200ms when I run it through Curl. Also the API is not the issue. If I change the order, same thing happens. So the very first call is causing problem, is that the behaviour or I have written some wrong code.