jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neal Bridges" <nbrid...@providerlink.com>
Subject NullPointer when running test
Date Mon, 01 Jul 2002 13:29:18 GMT
Hello all - Here's the situation - hope you can help.

Wrote a faily simple Test Plan:
 Thread Group
    Request defaults
    Cookie manager
    Page request
    File reporter

The request is being made to a secure(https) jakarta web server for an
login.jsp that performs a strut action.  So, my server is set up to
"secure.myserver.com" with the path "/pathname"  then in the Page request, i
request "/login.jsp".  The Thread test sequence is 5 threads at 2 loops.
When I start the test, it appears to run fine in the console window
displaying the program output.  Below is the output of the program:

Sampling url: https://login.providerlink.com/login.jsp
Sampling url: https://login.providerlink.com/login.jsp
Sampling url: https://login.providerlink.com/login.jsp
Sampling url: https://login.providerlink.com/login.jsp
Sampling url: https://login.providerlink.com/login.jsp
java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSamp
ler.java:206)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
437)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
164)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
        at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSamp
ler.java:206)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
437)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
164)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
        at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSamp
ler.java:206)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
437)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
164)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
        at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSamp
ler.java:206)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
437)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
164)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
        at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSamp
ler.java:206)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
437)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
164)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
        at java.lang.Thread.run(Unknown Source)

>From the looks of it, it samples the URL the first 5 times without a
problem, but then you get the NullPointer on the second set of threads.  The
onlything written to the file reporter is as follows:


# Sample data created by null

#       URL                    Milliseconds

So, that's my quandry.  Any insite into this would be most appreciated.

Kindest Regards,
Neal Bridges
Providerlink, Inc.
http://www.providerlink.com
nbridges@providerlink.com


Mime
View raw message