HTTP Cookie manager superseded

2006-07-26 Thread Oliver Erlewein \(DSLWN\)
Hi all,

When testing with 2.1.1 I get these warnings quite often:
2006/07/27 10:26:52 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Cookie Manager superseded by HTTP Cookie Manager

Can anybody tell me what that means and if there's a todo for me in
that?

Thanx
Oliver

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



Re: HTTP Cookie manager superseded

2006-07-27 Thread sebb

This means that you have two Cookie Managers in the same scope. Remove
one of them.

On 26/07/06, Oliver Erlewein (DSLWN) <[EMAIL PROTECTED]> wrote:

Hi all,

When testing with 2.1.1 I get these warnings quite often:
2006/07/27 10:26:52 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Cookie Manager superseded by HTTP Cookie Manager

Can anybody tell me what that means and if there's a todo for me in
that?

Thanx
Oliver

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




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



Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-13 Thread Simon Brown
Hi,

I'm getting the following errors in my jmeter.log file: 

2007/08/13 09:13:32 ERROR -
org.apache.commons.httpclient.HttpMethodDirector: Received redirect
response 302 but no location header 
2007/08/13 09:13:32 ERROR - jmeter.threads.JMeterThread:
java.lang.NullPointerException
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
.java:837)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:889)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:875)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
at java.lang.Thread.run(Thread.java:619)

2007/08/13 09:13:32 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Cookie Manager superseded by HTTP Cookie Manager 
2007/08/13 09:13:32 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Header Manager superseded by HTTP Header Manager

Have you any suggestions as to how to get round this?

Thanks,

Simon


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



Re: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-13 Thread sebb
On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm getting the following errors in my jmeter.log file:
>
> 2007/08/13 09:13:32 ERROR -
> org.apache.commons.httpclient.HttpMethodDirector: Received redirect
> response 302 but no location header

Complain to the server administrator, as it indicates an HTTP protocol
violation.

> 2007/08/13 09:13:32 ERROR - jmeter.threads.JMeterThread:
> java.lang.NullPointerException
>at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> .java:837)

That should not happen - which version of JMeter are you using?

>at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:889)
>at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:875)
>at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
>at java.lang.Thread.run(Thread.java:619)
>
> 2007/08/13 09:13:32 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Cookie Manager superseded by HTTP Cookie Manager
> 2007/08/13 09:13:32 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Header Manager superseded by HTTP Header Manager

Rearrange or remove some of the HTTP Header Managers.
There should be at most one Header Manager in scope for each HTTP Sampler.

For example:

HTTP Sampler
+ Header Manager
HTTP Sampler
+ Header Manager

is OK

whereas

HTTP Sampler 1
Header Manager
HTTP Sampler 2
+ Header Manager

is not - the HTTP Sampler 2 has both Header Managers in scope.

> Have you any suggestions as to how to get round this?
>
> Thanks,
>
> Simon
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-13 Thread Simon Brown
Hi Sebb,

Many thanks again.  

I'm aware that a redirect response with no location header is a HTTP
protocol violation, but I'm running through a suite of URLs provided by
a third party and quite a number of them contain this.  Can JMeter just
ignore that URL if a HTTP Protocol violation takes place?

I'm using JMeter 2.3RC3.

I'm also getting another NullPointerException with the following error:

007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
problem in Listener:  java.lang.NullPointerException
at
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
:130)
at
org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
0)
at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
ier.java:240)
at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
:572)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
at java.lang.Thread.run(Thread.java:619)

I've tried removing and rearranging some of the header managers, but
with no success.

My current arrangement is as follows:

Test Plan
+ HTTP Header Manager
+ Thread Group
+ While Controller
+ + CSV Data Set Config
+ + HTTP Request HTTPClient
+ + + Bean Shell Listener
+ + HTTP Cookie Manager
+ + View Results in Table Listener

Thanks,

Simon


-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 13 August 2007 15:36
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm getting the following errors in my jmeter.log file:
>
> 2007/08/13 09:13:32 ERROR -
> org.apache.commons.httpclient.HttpMethodDirector: Received redirect
> response 302 but no location header

Complain to the server administrator, as it indicates an HTTP protocol
violation.

> 2007/08/13 09:13:32 ERROR - jmeter.threads.JMeterThread:
> java.lang.NullPointerException
>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> .java:837)

That should not happen - which version of JMeter are you using?

>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:889)
>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:875)
>at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
>at java.lang.Thread.run(Thread.java:619)
>
> 2007/08/13 09:13:32 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Cookie Manager superseded by HTTP Cookie Manager
> 2007/08/13 09:13:32 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Header Manager superseded by HTTP Header Manager

Rearrange or remove some of the HTTP Header Managers.
There should be at most one Header Manager in scope for each HTTP
Sampler.

For example:

HTTP Sampler
+ Header Manager
HTTP Sampler
+ Header Manager

is OK

whereas

HTTP Sampler 1
Header Manager
HTTP Sampler 2
+ Header Manager

is not - the HTTP Sampler 2 has both Header Managers in scope.

