# Simulated requests especially POST requests are missing the HTML reports

**URL:** <https://community.gatling.io/t/simulated-requests-especially-post-requests-are-missing-the-html-reports/4833>\
**Category:** Gatling (Open-Source)\
**Created:** [February 21, 2019, 3:40pm UTC](https://community.gatling.io/t/simulated-requests-especially-post-requests-are-missing-the-html-reports/4833 "2019-02-21T15:40:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![D0421](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@D0421](https://community.gatling.io/u/D0421)\
**Post date:** [February 21, 2019, 3:40pm UTC](https://community.gatling.io/t/simulated-requests-especially-post-requests-are-missing-the-html-reports/4833/1 "2019-02-21T15:40:20Z")

</div>

Does anybody noticed that Simulated requests especially POST requests are missing in the HTML reports.

Steps:

Record some UI actions performed on the browser  
Once the simulation file is ready, just launch $GATLING\_HOME/bin/gatling.sh  
Noticed that there are some requests especially POST in the Simulation file, are shown neither under OK or Error sections?

Any idea what could be wrong?

---

<div class="post-metadata">

**Author:** ![G\_Madhana\_Mohana\_Red](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@G\_Madhana\_Mohana\_Red](https://community.gatling.io/u/G_Madhana_Mohana_Red)\
**Post date:** [February 22, 2019, 7:01am UTC](https://community.gatling.io/t/simulated-requests-especially-post-requests-are-missing-the-html-reports/4833/2 "2019-02-22T07:01:08Z")

</div>

Can you check in in simulation.log, if still missing then the events are not included in your scenario.

share your scenario for review.

---

<div class="post-metadata">

**Author:** ![D0421](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@D0421](https://community.gatling.io/u/D0421)\
**Post date:** [February 22, 2019, 10:44am UTC](https://community.gatling.io/t/simulated-requests-especially-post-requests-are-missing-the-html-reports/4833/3 "2019-02-22T10:44:28Z")

</div>

Thanks.

I dont see those missing requests in the Simulation.log file too.

Below are the few POST requests which are missing. There are many more which are missing.  
Also pasted below the Scenario

class RecordedSimulation extends Simulation {

val httpProtocol = http  
.baseUrl(“[https://url](https://url)”)  
.inferHtmlResources()

val headers\_41 = Map(  
“Accept” → “application/json”,  
“Accept-Encoding” → “gzip, deflate, br”,  
“Accept-Language” → “en-US,en;q=0.9,nl;q=0.8”,  
“User-Agent” → “Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_13\_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”,  
“X-UserToken” → “${userToken}”)  
// “Cookie” → “${userCookie}”)

val headers\_52 = Map(  
“Accept” → “application/json, text/plain, _/_”,  
“User-Agent” → “Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_13\_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”,  
“X-UserToken” → “${userToken}”)

val scn = scenario(“RecordedSimulation”)  
.exec(http(“request\_0”)  
.get(“request to open specific url”)  
.headers(headers\_0)  
.resources(http(“request\_1”)  
.get("/ConditionalFocus.jsdbx?v=01-17-2019\_1433&c=23\_483"),  
http(“request\_2”)  
.get("/e5fba4901355e30067ffbf304244b0bf.iix"),

http(“request\_14”)  
.get("/angular.do?sysparm\_type=get\_partial&name=sn\_user\_avatar.xml")  
.headers(headers\_8),  
http(“request\_15”)  
.get("/styles/heisenberg/source\_sans\_pro.cssx?v=01-17-2019\_1433&c=2018-10-17\_12:45:32\_58f8eaf04ff36b00ac1529dd0210c7d9&theme=system")  
.headers(headers\_3),  
http(“request\_16”)  
.get("/scripts/doctype/js\_includes\_legacy.jsx?v=01-17-2019\_1433&lp=Fri\_Feb\_15\_19\_37\_41\_PST\_2019&c=23\_483")  
.headers(headers\_3),  
http(“request\_17”)  
.get("/scripts/app.guided\_tours/js\_guided\_tours\_includes.jsx?v=01-17-2019\_1433")  
.headers(headers\_3),

http(“request\_86”)  
.post("/xmlhttp.do")  
.headers(headers\_86)  
.formParam(“sysparm\_request\_params”, “”"{“cond”:“true”}""")  
.formParam(“sysparm\_timer”, “1550760360084”)  
.formParam(“sysparm\_cancel\_transaction”, “true”)  
.formParam(“sysparm\_processor”, “Processor”)  
.formParam(“sysparm\_scope”, “global”)  
.formParam(“sysparm\_want\_session\_messages”, “true”),  
http(“request\_87”)  
.post("/xmlhttp.do")  
.headers(headers\_86)  
.formParam(“sysparm\_request\_params”, “”"{“cond2”:“true”}""")  
.formParam(“sysparm\_timer”, “1550760360086”)  
.formParam(“sysparm\_cancel\_transaction”, “true”)

.formParam(“sysparm\_processor”, “Processor”)  
.formParam(“sysparm\_scope”, “global”)  
.formParam(“sysparm\_want\_session\_messages”, “true”),  
http(“request\_88”)  
.get("/angular.do?sysparm\_type=processor&type=getMaps")  
.headers(headers\_55),

http(“request\_93”)  
.post("/xmlhttp.do")  
.headers(headers\_86)  
.formParam(“sysparm\_request\_params”, “”"{“cond3”:“true”}""")  
.formParam(“sysparm\_timer”, “1550760360614”)  
.formParam(“sysparm\_cancel\_transaction”, “true”)  
  
.formParam(“sysparm\_processor”, “Processor”)  
.formParam(“sysparm\_scope”, “global”)  
.formParam(“sysparm\_want\_session\_messages”, “true”),

http(“request\_110”)  
.post("/xmlhttp.do")  
.headers(headers\_86)  
.formParam(“sysparm\_request\_params”, “”"{“cond4”:“true”}""")  
.formParam(“sysparm\_timer”, “1550760361763”)  
.formParam(“sysparm\_cancel\_transaction”, “true”)

.formParam(“sysparm\_processor”, “Processor”)  
.formParam(“sysparm\_scope”, “global”)  
.formParam(“sysparm\_want\_session\_messages”, “true”),  
http(“request\_111”)  
.get("/api/now/ui/related\_list/related/x\_snc\_defect\_defect/all")  
.headers(headers\_55)))

setUp(scn.inject(rampUsers(10) during (5 seconds))).protocols(httpProtocol)  
}

---

<div class="post-metadata">

**Author:** ![D0421](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@D0421](https://community.gatling.io/u/D0421)\
**Post date:** [February 25, 2019, 3:30pm UTC](https://community.gatling.io/t/simulated-requests-especially-post-requests-are-missing-the-html-reports/4833/4 "2019-02-25T15:30:21Z")

</div>

Any idea on this issue please?  
There are some requests/events which are missing the simulation.log

---

<div class="post-metadata">

**Author:** ![G\_Madhana\_Mohana\_Red](https://avatars.discourse-cdn.com/v4/letter/g/b38774/32.png) [@G\_Madhana\_Mohana\_Red](https://community.gatling.io/u/G_Madhana_Mohana_Red)\
**Post date:** [February 26, 2019, 3:36am UTC](https://community.gatling.io/t/simulated-requests-especially-post-requests-are-missing-the-html-reports/4833/5 "2019-02-26T03:36:24Z")

</div>

As of now, it seems be some dynamic values are missing or not captured in your header “headers\_86”.

In you code “headers\_86” is missing, please review your headers\_86 parameters data.

It seems the requests, it self not executed in your scenario. It it still not works, please share more details like, full script details and report
