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”)
.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)
}