> Have you any suggestions as to how to get round this?
>
> Thanks,
>
> Simon
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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



Re: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-13 Thread sebb
On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Hi Sebb,
>
> Many thanks again.
>
> I'm aware that a redirect response with no location header is a HTTP
> protocol violation, but I'm running through a suite of URLs provided by
> a third party and quite a number of them contain this.  Can JMeter just
> ignore that URL if a HTTP Protocol violation takes place?

That's what should happen once the NPE bug is fixed.

> I'm using JMeter 2.3RC3.
>
> I'm also getting another NullPointerException with the following error:
>
> 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> problem in Listener:  java.lang.NullPointerException
>at
> org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> :130)

Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
try the latest nightly.

>at
> org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> 0)
>at
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> ier.java:240)
>at
> org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> :572)
>at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
>at java.lang.Thread.run(Thread.java:619)
>
> I've tried removing and rearranging some of the header managers, but
> with no success.
>
> My current arrangement is as follows:
>
> Test Plan
> + HTTP Header Manager
> + Thread Group
> + While Controller
> + + CSV Data Set Config
> + + HTTP Request HTTPClient
> + + + Bean Shell Listener
> + + HTTP Cookie Manager
> + + View Results in Table Listener

It would be better to use:

Test Plan
+ Thread Group
+ + HTTP Header Manager
+ + HTTP Cookie Manager
+ + While Controller
+ + + CSV Data Set Config
+ + + HTTP Request HTTPClient
+ + + + Bean Shell Listener
+ + View Results in Table Listener

> Thanks,
>
> Simon
>
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 15:36
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm getting the following errors in my jmeter.log file:
> >
> > 2007/08/13 09:13:32 ERROR -
> > org.apache.commons.httpclient.HttpMethodDirector: Received redirect
> > response 302 but no location header
>
> Complain to the server administrator, as it indicates an HTTP protocol
> violation.
>
> > 2007/08/13 09:13:32 ERROR - jmeter.threads.JMeterThread:
> > java.lang.NullPointerException
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> > .java:837)
>
> That should not happen - which version of JMeter are you using?
>
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:889)
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:875)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > 2007/08/13 09:13:32 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Cookie Manager superseded by HTTP Cookie Manager
> > 2007/08/13 09:13:32 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Header Manager superseded by HTTP Header Manager
>
> Rearrange or remove some of the HTTP Header Managers.
> There should be at most one Header Manager in scope for each HTTP
> Sampler.
>
> For example:
>
> HTTP Sampler
> + Header Manager
> HTTP Sampler
> + Header Manager
>
> is OK
>
> whereas
>
> HTTP Sampler 1
> Header Manager
> HTTP Sampler 2
> + Header Manager
>
> is not - the HTTP Sampler 2 has both Header Managers in scope.
>
> > Have you any suggestions as to how to get round this?
> >
> > Thanks,
> >
> > Simon
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-13 Thread Simon Brown
Thanks Sebb,

Have upgraded to the latest nightly build and am running the suite
against it.  Have also modified my Test Plan as you suggested.

Many thanks,

Simon

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 13 August 2007 16:27
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Hi Sebb,
>
> Many thanks again.
>
> I'm aware that a redirect response with no location header is a HTTP
> protocol violation, but I'm running through a suite of URLs provided
by
> a third party and quite a number of them contain this.  Can JMeter
just
> ignore that URL if a HTTP Protocol violation takes place?

That's what should happen once the NPE bug is fixed.

> I'm using JMeter 2.3RC3.
>
> I'm also getting another NullPointerException with the following
error:
>
> 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> problem in Listener:  java.lang.NullPointerException
>at
>
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> :130)

Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
try the latest nightly.

>at
>
org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> 0)
>at
>
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> ier.java:240)
>at
>
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> :572)
>at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
>at java.lang.Thread.run(Thread.java:619)
>
> I've tried removing and rearranging some of the header managers, but
> with no success.
>
> My current arrangement is as follows:
>
> Test Plan
> + HTTP Header Manager
> + Thread Group
> + While Controller
> + + CSV Data Set Config
> + + HTTP Request HTTPClient
> + + + Bean Shell Listener
> + + HTTP Cookie Manager
> + + View Results in Table Listener

It would be better to use:

Test Plan
+ Thread Group
+ + HTTP Header Manager
+ + HTTP Cookie Manager
+ + While Controller
+ + + CSV Data Set Config
+ + + HTTP Request HTTPClient
+ + + + Bean Shell Listener
+ + View Results in Table Listener

