jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hans jung <junghansm...@googlemail.com>
Subject Trying to build a http post request with xml content in jmeter
Date Wed, 23 May 2012 10:24:48 GMT
Hello everybody, I am completely new to jmeter and I am trying to simulate
a Post Request with XML content.

The Post request I am trying to simulate looks like this:

http://12.123.250.45:8000/zgfx_mde ?POST
&sap-client=200&sap-language=DE&sap-user=user001&sap-password=++++++++++
HTTP/1.1<?xml version="1.0"
encoding="ISO-8859-1"?><MSG><MSG_HDR><SENDER>SAPHttp</SENDER><RECEIVER>MDE-10</RECEIVER><THEME>MDE-10T02</THEME><TCODE>RS</TCODE><STORE>1001</STORE><MDE_ID>mde-agf</MDE_ID></MSG_HDR><MSG_DATA><EAN>4008122010777</EAN></MSG_DATA></MSG>


Now I try to build it i jMeter (using a Thread group and under that an http
sampler and a tree results element.).
I created the HTTP Sampler, set the Method to POST, enter server name, port
number, path and entered all the name/value pairs you see above
(sap-client, sap language, etc) in the parameters section.
But where do I put the XML??
Apparently I cannot put anything in the Post Body (Message "Cannot convert
parameter to raw post body because one of the parameters has a name)".



Regards & Thanks in advance,

Junghans

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message