On 2/16/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote: > > Could not fetch > SamplePackage<file:///X:/travelink/Nov%202006%20load%20testing/notes.htm > #> > 2006/02/16 11:21:05 ERROR - > jmeter.samplers.SampleResult<file:///X:/travelink/Nov%202006%20load%20te > sting/notes.htm#>:
That's weird. Those error messages are not in the log file from JMeter -- JMeter doesn't go anywhere near that HTML file. They are, however, open in another tab in Firefox, which I'm using to write this mail in Gmail.... so it's some sort of weird cut-and-paste error. Even weirder, if I read my own mail back to me, or if I look in my Sent mail history, I can't see it in there either. What's going on? Anyway, this isn't the source of the problem with JMeter. No references to that file appear in jmeter.log. Whatever the problem is, it's elsewhere. </snip> > > 2.) It looks like you're using HTTP to fetch the file given the URL... > <snip> > file:///X:/travelink/Nov%202006%20load%20testing/notes.htm# > </snip> > > 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 > [EMAIL PROTECTED] > > ... > 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:[EMAIL PROTECTED] > 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<file:///X:/travelink/Nov%202006%20load% > 20testing/notes.htm#>: > loadIncludedElements -- try to load included module > ... [REPEATED] ... > 2006/02/16 11:21:05 INFO - > jmeter.threads.JMeterThread<file:///X:/travelink/Nov%202006%20load%20tes > ting/notes.htm#>: > Thread Thread Group 1-1 started > 2006/02/16 11:21:05 WARN - > jmeter.control.TransactionController<file:///X:/travelink/Nov%202006%20l > oad%20testing/notes.htm#>: > Could not fetch > SamplePackage<file:///X:/travelink/Nov%202006%20load%20testing/notes.htm > #> > 2006/02/16 11:21:05 ERROR - > jmeter.samplers.SampleResult<file:///X:/travelink/Nov%202006%20load%20te > sting/notes.htm#>: > sampleEnd called twice java.lang.Throwable: Invalid call sequence > at > org.apache.jmeter.samplers.SampleResult<file:///X:/travelink/Nov%202006% > 20load%20testing/notes.htm#> > .sampleEnd(SampleResult<file:///X:/travelink/Nov%202006%20load%20testing > /notes.htm#> > .java:612) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler2<file:///X:/travelin > k/Nov%202006%20load%20testing/notes.htm#> > .sample(HTTPSampler2<file:///X:/travelink/Nov%202006%20load%20testing/no > tes.htm#> > .java:505) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase<file:///X:/trave > link/Nov%202006%20load%20testing/notes.htm#> > .sample(HTTPSamplerBase<file:///X:/travelink/Nov%202006%20load%20testing > /notes.htm#> > .java:514) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase<file:///X:/trave > link/Nov%202006%20load%20testing/notes.htm#> > .sample(HTTPSamplerBase<file:///X:/travelink/Nov%202006%20load%20testing > /notes.htm#> > .java:503) > at > org.apache.jmeter.threads.JMeterThread<file:///X:/travelink/Nov%202006%2 > 0load%20testing/notes.htm#> > .run(JMeterThread<file:///X:/travelink/Nov%202006%20load%20testing/notes > .htm#> > .java:247) > at java.lang.Thread.run(Thread.java:534) > ... [REPEATED] ... > 2006/02/16 11:21:04 INFO - > jmeter.control.IncludeController<file:///X:/travelink/Nov%202006%20load% > 20testing/notes.htm#>: > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

