You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by lakshmi palaniappan <la...@yahoo.co.in> on 2007/07/25 18:11:27 UTC

To handle XML requests in jmeter

Hi all,
   
  Please help me out in handling xml request in jmeter.
  I have used SOAP/XML-RPC sampler in the thread group but the xml body doesnt get along with the url (i.e the service request). Please help me out with the steps to be followed when constructing this xml request.
   
  Thanks,
  Lakshmi

       
---------------------------------
 5, 50, 500, 5000. Store N number of mails in your inbox. Click here.

RE: To handle XML requests in jmeter

Posted by "Mathumathi Palani Bommu, EAS-Chennai" <ma...@hcl.in>.
1.	Create the Test Plan with Soap/XML-RPC Sampler.
2.	The parameters for the SOAP Request Sampler are set as follows
 
	Sample URL           	           : http://localhost:8080/axis/services/CalcServer?wsdl
				  
	Sample SOAP/XML RPC Data :

<soapenv:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:p2="http://">
  			<soapenv:Header /> 
<soapenv:Body>
<p2:add soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <i xsi:type="xsd:int">3</i> 
  				   <j xsi:type="xsd:int">4</j> 
</p2:add>
</soapenv:Body>
  </soapenv:Envelope>

3.	Add  Listener to the Sampler
1.	View result in tree
2.	view result In table
3.	Graph results
     	4. Save the Test Plan and Run

-----Original Message-----
From: lakshmi palaniappan [mailto:lakshmibe_sscet@yahoo.co.in] 
Sent: Wednesday, July 25, 2007 9:41 PM
To: jmeter-user@jakarta.apache.org
Subject: To handle XML requests in jmeter

Hi all,
   
  Please help me out in handling xml request in jmeter.
  I have used SOAP/XML-RPC sampler in the thread group but the xml body doesnt get along with the url (i.e the service request). Please help me out with the steps to be followed when constructing this xml request.
   
  Thanks,
  Lakshmi

       
---------------------------------
 5, 50, 500, 5000. Store N number of mails in your inbox. Click here.

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

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