What check can be used in Gatling 1 to verify that login is successful?

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))

This completely depends on your application.
Gatling works at the HTTP level, so you should check out the HTTP response from Firebug or Google Chrome dev tool and check against what you find there.

That helps, Thanks.