# One simulation but two baseurls

**URL:** <https://community.gatling.io/t/one-simulation-but-two-baseurls/6161>\
**Category:** Gatling (Open-Source)\
**Created:** [June 22, 2021, 1:49pm UTC](https://community.gatling.io/t/one-simulation-but-two-baseurls/6161 "2021-06-22T13:49:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Gedlek](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@Robert\_Gedlek](https://community.gatling.io/u/Robert_Gedlek)\
**Post date:** [June 22, 2021, 1:49pm UTC](https://community.gatling.io/t/one-simulation-but-two-baseurls/6161/1 "2021-06-22T13:49:12Z")

</div>

Hi,  
Is it possible to do a simulation that tests two different applications (but at the backend level having common elements and influence on each other)? Each application has different baseUrls, but I would like to simulate using them in one simulation. Theoretically, I could have two simulations fired in parallel and maybe that would be a better approach. What are your opinions?

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [June 22, 2021, 2:56pm UTC](https://community.gatling.io/t/one-simulation-but-two-baseurls/6161/2 "2021-06-22T14:56:10Z")

</div>

You can execute multiple concurrent scenarios with different protocols in the same simulation, see [https://gatling.io/docs/gatling/reference/current/general/scenario/#protocol-definition](https://gatling.io/docs/gatling/reference/current/general/scenario/#protocol-definition).

setUp(  
scn1.inject(profile1).protocols(httpProtocol1),  
scn2.inject(profile2).protocols(httpProtocol2)

)
