# Is there a way to include multiple sequential calls in a single exec()?

**URL:** <https://community.gatling.io/t/is-there-a-way-to-include-multiple-sequential-calls-in-a-single-exec/5484>\
**Category:** Gatling (Open-Source)\
**Created:** [February 10, 2020, 5:29am UTC](https://community.gatling.io/t/is-there-a-way-to-include-multiple-sequential-calls-in-a-single-exec/5484 "2020-02-10T05:29:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tenu\_Tensing](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@Tenu\_Tensing](https://community.gatling.io/u/Tenu_Tensing)\
**Post date:** [February 10, 2020, 5:29am UTC](https://community.gatling.io/t/is-there-a-way-to-include-multiple-sequential-calls-in-a-single-exec/5484/1 "2020-02-10T05:29:55Z")

</div>

Hi,  
Greetings everyone!

Is there any way to include multiple calls in a single exec(), such that they runs sequentially and we can capture data from each call and pass to the subsequent calls.

Regards,  
Tenu

---

<div class="post-metadata">

**Author:** ![vijayakumar\_eswaran](https://avatars.discourse-cdn.com/v4/letter/v/e19adc/32.png) [@vijayakumar\_eswaran](https://community.gatling.io/u/vijayakumar_eswaran)\
**Post date:** [February 10, 2020, 11:13am UTC](https://community.gatling.io/t/is-there-a-way-to-include-multiple-sequential-calls-in-a-single-exec/5484/2 "2020-02-10T11:13:32Z")

</div>

Hi Tenu,

I don’t think we can have multiple http requests in a single exec. but afaik, having sequence of exec with in a scenario gets called one after the other. hope it clarifies.

-Vijay

---

<div class="post-metadata">

**Author:** ![Tenu\_Tensing](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@Tenu\_Tensing](https://community.gatling.io/u/Tenu_Tensing)\
**Post date:** [February 10, 2020, 12:37pm UTC](https://community.gatling.io/t/is-there-a-way-to-include-multiple-sequential-calls-in-a-single-exec/5484/3 "2020-02-10T12:37:33Z")

</div>

Okay. Thanks Vijay!

Regards,  
Tenu

---

<div class="post-metadata">

**Author:** ![jarrowwx](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jarrowwx](https://community.gatling.io/u/jarrowwx)\
**Post date:** [February 13, 2020, 2:36pm UTC](https://community.gatling.io/t/is-there-a-way-to-include-multiple-sequential-calls-in-a-single-exec/5484/4 "2020-02-13T14:36:19Z")

</div>

You can also put an exec within an exec. So if you have an exec chain, like, returned from a function, and call that within an exec, it works perfectly.

---

<div class="post-metadata">

**Author:** ![Tenu\_Tensing](https://avatars.discourse-cdn.com/v4/letter/t/9d8465/32.png) [@Tenu\_Tensing](https://community.gatling.io/u/Tenu_Tensing)\
**Post date:** [February 14, 2020, 5:21am UTC](https://community.gatling.io/t/is-there-a-way-to-include-multiple-sequential-calls-in-a-single-exec/5484/5 "2020-02-14T05:21:25Z")

</div>

Thanks John!
