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
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
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
--- 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
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
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
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.
7 matches
Mail list logo