I am trying to enrich the Ws class with a new method but having a little difficulty understanding how to solve this error:
`
No implicit view available from io.gatling.core.session.Session => io.gatling.commons.validation.Validation[String]
`
Code is:
`
class MySimulation extends Simulation {
implicit class MoreWs(ws: Ws) {
def sendText2(text: Expression[String])(implicit requestName: Expression[String], wsName: String) = new WsSendBuilder(requestName, wsName, text.map(TextMessage))
}
}
`
I tried adding f: (Session => Validation[String]) in the implicit parameters but that didn’t help.