Hi below is the used scenario,
baseURL is a local site https://localhost....
val httpProtocol = http
.baseURL(baseUrlString)
.inferHtmlResources(BlackList(""".*\.js""", """.*\.css""", """.*\.gif""", """.*\.jpeg""", """.*\.jpg""", """.*\.ico""", """.*\.woff""", """.*\.(t|o)tf""", """.*\.png""", """.*\.eot\?""", """.*\.png\?context\=bWF.*""",""".*\?context\=bWFzd.*""", """.*Default\-Thumbnail\?context\=bWF.*"""), WhiteList())
.acceptHeader("*/*")
.acceptEncodingHeader("gzip, deflate")
.acceptLanguageHeader("en-US,en;q=0.5")
.userAgentHeader("Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko")
val scn = exec(http("Access web site") //this is the Access_web_site
.get("/hu/")
.headers(Headers.headers_0)
val access: ChainBuilder = exec(Access_web_site.scn).exec(Click_on.scn)
val AccessSiteSerch: ScenarioBuilder = scenario ("blabla").exec(access)
setUp(
AccessSiteSearch.inject(atOnceUsers(1))
).protocols(httpProtocol)
if I comment out the parameter , the scenarios works OK and I don't get an empty http request for /
.inferHtmlResources
hope this makes sens