I have following exec call for logging in:
.feed(csv(“gsw_credentials.csv”))
.exec(
http(“Post request with login credentials”)
.post("/user/login")
.basicAuth(“ddt”,“cyanl0c0”)
.param(“username”, “${username}”)
.param(“password”, “${password}”)
.check(status.is(200)))
What should be the check added to check that the login is successful? As after login, “Sign out” link is displayed, I added following check in above exec call, but it failed.
.check(regex(“Sign out”).find(1).exists))