> Thanks,
>
> Simon
>
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 15:36
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm getting the following errors in my jmeter.log file:
> >
> > 2007/08/13 09:13:32 ERROR -
> > org.apache.commons.httpclient.HttpMethodDirector: Received redirect
> > response 302 but no location header
>
> Complain to the server administrator, as it indicates an HTTP protocol
> violation.
>
> > 2007/08/13 09:13:32 ERROR - jmeter.threads.JMeterThread:
> > java.lang.NullPointerException
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> > .java:837)
>
> That should not happen - which version of JMeter are you using?
>
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:889)
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:875)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > 2007/08/13 09:13:32 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Cookie Manager superseded by HTTP Cookie Manager
> > 2007/08/13 09:13:32 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Header Manager superseded by HTTP Header Manager
>
> Rearrange or remove some of the HTTP Header Managers.
> There should be at most one Header Manager in scope for each HTTP
> Sampler.
>
> For example:
>
> HTTP Sampler
> + Header Manager
> HTTP Sampler
> + Header Manager
>
> is OK
>
> whereas
>
> HTTP Sampler 1
> Header Manager
> HTTP Sampler 2
> + Header Manager
>
> is not - the HTTP Sampler 2 has both Header Managers in scope.
>
> > Have you any suggestions as to how to get round this?
> >
> > Thanks,
> >
> > Simon
> >
> >
> >
-
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands,

Re: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-13 Thread sebb
I've just uploaded r565388 to the nightly directory - this should fix
the redirect NPE (as well as the Summariser bug)

S.
On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Thanks Sebb,
>
> Have upgraded to the latest nightly build and am running the suite
> against it.  Have also modified my Test Plan as you suggested.
>
> Many thanks,
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 16:27
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Hi Sebb,
> >
> > Many thanks again.
> >
> > I'm aware that a redirect response with no location header is a HTTP
> > protocol violation, but I'm running through a suite of URLs provided
> by
> > a third party and quite a number of them contain this.  Can JMeter
> just
> > ignore that URL if a HTTP Protocol violation takes place?
>
> That's what should happen once the NPE bug is fixed.
>
> > I'm using JMeter 2.3RC3.
> >
> > I'm also getting another NullPointerException with the following
> error:
> >
> > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> > problem in Listener:  java.lang.NullPointerException
> >at
> >
> org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > :130)
>
> Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> try the latest nightly.
>
> >at
> >
> org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > 0)
> >at
> >
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > ier.java:240)
> >at
> >
> org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> > :572)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > I've tried removing and rearranging some of the header managers, but
> > with no success.
> >
> > My current arrangement is as follows:
> >
> > Test Plan
> > + HTTP Header Manager
> > + Thread Group
> > + While Controller
> > + + CSV Data Set Config
> > + + HTTP Request HTTPClient
> > + + + Bean Shell Listener
> > + + HTTP Cookie Manager
> > + + View Results in Table Listener
>
> It would be better to use:
>
> Test Plan
> + Thread Group
> + + HTTP Header Manager
> + + HTTP Cookie Manager
> + + While Controller
> + + + CSV Data Set Config
> + + + HTTP Request HTTPClient
> + + + + Bean Shell Listener
> + + View Results in Table Listener
>
> > Thanks,
> >
> > Simon
> >
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 15:36
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I'm getting the following errors in my jmeter.log file:
> > >
> > > 2007/08/13 09:13:32 ERROR -
> > > org.apache.commons.httpclient.HttpMethodDirector: Received redirect
> > > response 302 but no location header
> >
> > Complain to the server administrator, as it indicates an HTTP protocol
> > violation.
> >
> > > 2007/08/13 09:13:32 ERROR - jmeter.threads.JMeterThread:
> > > java.lang.NullPointerException
> > >at
> > >
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> > > .java:837)
> >
> > That should not happen - which version of JMeter are you using?
> >
> > >at
> > >
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > > erBase.java:889)
> > >at
> > >
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > > erBase.java:875)
> > >at
> > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
> > >at java.lang.Thread.run(Thread.java:619)
> > >
> > > 2007/08/13 09:13:32 WARN  -
> > > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > > Cookie Manager superseded by HTTP Cookie Manager
> > > 2007/08/13 09:13:32 WARN  -
> > > jme

RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-13 Thread Simon Brown
Hi Sebb,

Thanks very much indeed!  I'll download that and install that now!

Simon

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 13 August 2007 17:51
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

I've just uploaded r565388 to the nightly directory - this should fix
the redirect NPE (as well as the Summariser bug)

