# Use parameter in Json file

**URL:** <https://community.gatling.io/t/use-parameter-in-json-file/5641>\
**Category:** Gatling (Open-Source)\
**Created:** [May 28, 2020, 4:06pm UTC](https://community.gatling.io/t/use-parameter-in-json-file/5641 "2020-05-28T16:06:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_Barto](https://avatars.discourse-cdn.com/v4/letter/e/4da419/32.png) [@El\_Barto](https://community.gatling.io/u/El_Barto)\
**Post date:** [May 28, 2020, 4:06pm UTC](https://community.gatling.io/t/use-parameter-in-json-file/5641/1 "2020-05-28T16:06:21Z")

</div>

Hello

During a test, in one “.exec” i save a value using a saveas(“important”)

In the next “exec” i need to send a request using .body(RaxFileBody(“file.json”)) but in this json file in need to use the parameter ${important} juste save before

Is this a way to do it ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ramanbatra](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@ramanbatra](https://community.gatling.io/u/ramanbatra)\
**Post date:** [May 28, 2020, 5:24pm UTC](https://community.gatling.io/t/use-parameter-in-json-file/5641/2 "2020-05-28T17:24:33Z")

</div>

Instead of using RawFileBody use ElFileBody and it will work.
