Suresh Raja
Suresh Raja

Reputation: 421

Custom error message for gatling assertions

How to add a custom error message for gatling assertions

Current Behavior:-

details("My Scenario").requestsPerSec.between(20, 25)

The above code allows validating the requests per second but unable to pass a custom message when assertion fails . (Like the assertions in Junit libraries)

Upvotes: 1

Views: 284

Answers (1)

Stéphane LANDELLE
Stéphane LANDELLE

Reputation: 6608

That's not possible as of current version (3.6.1). Contributions welcome.

Upvotes: 1

Related Questions