Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 13161 invoked from network); 16 Feb 2006 14:16:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Feb 2006 14:16:26 -0000 Received: (qmail 92864 invoked by uid 500); 16 Feb 2006 14:16:08 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 92830 invoked by uid 500); 16 Feb 2006 14:16:07 -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 92816 invoked by uid 99); 16 Feb 2006 14:16:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 06:16:07 -0800 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 [143.115.171.77] (HELO lm-gateway-01.lmig.com) (143.115.171.77) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 06:16:06 -0800 Received: from unknown (HELO LM-EXIMS-04.lm.lmig.com) ([147.179.184.136]) by lm-gateway-01.lmig.com with ESMTP; 16 Feb 2006 09:15:44 -0500 Received: from LM-EXMSG-07.lm.lmig.com ([147.179.184.98]) by LM-EXIMS-04.lm.lmig.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 16 Feb 2006 09:15:43 -0500 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="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Include controllers and non-gui mode Date: Thu, 16 Feb 2006 09:15:42 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Include controllers and non-gui mode Thread-Index: AcYy8/RMiMrFxGRgRwK1qxWbV7oyZwADecPQ From: "Lincoln, Adym" To: "JMeter Users List" X-OriginalArrivalTime: 16 Feb 2006 14:15:43.0903 (UTC) FILETIME=[79439AF0:01C63303] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N First, just browsing the error messages...I'd say it can't find the file notes.htm. Could not fetch SamplePackage 2006/02/16 11:21:05 ERROR - jmeter.samplers.SampleResult: 2.) It looks like you're using HTTP to fetch the file given the URL... file:///X:/travelink/Nov%202006%20load%20testing/notes.htm# 3.) Jmeter seems to want to find it on your "localhost" given the URL starts with file:///X:... 4.) It looks like you're running it on a Windows box...I'm guessing the ///X:/etc... means it wants to find that file on a disk drive with the letter X: That said. - To address 1, you need to make sure the file exists. As an added hint here, I'd make sure the directory path had no spaces in it...it looks like the URL encoding is occurring correctly, but it makes it a bear to look thru in Java exception messages. - To address 2, you need to make sure the web server on your localhost is running. - To address 3, you need to verify the path under your web server "matches" the one in the error. Again, having no spaces here really makes life easy... - To address 4, You need to make sure the disk drive X: is mounted AND your web server (aka the userid that the web server runs under) has at least Read access to that disk drive and directory tree as well as the file. Start with these and see if the problem gets solved... hth, Adym Lincoln I/S Corporate - I/S Internal Applications 603-245-8245 Ext : 58245 adym.lincoln@libertymutual.com ... It's a bug planet...it's an ugly planet...ever feel like your software project is going in the wrong direction. ... -----Original Message----- From: Richard Gaywood [mailto:richardgaywood@gmail.com]=20 Sent: Thursday, February 16, 2006 7:24 AM To: JMeter Users List Subject: Include controllers and non-gui mode I have a complex Jmeter test script, in script1.jmx, which calls in a dozen or so components via the Include controller. This works fine in the GUI with either a relative path in the Include Controller's box (e.g. 'component_foo.jmx') or an absolute one ('d:\jmeter\test\component_foo.jmx'). Each compent JMX has a Simple Controller with some HTTP Samplers below it. In the top-level script, for each component, I have a Transaction Controller, then the Include Controller below that. An abbreviated sample is as follows: top-level: - thread group - while controller - CSVdata set - transaction controller - include controller - if controller - transaction controller - include controller - if controller - transaction controller - include controller [aside: the while controller loops through the CSV data set until an endpoint is reached in the file. The if controllers fire depending on settings read in from the CSV file. It's a complex test.] component_foo.jmx: + simple controller - HTTP sampler - HTTP sampler However, when I run the test outside the gui with the -n -t command line options, I can see from the sampler results that none of the samplers in any of the Included component JMXs are run at all. This happens with either relative or absolute paths in the Include Controllers. Running on the command line, I get these messages in jmeter.log: 2006/02/16 11:21:04 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module ... [REPEATED] ... 2006/02/16 11:21:05 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-1 started 2006/02/16 11:21:05 WARN - jmeter.control.TransactionController: Could not fetch SamplePackage 2006/02/16 11:21:05 ERROR - jmeter.samplers.SampleResult: sampleEnd called twice java.lang.Throwable: Invalid call sequence at org.apache.jmeter.samplers.SampleResult .sampleEnd(SampleResult .java:612) at org.apache.jmeter.protocol.http.sampler.HTTPSampler2 .sample(HTTPSampler2 .java:505) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase .sample(HTTPSamplerBase .java:514) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase .sample(HTTPSamplerBase .java:503) at org.apache.jmeter.threads.JMeterThread .run(JMeterThread .java:247) at java.lang.Thread.run(Thread.java:534) ... [REPEATED] ... 2006/02/16 11:21:04 INFO - jmeter.control.IncludeController: loadIncludedElements -- try to load included module ... [REPEATED] ... These error messages do not appear in GUI mode, although I can't quite figure out why. Taking the Include controller outside the Transaction Controller doesn't seem to change anything, it still doesn't work. So.... anyone know what's going on? --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org