Hi,
I’m using recorder of Gatling 2.0.0-SNAPSHOT. My HTML like this:
It throws exception, it looks like my URL contains “{” but this is required and cannot removed it:
Jun 30, 2014 4:52:14 PM org.jboss.netty.channel.SimpleChannelHandler
WARNING: EXCEPTION, please implement io.gatling.recorder.http.handler.ServerHttpResponseHandler.exceptionCaught() for proper handling.
java.net.URISyntaxException: Illegal character in query at index 110: http://local.innovocommerce.com/Lists/SecurityAuditLog/AllItems.aspx?Paged=TRUE&p_ID=30&PageFirstRow=31&&View={5C1F918F-692F-480E-8922-9C1E6609D4E9}
at java.net.URI$Parser.fail(URI.java:2829)
at java.net.URI$Parser.checkChars(URI.java:3002)
at java.net.URI$Parser.parseHierarchical(URI.java:3092)
at java.net.URI$Parser.parse(URI.java:3034)
at java.net.URI.(URI.java:595)
at io.gatling.recorder.scenario.RequestElement$$anonfun$1$$anonfun$applyOrElse$1.apply(ScenarioElement.scala:66)
at io.gatling.recorder.scenario.RequestElement$$anonfun$1$$anonfun$applyOrElse$1.apply(ScenarioElement.scala:64)
at scala.Option.map(Option.scala:145)
at io.gatling.recorder.scenario.RequestElement$$anonfun$1.applyOrElse(ScenarioElement.scala:64)
at io.gatling.recorder.scenario.RequestElement$$anonfun$1.applyOrElse(ScenarioElement.scala:60)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
at scala.Option.collect(Option.scala:250)
at io.gatling.recorder.scenario.RequestElement$.apply(ScenarioElement.scala:60)
at io.gatling.recorder.controller.RecorderController.receiveResponse(RecorderController.scala:128)
at io.gatling.recorder.http.handler.ServerHttpResponseHandler.messageReceived(ServerHttpResponseHandler.scala:43)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:194)
at org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:132)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:452)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
at org.jboss.netty.handler.codec.http.HttpClientCodec.handleUpstream(HttpClientCodec.java:92)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
How to fix this?
please give me your advise.
Thanks