Fail simulation if check failed

41 views
Skip to first unread message

Maksym Max

unread,
Jun 21, 2017, 9:28:39 AM6/21/17
to Gatling User Group
Is there is a way to get simulation failed when some check is failed?
For now we are trying to combine Gatling functionality in order perform not only Performance tests but also a functional test to check some data from REST API
In order to this case should be useful to have one simulation for scenario and fail it when some check is failed (to have an ability see this in Jenkins report.

Max Novikov

unread,
Jun 21, 2017, 9:48:20 AM6/21/17
to Gatling User Group
Have you tried exitHereIfFailed("If there were an error during execution, the scenario should stop at this point." - from Gatling cheatsheet)?

среда, 21 июня 2017 г., 16:28:39 UTC+3 пользователь Maksym Max написал:

Maksym Max

unread,
Jun 23, 2017, 4:25:47 AM6/23/17
to Gatling User Group
Yes, but build is still success 
Reply all
Reply to author
Forward
0 new messages