Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 2083 invoked from network); 21 Aug 2006 21:29:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Aug 2006 21:29:34 -0000 Received: (qmail 63861 invoked by uid 500); 21 Aug 2006 21:29:32 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 63787 invoked by uid 500); 21 Aug 2006 21:29:31 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 63746 invoked by uid 99); 21 Aug 2006 21:29:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 14:29:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.144.149.34] (HELO TPN-EX01.PROJECT-NETWORK.COM) (217.144.149.34) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 14:29:29 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable Subject: Need help being able to test non-wsdl SOAP web service with jmeter Date: Mon, 21 Aug 2006 22:29:06 +0100 Message-ID: <9EFC04356BBC4745B67A41B106F4A47A01AEB70E@TPN-EX01.PROJECT-NETWORK.COM> In-Reply-To: <0C260F619E428642BFA6380177C3ADF3040AE826@exmsea005.us.wamu.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Need help being able to test non-wsdl SOAP web service with jmeter Thread-Index: AcbFX8mYZyoJpLEKRwaqvgFjCM8ZmQAB39/Q From: "Alex Turner" To: "JMeter Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think the problem might be with the fact or way you are sending a = file. JMeter would appear to be thinking that you want to send the file = as a file-upload, rather than directly as the body of a post. The = result seems to be that jmeter's file sending system is overriding your = header setting and replacing it with the standard file upload header = (multipart form). You will probably find the file multi-part encoded as = well :-( I think the easiest solution to your problem is to use a SOAP/XML-RPC = sampler. Then open your xml test file in a text editor, copy the = contents and paste them into the data area for the sampler. Then the = request will be send correctly. Cheers AJ Alexander J Turner Ph.D. www.project-network.com www.deployview.com www.funkifunctions.blogspot.com -----Original Message----- From: Karr, David [mailto:david.karr@wamu.net]=20 Sent: 21 August 2006 21:24 To: JMeter Users List Subject: TPN POSSIBLE SPAM:Need help being able to test non-wsdl SOAP = web service with jmeter Jmeter 2.2, JDK 1.4.2, WebLogic 8.1.4. This is just a rehash of the note(s) I sent 2 days ago, but I haven't seen any response, and I really could use some help with this. 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, which are 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 I don't understand why it's getting a Content-Type of "multipart/form-data", as I'm setting the HTTP header "Content-Type" to "text/xml". Is Jmeter assuming it always sends a Content-Type of "multipart/form-data", so it's sending both header values, and my service only sees the "multipart/form-data" one? I also tried using either an httpclient http request, or a "Webservice(SOAP" request. The results for these were different, in that they appeared to do absolutely nothing. I saw no results, and no errors. Note that I copied the weblogic.jar file into the jmeter/lib directory, to get access to the various protocol classes. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --=20 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.3/423 - Release Date: = 18/08/2006 =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.3/423 - Release Date: = 18/08/2006 =20 --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org