jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aufischer Thomas ,VASL/SG" <>
Subject Problem with new Sample/Sampler class
Date Fri, 14 Dec 2001 11:35:42 GMT


I've made a class (SocketExecutorRZSampler) which implements Sampler because
I have a very special test case. There I have implemented

  public SampleResult sample( Entry entry )

To be able to run this Sampler I implemented a Contoller
(SocketExecutorRZSample extends AbstractGenerativeController). There I've

  public Entry createEntry()
    log.debug( "SocketExecutorRZSample.createEntry" );
    Entry entry = new Entry();
    entry.setSamplerClass( SocketExecutorRZSampler.class );
    return entry;

I've added this controller in the JMX-file and I see that the constructor is
called (in root.log) but "createEntry" is never called. What might be the
problem? Is there any other interface I have to implement?

Below is my JMX.

Thanks for your help


<?xml version="1.0"?>

<ThreadGroup name="ThreadGroup" numThreads="3" rampUp="0">
<LoopController type="org.apache.jmeter.control.LoopController" name="Loop
Controller" iterations="10">
<LoopController type="org.apache.jmeter.control.LoopController" name="Do 10"
<JMeterComponent type="SocketExecutorRZSample" name="EFSCHEN
SocketExecutorRZSample" getImages="false">

<Filer type="org.apache.jmeter.reporters.Filer" name="File Reporter"
verbose="true" append="false" autoFlush="false" viewSubmitData="false"
<JMeterComponent type="org.apache.jmeter.reporters.ResultCollectorFull"
name="View Result Tree"/>
<JMeterComponent type="org.apache.jmeter.reporters.ResultCollectorIndGraph"
name="View Graph Tree"/>
<JMeterComponent type="org.apache.jmeter.visualizers.GraphAccumModel"
name="GraphFull Results"/>
<JMeterComponent type="org.apache.jmeter.visualizers.GraphModel" name="Graph
<JMeterComponent type="org.apache.jmeter.visualizers.SplineModel"
name="Spline Visualizer"/>


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message