# Recorded Simulation issue

**URL:** https://community.gatling.io/t/recorded-simulation-issue/7018
**Category:** Gatling (Open-Source)
**Tags:** gatling-academy
**Created:** [August 3, 2022, 2:43pm UTC](https://community.gatling.io/t/recorded-simulation-issue/7018 "2022-08-03T14:43:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sandeep21](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@Sandeep21](https://community.gatling.io/u/Sandeep21)
#### Post date: [August 3, 2022, 2:43pm UTC](https://community.gatling.io/t/recorded-simulation-issue/7018/1 "2022-08-03T14:43:24Z")

</div>

I have creating simulation by using recording feature. I am getting compile time error in the generated simulation class. Please refer the sample below.

ScenarioBuilder scn = scenario(“DemoSimulation”) // ‘.’ operator is missing  
exec(  
http(“request\_0”)  
.get(“/path”)  
);

If I manually insert the ‘.’ operator, its working fine but it should be generated automatically. I am also attaching the screenshot.

I am using gatling-charts-highcharts-bundle-3.8.2 for recording.

 ![recording _simulation issue](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/203eeac7a2e7372056859294bc7b001e172f3a07.png)

---

<div class="post-metadata">

### Author: ![GeMi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gemi/32/939_2.png) [@GeMi](https://community.gatling.io/u/GeMi)
#### Post date: [August 3, 2022, 3:39pm UTC](https://community.gatling.io/t/recorded-simulation-issue/7018/2 "2022-08-03T15:39:24Z")

</div>

It’s a Issue for that:

> <https://github.com/gatling/gatling/issues/4288>
>
> Step to reproduce : 
> 
> 1- launch the recorder ./recorder.sh
> 2- select HAR
> 3- …upload sandboxFinanceHAR.har
> 4- select Java17 (or Java8, Java11, Scala, Kotlin)
> 4- check output simulation
> 
> The simulation output miss the dot "." on the first exec, which triggers a compilation error when running the simulation.
> 
> Testing on gatling sample \*\*3.8.2\*\*
> Java SDK : \*\*openjdk version "17.0.3" 2022-04-19\*\*
> 
> Exemple of HAR file : 
> \[sandboxFinanceHAR.har.txt\](https://github.com/gatling/gatling/files/9138489/sandboxFinanceHAR.har.txt)
> 
> Exemple of Simulation output (Java 17) : 
> \[Java17RecordedSimulation.java.txt\](https://github.com/gatling/gatling/files/9138501/Java17RecordedSimulation.java.txt)
> 
> Gatling recorder conf : 
> \[recorder.conf.txt\](https://github.com/gatling/gatling/files/9138567/recorder.conf.txt)
> 
> \`\`\`
> private ScenarioBuilder scn = scenario("Java17RecordedSimulation")
> exec(
> http("request\_0")
> .get("/api/crypto/symbols/")
> .headers(headers\_0)
> )
> .pause(12)
> .exec(
> http("request\_1")
> .get("/api/crypto/marketcap/min/BTC")
> .headers(headers\_0)
> )
> \`\`\`

Try version 3.8.3 - It’s available from yesterday and should have fix for that 🙂

---

<div class="post-metadata">

### Author: ![Sandeep21](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@Sandeep21](https://community.gatling.io/u/Sandeep21)
#### Post date: [August 5, 2022, 2:54am UTC](https://community.gatling.io/t/recorded-simulation-issue/7018/3 "2022-08-05T02:54:08Z")

</div>

Thank you GeMi, I will try using the latest version and will let you know if it is working or not.