S.
On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Thanks Sebb,
>
> Have upgraded to the latest nightly build and am running the suite
> against it.  Have also modified my Test Plan as you suggested.
>
> Many thanks,
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 16:27
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Hi Sebb,
> >
> > Many thanks again.
> >
> > I'm aware that a redirect response with no location header is a HTTP
> > protocol violation, but I'm running through a suite of URLs provided
> by
> > a third party and quite a number of them contain this.  Can JMeter
> just
> > ignore that URL if a HTTP Protocol violation takes place?
>
> That's what should happen once the NPE bug is fixed.
>
> > I'm using JMeter 2.3RC3.
> >
> > I'm also getting another NullPointerException with the following
> error:
> >
> > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> > problem in Listener:  java.lang.NullPointerException
> >at
> >
>
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > :130)
>
> Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> try the latest nightly.
>
> >at
> >
>
org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > 0)
> >at
> >
>
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > ier.java:240)
> >at
> >
>
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> > :572)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > I've tried removing and rearranging some of the header managers, but
> > with no success.
> >
> > My current arrangement is as follows:
> >
> > Test Plan
> > + HTTP Header Manager
> > + Thread Group
> > + While Controller
> > + + CSV Data Set Config
> > + + HTTP Request HTTPClient
> > + + + Bean Shell Listener
> > + + HTTP Cookie Manager
> > + + View Results in Table Listener
>
> It would be better to use:
>
> Test Plan
> + Thread Group
> + + HTTP Header Manager
> + + HTTP Cookie Manager
> + + While Controller
> + + + CSV Data Set Config
> + + + HTTP Request HTTPClient
> + + + + Bean Shell Listener
> + + View Results in Table Listener
>
> > Thanks,
> >
> > Simon
> >
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 15:36
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I'm getting the following errors in my jmeter.log file:
> > >
> > > 2007/08/13 09:13:32 ERROR -
> > > org.apache.commons.httpclient.HttpMethodDirector: Received
redirect
> > > response 302 but no location header
> >
> > Complain to the server administrator, as it indicates an HTTP
protocol
> > violation.
> >
> > > 2007/08/13 09:13:32 ERROR - jmeter.threads.JMeterThread:
> > > java.lang.NullPointerException
> > >at
> > >
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> > > .java:837)
> >
> > That should not happen - which version of JMeter are you using?
> >
> > >at
> > >
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > > erBase.java:889)
> > >at
> > >
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > > erBase.java:875)
> > >at
> > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
> > >at java.lang.Thread.run(Thread.java:619)
> > >
> >

RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread Simon Brown
Hi Seb,

Thanks for all your help.  That uploaded nightly build seems to have
greatly improved the processing of my suite of urls.  

However, I'm still seeing the following error reported, although it
doesn't seem to cause JMeter to stop processing the URLs:

2007/08/14 08:41:29 ERROR - jmeter.threads.JMeterThread:
java.lang.NullPointerException

2007/08/14 08:41:29 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Header Manager superseded by HTTP Header Manager 
2007/08/14 08:41:29 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Cookie Manager superseded by HTTP Cookie Manager

The layout of my Test Plan is as follows:

Test Plan
+ Thread Group
+ + HTTP Header Manager
+ + HTTP Cookie Manager
+ + While Controller
+ + + CSV Data Set Config
+ + + HTTP Request HTTPClient
+ + + + Bean Shell Listener
+ View Results in Table Listener

Any thoughts?

Regards,

Simon

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 13 August 2007 17:51
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

I've just uploaded r565388 to the nightly directory - this should fix
the redirect NPE (as well as the Summariser bug)

S.
On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Thanks Sebb,
>
> Have upgraded to the latest nightly build and am running the suite
> against it.  Have also modified my Test Plan as you suggested.
>
> Many thanks,
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 16:27
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Hi Sebb,
> >
> > Many thanks again.
> >
> > I'm aware that a redirect response with no location header is a HTTP
> > protocol violation, but I'm running through a suite of URLs provided
> by
> > a third party and quite a number of them contain this.  Can JMeter
> just
> > ignore that URL if a HTTP Protocol violation takes place?
>
> That's what should happen once the NPE bug is fixed.
>
> > I'm using JMeter 2.3RC3.
> >
> > I'm also getting another NullPointerException with the following
> error:
> >
> > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> > problem in Listener:  java.lang.NullPointerException
> >at
> >
>
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > :130)
>
> Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> try the latest nightly.
>
> >at
> >
>
org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > 0)
> >at
> >
>
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > ier.java:240)
> >at
> >
>
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> > :572)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > I've tried removing and rearranging some of the header managers, but
> > with no success.
> >
> > My current arrangement is as follows:
> >
> > Test Plan
> > + HTTP Header Manager
> > + Thread Group
> > + While Controller
> > + + CSV Data Set Config
> > + + HTTP Request HTTPClient
> > + + + Bean Shell Listener
> > + + HTTP Cookie Manager
> > + + View Results in Table Listener
>
> It would be better to use:
>
> Test Plan
> + Thread Group
> + + HTTP Header Manager
> + + HTTP Cookie Manager
> + + While Controller
> + + + CSV Data Set Config
> + + + HTTP Request HTTPClient
> + + + + Bean Shell Listener
> + + View Results in Table Listener
>
> > Thanks,
> >
> > Simon
> >
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 15:36
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I'm getting the following errors in my jmeter.log file:
> > >
> > > 2007/08/13 09:13:32 ERROR -
> > > org.apache.commons.httpclient.HttpMethodDirector: Received
redirect
> > > response 302 but no location header
> >
> > Complain to the server administrator, as it indicates an HTTP
protocol
> > violation.
> >
> > > 2

RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread Simon Brown
Another error message I'm getting is:

2007/08/14 09:20:09 ERROR - jmeter.threads.JMeterThread:
java.lang.NullPointerException
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageReso
urces(HTTPSamplerBase.java:1030)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
(HTTPSamplerBase.java:1253)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
.java:853)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:889)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:875)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
at java.lang.Thread.run(Thread.java:619)

