jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bartuss <sefirask...@gmail.com>
Subject MTOM Jmeter
Date Tue, 11 Oct 2011 07:54:48 GMT
Hi, 

I am testing webservice using MTOM method.

I have used SOAP/XML-RPC Request below you can find content of this request:

------=_Part_1_4558657.1118953559446
Content-Type: application/xop+xml; type="text/xml"; charset=utf-8

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
 <s:Body>
  <createDocument xmlns="http://abc/dctm/services/">
   <UserCredentials>
    <userName xmlns="">username</userName>
    <password xmlns="">pass</password> 
   </UserCredentials>
  <repositoryId xmlns="">RepositoryName</repositoryId>
  <typeId xmlns="">my_document</typeId>
  <properties xmlns="">
  </properties>
  <renditions xmlns="">
  <contentStreams>
  <mimeType>text/plain</mimeType>
  <filenameExtension>txt</filenameExtension>
 <stream>  <xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include"
href="cid:5aeaa450-17f0-4484-b845-a8480c363444@example.org"></stream>
  </contentStreams>
  </renditions>
  </createDocument>
 </s:Body>
</s:Envelope>

------=_Part_1_4558657.1118953559446
Content-Type: application/octet-stream Content-Transfer-Encoding: binary
Content-ID: <5aeaa450-17f0-4484-b845-a8480c363444@example.org>
0101010

And also I added headers before this request using HTTP Header Manager:

Content-Type: Multipart/Related; start-info="text/xml";
type="application/xop+xml"; boundary="----=_Part_0_1744155.1118953559416"

But it does not work for me I got response "An invalid XML character
(Unicode: 0x2d) was found in the prolog of the document"

Could someone help me solve that problem or guide me on the right direction?

--
View this message in context: http://jmeter.512774.n5.nabble.com/MTOM-Jmeter-tp4891026p4891026.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message