Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 15960 invoked from network); 16 Jun 2006 22:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2006 22:54:24 -0000 Received: (qmail 72986 invoked by uid 500); 16 Jun 2006 22:54:22 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 72952 invoked by uid 500); 16 Jun 2006 22:54:22 -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 72941 invoked by uid 99); 16 Jun 2006 22:54:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 15:54:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 15:54:20 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FrNCS-0001ak-2D for jmeter-user@jakarta.apache.org; Fri, 16 Jun 2006 15:54:00 -0700 Message-ID: <4909157.post@talk.nabble.com> Date: Fri, 16 Jun 2006 15:41:12 -0700 (PDT) From: Josh Drummond To: jmeter-user@jakarta.apache.org Subject: Re: Calling Java Classes From JMeter In-Reply-To: <27e674a90606080657y2d33b675ofe94f7385226c22d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: jdrummon@uci.edu X-Nabble-From: Josh Drummond References: <4771959.post@talk.nabble.com> <27e674a90606080657y2d33b675ofe94f7385226c22d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm also having a problem with this. I successfully created a custom java request class, compiled/jarred and it shows up in the JMeter GUI dropdown. I added this Java Request to my JMeter test and the class is getting called correctly. However I want to return data from the Java Request back to my JMeter script for use later in the script. To do this I call "results.setResponseMessage()" inside the runTest() method and return that results object. I know it is returning this correctly because I have a View Results Tree control and for each Java Request the Sampler Result has my string as the HTTP response message. Next step I want to extract that value using the Regular Expression Extractor (I've done this before extracting results from normal http requests without any problem), however when I do it for a Java Request (the same data pattern and regex) it does not find a match. I'm fairly certain there isn't a problem in the data or regex, so my question is can I even use a Regular Expression Extractor as a child Post Processor to a Java Request and successfully extract data from the HTTP response message of the Sampler result? -- View this message in context: http://www.nabble.com/Calling-Java-Classes-From-JMeter-t1754973.html#a4909157 Sent from the JMeter - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org