2007/08/14 09:20:09 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Header Manager superseded by HTTP Header Manager 
2007/08/14 09:20:09 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Cookie Manager superseded by HTTP Cookie Manager

Simon

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 13 August 2007 17:51
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

I've just uploaded r565388 to the nightly directory - this should fix
the redirect NPE (as well as the Summariser bug)

S.
On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Thanks Sebb,
>
> Have upgraded to the latest nightly build and am running the suite
> against it.  Have also modified my Test Plan as you suggested.
>
> Many thanks,
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 16:27
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Hi Sebb,
> >
> > Many thanks again.
> >
> > I'm aware that a redirect response with no location header is a HTTP
> > protocol violation, but I'm running through a suite of URLs provided
> by
> > a third party and quite a number of them contain this.  Can JMeter
> just
> > ignore that URL if a HTTP Protocol violation takes place?
>
> That's what should happen once the NPE bug is fixed.
>
> > I'm using JMeter 2.3RC3.
> >
> > I'm also getting another NullPointerException with the following
> error:
> >
> > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> > problem in Listener:  java.lang.NullPointerException
> >at
> >
>
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > :130)
>
> Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> try the latest nightly.
>
> >at
> >
>
org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > 0)
> >at
> >
>
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > ier.java:240)
> >at
> >
>
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> > :572)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > I've tried removing and rearranging some of the header managers, but
> > with no success.
> >
> > My current arrangement is as follows:
> >
> > Test Plan
> > + HTTP Header Manager
> > + Thread Group
> > + While Controller
> > + + CSV Data Set Config
> > + + HTTP Request HTTPClient
> > + + + Bean Shell Listener
> > + + HTTP Cookie Manager
> > + + View Results in Table Listener
>
> It would be better to use:
>
> Test Plan
> + Thread Group
> + + HTTP Header Manager
> + + HTTP Cookie Manager
> + + While Controller
> + + + CSV Data Set Config
> + + + HTTP Request HTTPClient
> + + + + Bean Shell Listener
> + + View Results in Table Listener
>
> > Thanks,
> >
> > Simon
> >
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 15:36
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I'm getting the following errors in my jmeter.log file:
> > >
> > > 2007/08/13 09:13:32 ERROR -
> > > org.apache.commons.httpclient.HttpMethodDirector: Received
redirect
> > > response 302 but no location header
> &

Re: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread sebb
On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Hi Seb,
>
> Thanks for all your help.  That uploaded nightly build seems to have
> greatly improved the processing of my suite of urls.
>
> However, I'm still seeing the following error reported, although it
> doesn't seem to cause JMeter to stop processing the URLs:
>
> 2007/08/14 08:41:29 ERROR - jmeter.threads.JMeterThread:
> java.lang.NullPointerException

Is there no more trace? e.g. line numbers?

> 2007/08/14 08:41:29 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Header Manager superseded by HTTP Header Manager
> 2007/08/14 08:41:29 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Cookie Manager superseded by HTTP Cookie Manager

I don't understand that - can you send me the JMX privately?

> The layout of my Test Plan is as follows:
>
> Test Plan
> + Thread Group
> + + HTTP Header Manager
> + + HTTP Cookie Manager
> + + While Controller
> + + + CSV Data Set Config
> + + + HTTP Request HTTPClient
> + + + + Bean Shell Listener
> + View Results in Table Listener
>
> Any thoughts?
>
> Regards,
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 17:51
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> I've just uploaded r565388 to the nightly directory - this should fix
> the redirect NPE (as well as the Summariser bug)
>
> S.
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Thanks Sebb,
> >
> > Have upgraded to the latest nightly build and am running the suite
> > against it.  Have also modified my Test Plan as you suggested.
> >
> > Many thanks,
> >
> > Simon
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 16:27
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi Sebb,
> > >
> > > Many thanks again.
> > >
> > > I'm aware that a redirect response with no location header is a HTTP
> > > protocol violation, but I'm running through a suite of URLs provided
> > by
> > > a third party and quite a number of them contain this.  Can JMeter
> > just
> > > ignore that URL if a HTTP Protocol violation takes place?
> >
> > That's what should happen once the NPE bug is fixed.
> >
> > > I'm using JMeter 2.3RC3.
> > >
> > > I'm also getting another NullPointerException with the following
> > error:
> > >
> > > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> > > problem in Listener:  java.lang.NullPointerException
> > >at
> > >
> >
> org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > > :130)
> >
> > Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> > try the latest nightly.
> >
> > >at
> > >
> >
> org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > > 0)
> > >at
> > >
> >
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > > ier.java:240)
> > >at
> > >
> >
> org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> > > :572)
> > >at
> > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
> > >at java.lang.Thread.run(Thread.java:619)
> > >
> > > I've tried removing and rearranging some of the header managers, but
> > > with no success.
> > >
> > > My current arrangement is as follows:
> > >
> > > Test Plan
> > > + HTTP Header Manager
> > > + Thread Group
> > > + While Controller
> > > + + CSV Data Set Config
> > > + + HTTP Request HTTPClient
> > > + + + Bean Shell Listener
> > > + + HTTP Cookie Manager
> > > + + View Results in Table Listener
> >
> > It would be better to use:
> >
> > Test Plan
> > + Thread Group
> > + + HTTP Header Manager
> > + + HTTP Cookie Manager
> > + + While Controller
> > + + + CSV Data Set Config
> > + + + HTTP Request HTTPClient
> > + + + + Bean Shell Listen

RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread Simon Brown
Hi Sebb,

Thank you very much for your help!  There was no more trace at the time
I captured that message.  However I subsequently got another trace:

2007/08/14 09:20:09 ERROR - jmeter.threads.JMeterThread:
java.lang.NullPointerException
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageReso
urces(HTTPSamplerBase.java:1030)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
(HTTPSamplerBase.java:1253)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
.java:853)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:889)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:875)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
at java.lang.Thread.run(Thread.java:619)

2007/08/14 09:20:09 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Header Manager superseded by HTTP Header Manager
2007/08/14 09:20:09 WARN  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
Cookie Manager superseded by HTTP Cookie Manager

I'll send the JMX to you privately.

Many thanks indeed.

Simon

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2007 10:33
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Hi Seb,
>
> Thanks for all your help.  That uploaded nightly build seems to have
> greatly improved the processing of my suite of urls.
>
> However, I'm still seeing the following error reported, although it
> doesn't seem to cause JMeter to stop processing the URLs:
>
> 2007/08/14 08:41:29 ERROR - jmeter.threads.JMeterThread:
> java.lang.NullPointerException

Is there no more trace? e.g. line numbers?

> 2007/08/14 08:41:29 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Header Manager superseded by HTTP Header Manager
> 2007/08/14 08:41:29 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Cookie Manager superseded by HTTP Cookie Manager

I don't understand that - can you send me the JMX privately?

> The layout of my Test Plan is as follows:
>
> Test Plan
> + Thread Group
> + + HTTP Header Manager
> + + HTTP Cookie Manager
> + + While Controller
> + + + CSV Data Set Config
> + + + HTTP Request HTTPClient
> + + + + Bean Shell Listener
> + View Results in Table Listener
>
> Any thoughts?
>
> Regards,
>
> Simon
>
> -Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 17:51
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> I've just uploaded r565388 to the nightly directory - this should fix
> the redirect NPE (as well as the Summariser bug)
>
> S.
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Thanks Sebb,
> >
> > Have upgraded to the latest nightly build and am running the suite
> > against it.  Have also modified my Test Plan as you suggested.
> >
> > Many thanks,
> >
> > Simon
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 16:27
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi Sebb,
> > >
> > > Many thanks again.
> > >
> > > I'm aware that a redirect response with no location header is a
HTTP
> > > protocol violation, but I'm running through a suite of URLs
provided
> > by
> > > a third party and quite a number of them contain this.  Can JMeter
> > just
> > > ignore that URL if a HTTP Protocol violation takes place?
> >
> > That's what should happen once the NPE bug is fixed.
> >
> > > I'm using JMeter 2.3RC3.
> > >
> > > I'm also getting another NullPointerException with the following
> > error:
> > >
> > > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier:
Detected
> > > problem in Listener:  java.lang.NullPointerException
> > >at
> > >
> >
>
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > > :130)
> >
> > Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> > try the latest nightly.
> >
> > >at
> > >
> >
>
org.apache.jmeter.reporters.Summariser.sample

Re: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread sebb
This NPE is caused when the list of extracted URLs contains a null
entry - not sure how that happens yet, but I'll put in a check for it.

On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Another error message I'm getting is:
>
> 2007/08/14 09:20:09 ERROR - jmeter.threads.JMeterThread:
> java.lang.NullPointerException
>at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageReso
> urces(HTTPSamplerBase.java:1030)
>at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
> (HTTPSamplerBase.java:1253)
>at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> .java:853)
>at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:889)
>at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:875)
>at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
>at java.lang.Thread.run(Thread.java:619)
>
> 2007/08/14 09:20:09 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Header Manager superseded by HTTP Header Manager
> 2007/08/14 09:20:09 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Cookie Manager superseded by HTTP Cookie Manager
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 17:51
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> I've just uploaded r565388 to the nightly directory - this should fix
> the redirect NPE (as well as the Summariser bug)
>
> S.
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Thanks Sebb,
> >
> > Have upgraded to the latest nightly build and am running the suite
> > against it.  Have also modified my Test Plan as you suggested.
> >
> > Many thanks,
> >
> > Simon
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 16:27
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi Sebb,
> > >
> > > Many thanks again.
> > >
> > > I'm aware that a redirect response with no location header is a HTTP
> > > protocol violation, but I'm running through a suite of URLs provided
> > by
> > > a third party and quite a number of them contain this.  Can JMeter
> > just
> > > ignore that URL if a HTTP Protocol violation takes place?
> >
> > That's what should happen once the NPE bug is fixed.
> >
> > > I'm using JMeter 2.3RC3.
> > >
> > > I'm also getting another NullPointerException with the following
> > error:
> > >
> > > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier: Detected
> > > problem in Listener:  java.lang.NullPointerException
> > >at
> > >
> >
> org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > > :130)
> >
> > Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> > try the latest nightly.
> >
> > >at
> > >
> >
> org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > > 0)
> > >at
> > >
> >
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > > ier.java:240)
> > >at
> > >
> >
> org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> > > :572)
> > >at
> > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
> > >at java.lang.Thread.run(Thread.java:619)
> > >
> > > I've tried removing and rearranging some of the header managers, but
> > > with no success.
> > >
> > > My current arrangement is as follows:
> > >
> > > Test Plan
> > > + HTTP Header Manager
> > > + Thread Group
> > > + While Controller
> > > + + CSV Data Set Config
> > > + + HTTP Request HTTPClient
> > > + + + Bean Shell Listener
> > > + + HTTP Cookie Manager
> > > + + View Results in Table Listener
> >
> > It would be better to use:
> >
> > Test Plan
> > + Thread Group
> > + + HTTP Header Manager
> > + + HTTP Cookie Manager
> > + + While Cont

RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread Simon Brown
Great stuff!  This is great support!

Simon

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2007 11:29
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

This NPE is caused when the list of extracted URLs contains a null
entry - not sure how that happens yet, but I'll put in a check for it.

On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Another error message I'm getting is:
>
> 2007/08/14 09:20:09 ERROR - jmeter.threads.JMeterThread:
> java.lang.NullPointerException
>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageReso
> urces(HTTPSamplerBase.java:1030)
>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
> (HTTPSamplerBase.java:1253)
>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> .java:853)
>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:889)
>at
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:875)
>at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
>at java.lang.Thread.run(Thread.java:619)
>
> 2007/08/14 09:20:09 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Header Manager superseded by HTTP Header Manager
> 2007/08/14 09:20:09 WARN  -
> jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> Cookie Manager superseded by HTTP Cookie Manager
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2007 17:51
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> I've just uploaded r565388 to the nightly directory - this should fix
> the redirect NPE (as well as the Summariser bug)
>
> S.
> On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Thanks Sebb,
> >
> > Have upgraded to the latest nightly build and am running the suite
> > against it.  Have also modified my Test Plan as you suggested.
> >
> > Many thanks,
> >
> > Simon
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 16:27
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi Sebb,
> > >
> > > Many thanks again.
> > >
> > > I'm aware that a redirect response with no location header is a
HTTP
> > > protocol violation, but I'm running through a suite of URLs
provided
> > by
> > > a third party and quite a number of them contain this.  Can JMeter
> > just
> > > ignore that URL if a HTTP Protocol violation takes place?
> >
> > That's what should happen once the NPE bug is fixed.
> >
> > > I'm using JMeter 2.3RC3.
> > >
> > > I'm also getting another NullPointerException with the following
> > error:
> > >
> > > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier:
Detected
> > > problem in Listener:  java.lang.NullPointerException
> > >at
> > >
> >
>
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > > :130)
> >
> > Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> > try the latest nightly.
> >
> > >at
> > >
> >
>
org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > > 0)
> > >at
> > >
> >
>
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > > ier.java:240)
> > >at
> > >
> >
>
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java
> > > :572)
> > >at
> > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
> > >at java.lang.Thread.run(Thread.java:619)
> > >
> > > I've tried removing and rearranging some of the header managers,
but
> > > with no success.
> > >
> > > My current arrangement is as follows:
> > >
> > > Test Plan
> > > + HTTP Header Manager
> > > + Thread Group
> > > + While Controller
> > > + + CSV Data Set Config
> > > + + HTTP Request HTTPClient
> > > + + + Bean Shell Listener
> > > + + HTTP Cookie Manager
> > >

Re: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread sebb
The latest nightly (r565714) includes what I hope is a work-round for
the NPE - a message should be logged instead.

