Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 60060 invoked from network); 5 Mar 2009 15:09:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 15:09:48 -0000 Received: (qmail 5692 invoked by uid 500); 5 Mar 2009 15:09:41 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 5665 invoked by uid 500); 5 Mar 2009 15:09:41 -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 5654 invoked by uid 99); 5 Mar 2009 15:09:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 07:09:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.217.174 as permitted sender) Received: from [209.85.217.174] (HELO mail-gx0-f174.google.com) (209.85.217.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 15:09:34 +0000 Received: by gxk22 with SMTP id 22so7470060gxk.13 for ; Thu, 05 Mar 2009 07:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pP1bHRHDUzwl2ryrpufW+W1vzginGFBSGX1NHx7nK28=; b=PiUJBnIi6xQ5w8VcIrpacJjn1K4uxnZghG5AkvoUfvdNPtA9I6za6xjbxWd4mEza0O Eoig7AYxRqmHE28x2PGwN1kIwUTQvIc4k+MtkefZDFA2yWHi6e/KBPkDROBD8+SauTEO 6mLphfLO2slsTrqkpwz55MsIBfEEL1OuREbN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FcrmTd0qalYAfdw72XTTQR2THG4nUeq2fRWm0/5KwTlUdMDSAQAV1Pyx+JTf0oAPC7 RFgVauNBcCWm7wmZIelhDdmQTekUbOZDb6e8QAbAaY9UgGEzrkfxVMK7/b5P61n/YuYi NMOwYjbl4mR4HyXM9E0FuvO6ykf+aEoQUtnQE= MIME-Version: 1.0 Received: by 10.150.202.8 with SMTP id z8mr2440654ybf.16.1236265752960; Thu, 05 Mar 2009 07:09:12 -0800 (PST) In-Reply-To: <476cb3f50903050644s3de4d099peb60c212e7693b@mail.gmail.com> References: <476cb3f50903042255w32264229ya1e243334a39c08@mail.gmail.com> <476cb3f50903050644s3de4d099peb60c212e7693b@mail.gmail.com> Date: Thu, 5 Mar 2009 15:09:12 +0000 Message-ID: <25aac9fc0903050709r57fbe1c0geb871032cf07b789@mail.gmail.com> Subject: Re: Problem with useReqMsgIdAsCorrelId in JMS Point-to-Point Sampler From: sebb To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 05/03/2009, Henric Hedin wrote: > Hi, > > When using the JMS Point-to-Point sampler with communication style > RequestResponse using JMeter 2.3.2 I get the following error in jmeter.log: > 2009/03/05 07:40:18 INFO - jmeter.threads.JMeterThread: Thread Thread Group > 1-5 started > 2009/03/05 07:40:18 INFO - jmeter.protocol.jms.sampler.Receiver: Receiver - > ctor. Connection to messaging system established > 2009/03/05 07:40:18 ERROR - jmeter.protocol.jms.sampler.FixedQueueExecutor: > Correlation id is null. Set the JMSCorrelationID header > > This problem will not occur when using e.g. version 2.2, and when looking > inside svn there seems to be a change which causes my problem: > http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java?view=diff&r1=701217&r2=701218&pathrev=701218 That change was made after JMeter 2.3.2 which corresponds to r665936. So it cannot be the cause of the change in behaviour between 2.2 and 2.3.2. > I'm pretty new to JMeter and there seems to be a simple solution if I just > could set the useReqMsgIdAsCorrelId-flag to true (in JMSSampler.java ( > http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java?view=markup > )) > > Could I set this in a configuration file in some way by specifying > JMSSampler.useReqMsgIdAsCorrelId=true (which seems to be defined in > JMSSampler.java)? No, because JMeter 2.3.2 does not have the code that uses the variable. However, the code is already present in the current SVN trunk - there is now a checkbox on the GUI. If you want to try it, you can use one of the nightly builds. Follow the links from the JMeter web-site. > Regards, > > Henric > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org