The warning on the reports is probably about the page executing javascript from the file system.
It has nothing to do with the recorder.
I think that pop up is related to java security and its blocking some application related feature like calender. If user click manually ok button from that pop up window then I can run the whole business process manually and want to do the same via Gatling if it"s possible?
How I can simulate the user click on ok button from pop up window?
You mean you have an applet in your page?
Gatling is not a browser and won’t execute it, it works at protocol level.
no it’s not applet. see attach screenshot
BlockerScreenshot.docx (257 KB)
Anyway, that’s a minor problem and it probably doesn’t happen with Firefox and Chrome…
ok so is there any way to configure browser so that gatling can alway use firefox or chrome browser during execution time? I think by default it is using IE??
No, you don’t get it: when running, Gatling doesn’t use a browser, but just a java HTTP client (AsyncHttpClient + Netty).
i have got two combo box Car Make and Car Model and when user click on car Make combo box then only value is getting populated in car make combo box and when user select any make value then only corresponding value for car model is getting populated. when user click on these combo box then .jsf is executed.
now i want to extract value for car make and value for car model dynamically in run time but not successful through check(regex). could you advice on this please ??
.exec(http(“TX08_AutoQuoteAgeGenderPage_2”)
.get("/InsuranceWebExtJS/data/carMakeData.jsf")
.headers(headers_4)
.queryParam("""_dc""", “”“1393682063143"”")
check(status.is(200)))
.pause(26)
exec(http(“TX09_AutoQuoteYearMake_1”)
.post("/InsuranceWebExtJS/data/carMakeData.jsf")
.headers(headers_9)
.param(""“query”"", “”"""")
check(status.is(200)))
.pause(1)
.exec(http(“TX10_AutoQuoteYearMake_2”)
.get("/InsuranceWebExtJS/data/carModelData.jsf")
.headers(headers_4)
.queryParam(""“carMake”"", “”“Chrysler”"")
.queryParam("""_dc""", “”“1393682090973"”")
check(status.is(200)))
.pause(1)
.exec(http(“TX11_AutoQuoteYearMake_3”)
.post("/InsuranceWebExtJS/data/carModelData.jsf")
.headers(headers_9)
.queryParam(""“carMake”"", “”“Chrysler”"")
.param(""“query”"", “”"""")
check(status.is(200)))
.pause(4)
Regards
KAPIL
The first step is to save the data lists that populate your boxes with a check.
You have to find out which HTTP request returns this data.
Then, once you’ve successfully done this, you can select one element of the list, for example with EL ${foo.random}
I m getting following netty timeout error when running 100 user test. i can access my application manually fine during the test test. any idea?
15:39:07.504 [WARN ] i.g.h.a.GatlingAsyncHandlerActor - Request ‘TX02_JoinTheExperience’ failed : GatlingAsyncHandlerActor timed out
15:39:07.504 [INFO ] i.g.c.a.Pause - can’t pause (remaining time shift=392317ms)
15:39:48.157 [INFO ] i.g.c.a.Pause - can’t pause (remaining time shift=392071ms)
15:39:07.503 [INFO ] i.g.h.a.HttpRequestAction - Sending request ‘TX11_SelectAnyProductBackToMainMenu’: scenario ‘ShopItOrder’, userId #4557
SLF4J: Failed toString() invocation on an object of type [org.jboss.netty.handler.codec.http.DefaultHttpRequest]
15:39:38.091 [WARN ] i.g.h.a.GatlingAsyncHandlerActor - Request ‘TX07_SearchProductBackToMainMenu’ failed : GatlingAsyncHandlerActor timed out
15:39:36.092 [INFO ] i.g.h.a.HttpRequestAction - Sending request ‘TX05_SearchProduct’: scenario ‘ShopItOrder’, userId #7275
Hi Stephane, I would like to to implement following scenario via gatling but don’t know if it is possible or now so could you please advice me.,
Machine 1 - Act As Controller
Machine 2 - Act as Injector → Connect controller and injector and produce 5000 user load on this machine.
Machine 3- Act as Injector → Connect controller and injector and produce another 5000 user load on this machine.
Once test execution is complete then collect the combined result from both injector machine to controller machine for test result analysis.
Is it possible to implement this scenarion via gatling ?? please advice?
Hi Stéphane ,
Please can some one point me the URL or share the detailed instruction about what eclipse scala ide version I should use to integrate MVN and Gatling etc
I am getting following error so may i am doing some thing wrong
Can’t resolve Archetype io.gatling.highcharts:gatling-highcharts-maven-archetype:2.3.0
Please can you send me detail step by step so I use Gatling using eclipse for my POC ?
Regards
KAPIL