When I checkmark "Retreive All Embedded Resorces from HTML Files" in the
single sampler of the tread group I get the following error :

2007/06/27 17:03:00 ERROR - jmeter.threads.JMeterThread: 
java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser.getEmbeddedResourceURLs(HtmlParserHTMLParser.java:163)
        at
org.apache.jmeter.protocol.http.parser.HTMLParser.getEmbeddedResourceURLs(HTMLParser.java:145)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:720)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:946)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:474)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
        at java.lang.Thread.run(Unknown Source)

If don't download the embedded resources the test plan works OK, except that
it doesn't exercise the app server much because its only downloading a 79 KB
static HTML file. 

I'm using JMeter 2.2 and java version 1.5.0_09.

Is this a JMeter bug?

Thanks,
Ron


-- 
View this message in context: 
http://www.nabble.com/null-pointer-exception-when-download-embedded-resources-tf3992522.html#a11337333
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to