# How can exit a scenario when I reach a certain point?

**URL:** <https://community.gatling.io/t/how-can-exit-a-scenario-when-i-reach-a-certain-point/5815>\
**Category:** Gatling (Open-Source)\
**Created:** [September 24, 2020, 4:18pm UTC](https://community.gatling.io/t/how-can-exit-a-scenario-when-i-reach-a-certain-point/5815 "2020-09-24T16:18:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ito](https://avatars.discourse-cdn.com/v4/letter/i/ec9cab/32.png) [@Ito](https://community.gatling.io/u/Ito)\
**Post date:** [September 24, 2020, 4:18pm UTC](https://community.gatling.io/t/how-can-exit-a-scenario-when-i-reach-a-certain-point/5815/1 "2020-09-24T16:18:21Z")

</div>

So I’d like to achieve something similar to the example below, in other words  
exit the scenario when the user reached this point.

.exec(somthing)  
.exec(somthing2)  
.exec(something3)  
.exitHere

Gatling docs states that .exitHere is a valid component but it is not available on  
my Gatling 3.4. What am I missing?

Thank you

 ![Screen Shot 2020-09-24 at 19.17.36.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/69e235027ea5f1a41fab36181d24305a9d43f3de.png)
