# Configuring the base url per environment

**URL:** <https://community.gatling.io/t/configuring-the-base-url-per-environment/1777>\
**Category:** Gatling (Open-Source)\
**Created:** [December 3, 2014, 5:35am UTC](https://community.gatling.io/t/configuring-the-base-url-per-environment/1777 "2014-12-03T05:35:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![govin](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@govin](https://community.gatling.io/u/govin)\
**Post date:** [December 3, 2014, 5:35am UTC](https://community.gatling.io/t/configuring-the-base-url-per-environment/1777/1 "2014-12-03T05:35:13Z")

</div>

I want to configure the base url used in the simulations based on the environment I’m running the test against.

Is there a way to pass additional information to the gatling.sh file (such as environment) and read that information from the simulation file so that I can decide on the base url using that?

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [December 3, 2014, 6:27am UTC](https://community.gatling.io/t/configuring-the-base-url-per-environment/1777/2 "2014-12-03T06:27:31Z")

</div>

Please have a look at the “Passing Parameters” in the documentation’s Cookbook section.
