request
// if Location redirect is present
// ensure it is not the /security/not-eligible path
.check(
header("Location")
.transformOption( extract => extract match {
case None => Some(true)
case Some(x) => Some( ! x.contains( "/security/not-eligible" ) )
})
.is( true )
)Request 'login' failed: header(Location) transformOption.find(0).is(true), but actually found false
What I would really like to do is throw an error that says "Server redirected to /security/not-eligible". Is that doable?
I'd actually like to be able to customize more than just this message, but I'm using this as an example.
--
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.
What is the status of this issue? Is it implemented (rejected)?
--