S.
On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Great stuff!  This is great support!
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 14 August 2007 11:29
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> This NPE is caused when the list of extracted URLs contains a null
> entry - not sure how that happens yet, but I'll put in a check for it.
>
> On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Another error message I'm getting is:
> >
> > 2007/08/14 09:20:09 ERROR - jmeter.threads.JMeterThread:
> > java.lang.NullPointerException
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageReso
> > urces(HTTPSamplerBase.java:1030)
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
> > (HTTPSamplerBase.java:1253)
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> > .java:853)
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:889)
> >at
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:875)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > 2007/08/14 09:20:09 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Header Manager superseded by HTTP Header Manager
> > 2007/08/14 09:20:09 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Cookie Manager superseded by HTTP Cookie Manager
> >
> > Simon
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 17:51
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > I've just uploaded r565388 to the nightly directory - this should fix
> > the redirect NPE (as well as the Summariser bug)
> >
> > S.
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Thanks Sebb,
> > >
> > > Have upgraded to the latest nightly build and am running the suite
> > > against it.  Have also modified my Test Plan as you suggested.
> > >
> > > Many thanks,
> > >
> > > Simon
> > >
> > > -Original Message-
> > > From: sebb [mailto:[EMAIL PROTECTED]
> > > Sent: 13 August 2007 16:27
> > > To: JMeter Users List
> > > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > > Cookie Manager
> > >
> > > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > > Hi Sebb,
> > > >
> > > > Many thanks again.
> > > >
> > > > I'm aware that a redirect response with no location header is a
> HTTP
> > > > protocol violation, but I'm running through a suite of URLs
> provided
> > > by
> > > > a third party and quite a number of them contain this.  Can JMeter
> > > just
> > > > ignore that URL if a HTTP Protocol violation takes place?
> > >
> > > That's what should happen once the NPE bug is fixed.
> > >
> > > > I'm using JMeter 2.3RC3.
> > > >
> > > > I'm also getting another NullPointerException with the following
> > > error:
> > > >
> > > > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier:
> Detected
> > > > problem in Listener:  java.lang.NullPointerException
> > > >at
> > > >
> > >
> >
> org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > > > :130)
> > >
> > > Yes, unfortunately the summariser is broken in 2.3RC3; remove it or
> > > try the latest nightly.
> > >
> > > >at
> > > >
> > >
> >
> org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19
> > > > 0)
> > > >at
> > > >
> > >
> >
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotif
> > > > ier.java:240)
> > > >at
> &g

RE: Existing Manager HTTP Cookie Manager superseded by HTTP Cookie Manager

2007-08-14 Thread Simon Brown
This is absolutely great!  Thanks so much!

-Original Message-
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2007 13:12
To: JMeter Users List
Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
Cookie Manager

The latest nightly (r565714) includes what I hope is a work-round for
the NPE - a message should be logged instead.

S.
On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Great stuff!  This is great support!
>
> Simon
>
> -Original Message-
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 14 August 2007 11:29
> To: JMeter Users List
> Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> Cookie Manager
>
> This NPE is caused when the list of extracted URLs contains a null
> entry - not sure how that happens yet, but I'll put in a check for it.
>
> On 14/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Another error message I'm getting is:
> >
> > 2007/08/14 09:20:09 ERROR - jmeter.threads.JMeterThread:
> > java.lang.NullPointerException
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageReso
> > urces(HTTPSamplerBase.java:1030)
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
> > (HTTPSamplerBase.java:1253)
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
> > .java:853)
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:889)
> >at
> >
>
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > erBase.java:875)
> >at
> > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298)
> >at java.lang.Thread.run(Thread.java:619)
> >
> > 2007/08/14 09:20:09 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Header Manager superseded by HTTP Header Manager
> > 2007/08/14 09:20:09 WARN  -
> > jmeter.protocol.http.sampler.HTTPSamplerBase: Existing Manager HTTP
> > Cookie Manager superseded by HTTP Cookie Manager
> >
> > Simon
> >
> > -Original Message-
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 13 August 2007 17:51
> > To: JMeter Users List
> > Subject: Re: Existing Manager HTTP Cookie Manager superseded by HTTP
> > Cookie Manager
> >
> > I've just uploaded r565388 to the nightly directory - this should
fix
> > the redirect NPE (as well as the Summariser bug)
> >
> > S.
> > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Thanks Sebb,
> > >
> > > Have upgraded to the latest nightly build and am running the suite
> > > against it.  Have also modified my Test Plan as you suggested.
> > >
> > > Many thanks,
> > >
> > > Simon
> > >
> > > -Original Message-
> > > From: sebb [mailto:[EMAIL PROTECTED]
> > > Sent: 13 August 2007 16:27
> > > To: JMeter Users List
> > > Subject: Re: Existing Manager HTTP Cookie Manager superseded by
HTTP
> > > Cookie Manager
> > >
> > > On 13/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > > Hi Sebb,
> > > >
> > > > Many thanks again.
> > > >
> > > > I'm aware that a redirect response with no location header is a
> HTTP
> > > > protocol violation, but I'm running through a suite of URLs
> provided
> > > by
> > > > a third party and quite a number of them contain this.  Can
JMeter
> > > just
> > > > ignore that URL if a HTTP Protocol violation takes place?
> > >
> > > That's what should happen once the NPE bug is fixed.
> > >
> > > > I'm using JMeter 2.3RC3.
> > > >
> > > > I'm also getting another NullPointerException with the following
> > > error:
> > > >
> > > > 007/08/13 14:57:52 ERROR - jmeter.threads.ListenerNotifier:
> Detected
> > > > problem in Listener:  java.lang.NullPointerException
> > > >at
> > > >
> > >
> >
>
org.apache.jmeter.reporters.Summariser$Totals.access$200(Summariser.java
> > > > :130)
> > >
> > > Yes, unfortunately the summariser is broken in 2.3RC3; remove it
or
> > > try the latest nightly.
> > >
> > > >at
> > > >
> > >
> >
>
org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:19