Re: new HTTPSampleResult() returns null. My Mistake or JMeter's?

2005-11-10 Thread sebb
On 04/11/05, Alex Eagar [EMAIL PROTECTED] wrote: JMeter v. 2.1.1 with bsh-2.0b4.jar and j2sdk1.4.2_10 on Windows XP SP2. --- The Problem --- Within a BeanShell Sampler, I have the following: import org.apache.jmeter.protocol.http.sampler.HTTPSampleResult; HTTPSampleResult res = new

Re: new HTTPSampleResult() returns null. My Mistake or JMeter's?

2005-11-07 Thread sebb
On 04/11/05, Alex Eagar [EMAIL PROTECTED] wrote: JMeter v. 2.1.1 with bsh-2.0b4.jar and j2sdk1.4.2_10 on Windows XP SP2. --- The Problem --- Within a BeanShell Sampler, I have the following: import org.apache.jmeter.protocol.http.sampler.HTTPSampleResult; HTTPSampleResult res = new

Re: new HTTPSampleResult() returns null. My Mistake or JMeter's?

2005-11-07 Thread sebb
On 04/11/05, Alex Eagar [EMAIL PROTECTED] wrote: HTTPSamplerResult extends SampleResult SampleResult Constructor Definition: public SampleResult() {time = 0;} Does it need to call super()? If not, why not? SampleResult does not need to call super() because it does not extend any class

Re: new HTTPSampleResult() returns null. My Mistake or JMeter's?

2005-11-07 Thread Alex Eagar
--- sebb wrote: BeanShell Sampler was not designed for such usage. Sorry, but I've no idea whether or not this can be made to work. Try checking jmeter.log in case there are any error messages to show why res==null. Every other object that I create works just fine. I created some simple

AW: new HTTPSampleResult() returns null. My Mistake or JMeter's?

2005-11-07 Thread Carsten Sensler
your problem. Carsten -Ursprüngliche Nachricht- Von: Alex Eagar [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 8. November 2005 01:57 An: JMeter Users List Betreff: Re: new HTTPSampleResult() returns null. My Mistake or JMeter's? --- sebb wrote: BeanShell Sampler was not designed

new HTTPSampleResult() returns null. My Mistake or JMeter's?

2005-11-04 Thread Alex Eagar
JMeter v. 2.1.1 with bsh-2.0b4.jar and j2sdk1.4.2_10 on Windows XP SP2. --- The Problem --- Within a BeanShell Sampler, I have the following: import org.apache.jmeter.protocol.http.sampler.HTTPSampleResult; HTTPSampleResult res = new HTTPSampleResult(); print(res == + res); When run, the

Re: new HTTPSampleResult() returns null. My Mistake or JMeter's?

2005-11-04 Thread Alex Eagar
HTTPSamplerResult extends SampleResult SampleResult Constructor Definition: public SampleResult() {time = 0;} Does it need to call super()? If not, why not? Alex Eagar __ Yahoo! FareChase: Search multiple travel sites in one click.