Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 12303 invoked from network); 22 Nov 2004 20:53:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Nov 2004 20:53:55 -0000 Received: (qmail 37333 invoked by uid 500); 22 Nov 2004 20:53:47 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 37230 invoked by uid 500); 22 Nov 2004 20:53:45 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 37156 invoked by uid 99); 22 Nov 2004 20:53:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [12.20.208.4] (HELO xsiis.xybioncorp.com) (12.20.208.4) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 12:53:43 -0800 Received: from mailscan.xybion.com (192.168.20.25 [192.168.20.25]) by xsiis.xybioncorp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id V6ZX8CGY; Mon, 22 Nov 2004 15:53:38 -0500 Received: from exchange.xybion.com (unverified) by mailscan.xybion.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Mon, 22 Nov 2004 15:53:33 -0500 Received: by exchange.xybion.com with Internet Mail Service (5.5.2657.72) id ; Mon, 22 Nov 2004 15:53:33 -0500 Message-ID: From: Martin Adamec To: "'jmeter-user@jakarta.apache.org'" Subject: Sending XML content using the HTTP Request sampler Date: Mon, 22 Nov 2004 15:53:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi folks, I am trying to find the way how it is possible to send plain XML content wrapped in the HTTP request. I want to use JMeter 2.0.1 as a tool for performance testing of our application. There is a C++ custom made thin client communicating with server tier (Java servlets running within Apache/Tomcat) over HTTP sending POST requests containing XML code. The response contains also XML code. Our java server logs as well as Apache access.log show that the communication was established, but the server (our one) responds -"Invalid request string". This is because of the way I try too squeeze XML code into the HTTP sampler. I copied the content of XML message into the 'Value' field of the HTTP parameter having no name defined for this parameter. What it does is that the string has '=' as a very first character (because there is no name for the parameter defined) and what I would like it does is that there is only plain XML code sent along without any leading character. I already experimented with SOAP/XML-RPC Request, but it did not work. Maybe I just use it wrong way. Can anyone help me with some advise? Thank you in advance. *********************************************************************** This email, and any attachments, contains confidential and privileged information intended for the use of the addressee. If you are not the intended recipient or an authorized representative of the recipient, do not read or distribute the contents of this email and delete it from your system. This email and all attachments have been scanned for viruses and are believed to be virus free. However, it is the recipient's responsibility to ensure that they are virus free. Xybion does not accept any responsibility for any loss or damage arising in any way from use of this email and attachments. Xybion also does not accept responsibility for personal email or email not associated with its business purposes. *********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org