Hello,
I am looking to the https://github.com/jagregory/gatling/blob/master/gatling-protodemo/src/main/scala/com/thoughtworks/gatling/action/PingAction.scala example to understand how to implement a custom protocol in Gatling.
In case my operation is asynchronous, what’s the correct way of reporting errors?
Should I do something
myAction onComplete {
success => DataWriter.logRequest(“success”)
next ! session
failure => DataWriter.logRequest(“Failure”)
next ! session
}
Regards
Edmondo