Any body out there to help me?

Why am I getting the garbage "16f" after the http header and before the
xml request?

Please clarify.

Thanks,
Arul

-----Original Message-----
From: Arulazi Dhesiaseelan [mailto:[EMAIL PROTECTED]  Sent:
Friday, August 25, 2006 7:38 PM
To: [email protected]
Subject: problem with XML-RPC request using JMeter

Hello everybody,



I am trying to load test a XML-RPC service using JMeter. I used the
SOAP/XML-RPC Request sampler for sending the RPC requests. The sample
request is shown below.



<?xml version="1.0"?>

<methodCall>

<methodName>myMethod</methodName>

<params>

<param>

<value>12</value>

</param>

<param>

<value>sdfd</value>

</param>

<param>

<value>213213</value>

</param>

<param>

<value>91</value>

</param>

<param>

<value>df</value>

</param>

<param>

<value>0</value>

</param>

<param>

<value>123</value></param>

</params>

</methodCall>



I get the following error in the server side: Fatal error parsing XML:
org.xml.sax.SAXParseException: expected Element

org.apache.xmlrpc.ParseFailed: org.xml.sax.SAXParseException: expected
Element



When I tried intercepting JMeter requests to my server using tcpmon, I see
the following RPC request.

-------------------------------------------------------------------------- --
---

POST / HTTP/1.1



Connection: close



User-Agent: Jakarta Commons-HttpClient/3.0.1



Transfer-Encoding: chunked



Content-Type: text/xml



Host: 127.0.0.1:9999



16f



<?xml version="1.0"?>

<methodCall>

<methodName>myMethod</methodName>

<params>

<param>

<value>12</value>

</param>

<param>

<value>sdfd</value>

</param>

<param>

<value>213213</value>

</param>

<param>

<value>91</value>

</param>

<param>

<value>df</value>

</param>

<param>

<value>0</value>

</param>

<param>

<value>123</value></param>

</params>

</methodCall>



0

-------------------------------------------------------------------------- --
---

I could see some garbage (highlighted) before and after the request. If I
remove this garbage in tcpmon and resend, the RPC call works fine.



Why is this behavior? Am I missing something? Or JMeter is sending wrong
requests. Please clarify.



Thanks,

Arul












---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to