Hi,
I try to create with the recorder a simulation from the har file “export.har” (in attachment), but the recorder rejects the har file with log error.
This har file has bean created with chrome dev.
I’ve done severals export har test from Chrome dev and firefox (firebug). all simulations are KO with the recorder.
I use Galting 2M3 version.
Have you an explanation ?
Thanks for your help.
Best regards,
Here the console error catchs on debug mode :
10:40:11.113 [DEBUG] i.g.r.c.RecorderController - Error while processing HAR file
java.nio.charset.UnmappableCharacterException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source) ~[na:1.7.0_51]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[na:1.7.0_51]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[na:1.7.0_51]
at java.io.InputStreamReader.read(Unknown Source) ~[na:1.7.0_51]
at java.io.BufferedReader.fill(Unknown Source) ~[na:1.7.0_51]
at java.io.BufferedReader.readLine(Unknown Source) ~[na:1.7.0_51]
at java.io.BufferedReader.readLine(Unknown Source) ~[na:1.7.0_51]
at scala.io.BufferedSource$BufferedLineIterator.hasNext(BufferedSource.scala:67) ~[scala-library-2.10.2.jar:na]
at scala.collection.Iterator$class.foreach(Iterator.scala:727) ~[scala-library-2.10.2.jar:na]
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) ~[scala-library-2.10.2.jar:na]
at scala.collection.TraversableOnce$class.addString(TraversableOnce.scala:320) ~[scala-library-2.10.2.jar:na]
at scala.collection.AbstractIterator.addString(Iterator.scala:1157) ~[scala-library-2.10.2.jar:na]
at scala.collection.TraversableOnce$class.mkString(TraversableOnce.scala:286) ~[scala-library-2.10.2.jar:na]
at scala.collection.AbstractIterator.mkString(Iterator.scala:1157) ~[scala-library-2.10.2.jar:na]
at scala.collection.TraversableOnce$class.mkString(TraversableOnce.scala:288) ~[scala-library-2.10.2.jar:na]
at scala.collection.AbstractIterator.mkString(Iterator.scala:1157) ~[scala-library-2.10.2.jar:na]
at scala.collection.TraversableOnce$class.mkString(TraversableOnce.scala:290) ~[scala-library-2.10.2.jar:na]
at scala.collection.AbstractIterator.mkString(Iterator.scala:1157) ~[scala-library-2.10.2.jar:na]
at io.gatling.recorder.har.HarReader$.processHarFile(HarReader.scala:44) ~[gatling-recorder-2.0.0-M3a.jar:na]
at io.gatling.recorder.controller.RecorderController.startRecording(RecorderController.scala:72) ~[gatling-recor
der-2.0.0-M3a.jar:na]
at io.gatling.recorder.ui.RecorderFrontend.startRecording(RecorderFrontEnd.scala:68) [gatling-recorder-2.0.0-M3a
.jar:na]
at io.gatling.recorder.ui.swing.frame.ConfigurationFrame.io$gatling$recorder$ui$swing$frame$ConfigurationFrame$$
reloadConfigurationAndStart(ConfigurationFrame.scala:387) [gatling-recorder-2.0.0-M3a.jar:na]
at io.gatling.recorder.ui.swing.frame.ConfigurationFrame$$anonfun$8.apply$mcV$sp(ConfigurationFrame.scala:86) [g
atling-recorder-2.0.0-M3a.jar:na]
at scala.swing.Action$$anon$2.apply(Action.scala:60) [scala-swing-2.10.2.jar:na]
at scala.swing.Action$$anon$1.actionPerformed(Action.scala:78) [scala-swing-2.10.2.jar:na]
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) [na:1.7.0_51]
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [na:1.7.0_51]
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) [na:1.7.0_51]
at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [na:1.7.0_51]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) [na:1.7.0_51]
at java.awt.Component.processMouseEvent(Unknown Source) [na:1.7.0_51]
at javax.swing.JComponent.processMouseEvent(Unknown Source) [na:1.7.0_51]
at java.awt.Component.processEvent(Unknown Source) [na:1.7.0_51]
at java.awt.Container.processEvent(Unknown Source) [na:1.7.0_51]
at java.awt.Component.dispatchEventImpl(Unknown Source) [na:1.7.0_51]
at java.awt.Container.dispatchEventImpl(Unknown Source) [na:1.7.0_51]
at java.awt.Component.dispatchEvent(Unknown Source) [na:1.7.0_51]
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [na:1.7.0_51]
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [na:1.7.0_51]
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) [na:1.7.0_51]
at java.awt.Container.dispatchEventImpl(Unknown Source) [na:1.7.0_51]
at java.awt.Window.dispatchEventImpl(Unknown Source) [na:1.7.0_51]
at java.awt.Component.dispatchEvent(Unknown Source) [na:1.7.0_51]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.7.0_51]
at java.awt.EventQueue.access$200(Unknown Source) [na:1.7.0_51]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.7.0_51]
at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_51]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [na:1.7.0_51]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [na:1.7.0_51]
at java.awt.EventQueue$4.run(Unknown Source) [na:1.7.0_51]
at java.awt.EventQueue$4.run(Unknown Source) [na:1.7.0_51]
at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_51]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [na:1.7.0_51]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [na:1.7.0_51]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [na:1.7.0_51]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [na:1.7.0_51]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [na:1.7.0_51]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.7.0_51]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.7.0_51]
at java.awt.EventDispatchThread.run(Unknown Source) [na:1.7.0_51]
export.har (5.63 MB)