On 17 December 2013 09:13, Braun, Filip <[email protected]> wrote:
> Hello,
>
> I have a test that uses XPath extractor to get some data from XML response.
> When I run the test in GUI - all works fine. When I run the test using JMeter 
> server and as master I use GUI - all works fine.
>
> When I run the test using JMeter server and I start master from command proms 
> - the following error appears (on slave):
> 2013/12/17 09:58:09 ERROR - jmeter.util.XPathUtil: Type=Val=false Tol=false 
> org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not 
> allowed in prolog.
> 2013/12/17 09:58:09 WARN  - jmeter.extractor.XPathExtractor: SAXException 
> while processing (//xmldata/auth[1]/@session) Content is not allowed in 
> prolog.
>
> Batch script used:
> jmeter -n -t 
> c:\Pulse\trunk\Testing\Performance\jmeter\pulsePerformanceRT%6.jmx -Jrev=%1 
> -Jsrvadd=%2 -Jportnum=%3 -Jprotocol=%4 -Jenv=%5 -r

Are these properties defined for the GUI case?
If so, why does the non-GUI command-line need them?

> Is that a JMeter server issue or do I have to change setting of some 
> processor?

This looks as though the slave is not downloading the same file in the
two cases.
This may be due to the additional properties that are appear to be set
in the non-GUI case.

Try adding a

http://jmeter.apache.org/usermanual/component_reference.html#Save_Responses_to_a_file

as child of the sampler, so that you can check exactly what is being returned.

Compare the output when running with GUI master and non-GUI master.

> All used machines are running Windows.
>
> Thanks for help,
> Filip
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to