Knowledge Base Article

> Knowledge Base > Spira Platform > RemoteLaunch

by  inflectra.jimx Thursday, December 12, 2013
When running a JMeter test script through RemoteLaunch, you may get the following error:

Exception:
Data at the root level is invalid. Line 1, position 1.

Stack Trace:
 at Inflectra.RemoteLaunch.Engines.JMeter2AutomationEngine.JMeterAutomationEngine.StartExecution
(AutomatedTestRun automatedTestRun)
 at Inflectra.RemoteLaunch.Business.RunTestThread.Execute()


If you get this error message it usually means that Apache JMeter is not configured to output its results as XML, but instead is outputting them as CSV.

The default items to be saved can be defined in the jmeter.properties (or user.properties) file. The properties are used as the initial settings for the Listener Config pop-up, and are also used for the log file specified by the -l command-line flag (commonly used for non-GUI test runs).

To change the default format, find the following line in jmeter.properties:

jmeter.save.saveservice.output_format=csv

and change it to:

jmeter.save.saveservice.output_format=xml

For more details on configuring JMeter's output formats, please refer to: http://jmeter.apache.org/usermanual/listeners.html
Article Info
  • Last Updated: 12/12/2013
  • Article ID: KB67
  • Views: 1682