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) > > > > > > 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] > > > --------------------------------------------------------------------- > 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]