Note that I tried using both an httpclient request and a Web Service
request, instead of the http request, but when I ran that test plan, it
did absolutely nothing. It didn't contact my service, and it didn't
emit any kind of error message.
> -----Original Message-----
> From: Karr, David
> Sent: Saturday, August 19, 2006 11:36 AM
> To: jmeter-user@jakarta.apache.org
> Subject: Test plan with http request to SOAP service
> (non-wsdl) sends multipart/form-data instead of text/xml (apparently)
>
> I have a SOAP-based web service that uses an ordinary HTTP
> listener, running on my localhost. The service does not have
> a WSDL. I have a standalone tool that uses
> SAAJ/SOAPConnection to test this service.
> That works fine.
>
> I'm now trying to test this with Jmeter. In my test plan, I
> added a thread group, and in that I added a header manager,
> and then my http request. In the header manager I set the
> "Content-Type" header to "text/xml". In the http request, I
> set all the fields I believe are
> relevant: name, host, port, POST method, file to send, and
> path (beginning with "/", I assume). I'm not sure what the
> "name" attribute is for. I saved the test plan. I executed
> the "Start" option.
>
> At this point, I see an exception in my server log like this:
>
> javax.xml.soap.SOAPException: Unsupported Content-Type:
> multipart/form-data
>
> What am I doing wrong?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
|