# Gatling simulation not reproducible in container

**URL:** <https://community.gatling.io/t/gatling-simulation-not-reproducible-in-container/6376>\
**Category:** Gatling (Open-Source)\
**Created:** [January 6, 2022, 12:39pm UTC](https://community.gatling.io/t/gatling-simulation-not-reproducible-in-container/6376 "2022-01-06T12:39:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stef\_Joosten](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@Stef\_Joosten](https://community.gatling.io/u/Stef_Joosten)\
**Post date:** [January 6, 2022, 12:39pm UTC](https://community.gatling.io/t/gatling-simulation-not-reproducible-in-container/6376/1 "2022-01-06T12:39:20Z")

</div>

I’m trying to reproduce my gatling simulation inside a docker container. However I get different results.

Without containers I get a correct simulation, while using openjdk version “17.0.1” 2021-10-19 and gatling version 3.7.2:

```auto

GATLING_HOME is set to /Users/sjo00577/git/RAP/gatling-3-7-2
RAPtest is the only simulation, executing it.
Select run description (optional)
12:42:47.629 [WARN] i.g.c.s.e.ElCompiler$ - You're still using the deprecated ${} pattern for Gatling EL. Please use to the #{} pattern instead.
n=67 offset=0 test=true char=/
n=67 offset=67 test=false char=/
n=83 offset=76 test=true char=/

<leaving out a large chunk of log file, picking up on results to show that it has worked>
```

---

<div class="post-metadata">

**Author:** ![hbellat](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hbellat](https://community.gatling.io/u/hbellat)\
**Post date:** [January 6, 2022, 1:44pm UTC](https://community.gatling.io/t/gatling-simulation-not-reproducible-in-container/6376/2 "2022-01-06T13:44:03Z")

</div>

Hello,

How can I run with maven gatling:test severals gatling tests ?

Many thanks

---

<div class="post-metadata">

**Author:** ![Stef\_Joosten](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@Stef\_Joosten](https://community.gatling.io/u/Stef_Joosten)\
**Post date:** [January 6, 2022, 2:26pm UTC](https://community.gatling.io/t/gatling-simulation-not-reproducible-in-container/6376/3 "2022-01-06T14:26:02Z")

</div>

Dear [hbe...@gmail.com](mailto:hbe...@gmail.com), I have never worked with maven, so I don’t know the answer to your question. My original question is about running gatling without containers (straight from the CLI of my laptop) versus running gatling from a docker container. In both cases without maven.  
Yours,  
Stef Joosten ([stef.joosten@gmail.com](mailto:stef.joosten@gmail.com))
