# One scenario with different bodies for each user

**URL:** <https://community.gatling.io/t/one-scenario-with-different-bodies-for-each-user/3651>\
**Category:** Gatling (Open-Source)\
**Created:** [April 1, 2017, 12:20am UTC](https://community.gatling.io/t/one-scenario-with-different-bodies-for-each-user/3651 "2017-04-01T00:20:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subhra\_Prakash\_Baner](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Subhra\_Prakash\_Baner](https://community.gatling.io/u/Subhra_Prakash_Baner)\
**Post date:** [April 1, 2017, 12:20am UTC](https://community.gatling.io/t/one-scenario-with-different-bodies-for-each-user/3651/1 "2017-04-01T00:20:44Z")

</div>

Hi,

I am new to gatling, I am trying to simulate a post request for n number of users. To every request, I am sending a JSON request body, using “.body(StringBody(\<\<JSON\_data\>\>)” function.

My requirement is: there is some part in the JSON request which is dynamic (a UUID) and need to be different for every user. I am not to figure out the correct API’s to accomplish this requirement.

Please advise.

Thanks  
Subhra

---

<div class="post-metadata">

**Author:** ![Subhra\_Prakash\_Baner](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Subhra\_Prakash\_Baner](https://community.gatling.io/u/Subhra_Prakash_Baner)\
**Post date:** [April 3, 2017, 7:09pm UTC](https://community.gatling.io/t/one-scenario-with-different-bodies-for-each-user/3651/2 "2017-04-03T19:09:30Z")

</div>

I figured this out. It was quiet simple. All we have to do it is to set Session attributes.
