looks like it couldn't initialize one of your classes. is the constructor or
method private/procted? it's hard to tell without seeing the code..

peter


On 10/26/05, Michael Riedling <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> I want to use the Java Request Sampler from JMeter to test a Java Client
> which access a Webservice.
> I implemented the interface and the required methods in my testclass
> (CodeSamples.CityMapService).
> The testclass itself is in the /lib/ext library and it appears in the
> Java Request Sampler.
> I put the essential libraries for my testclass into JMeters /lib
> directory.
>
> Up to now all works OK, but the test itself doesn´t work!
> The Output is an empty error like "ERROR: CodeSamples.CityMapService".
>
> The logfile output is more predicative, but i can´t understand it. Maybe
> somebody could help me.
>
> Many Thanks in advance!
>
> - Michael
>
> PS.
> Jmeter Logfile output:
>
> 2005/10/26 17:59:36 INFO - jmeter.engine.StandardJMeterEngine: Running
> the test!
> 2005/10/26 17:59:36 INFO - jmeter.gui.util.JMeterMenuBar:
> setRunning(true,local)
> 2005/10/26 17:59:36 INFO - jmeter.engine.StandardJMeterEngine: Starting
> 1 threads for group Thread Gruppe. Ramp up = 1.
> 2005/10/26 17:59:36 INFO - jmeter.engine.StandardJMeterEngine: Continue
> on error
> 2005/10/26 17:59:36 INFO - jmeter.threads.JMeterThread: Thread Thread
> Gruppe 1-1 started
> 2005/10/26 17:59:36 ERROR - jmeter.protocol.java.sampler.JavaSampler:
> Thread Gruppe [EMAIL PROTECTED] Exception creating: CodeSamples.CityMapService
> java.lang.IllegalAccessException: Class
> org.apache.jmeter.protocol.java.sampler.JavaSampler can not access a
> member of class CodeSamples.CityMapService with modifiers ""
> at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at
> org.apache.jmeter.protocol.java.sampler.JavaSampler.createJavaClient(
> JavaSampler.java:180)
> at
> org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(
> JavaSampler.java:159)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
> at java.lang.Thread.run(Unknown Source)
>
> 2005/10/26 17:59:36 INFO - jmeter.threads.JMeterThread: Thread Thread
> Gruppe 1-1 is done
> 2005/10/26 17:59:36 INFO - jmeter.engine.StandardJMeterEngine: Ending
> thread 0
> 2005/10/26 17:59:36 INFO - jmeter.engine.StandardJMeterEngine: Stopping
> test
> 2005/10/26 17:59:36 INFO - jmeter.engine.StandardJMeterEngine:
> Notifying test listeners of end of test
> 2005/10/26 17:59:36 INFO - jmeter.gui.util.JMeterMenuBar:
> setRunning(false,local)
> 2005/10/26 17:59:36 INFO - jmeter.engine.StandardJMeterEngine: Test has
> ended
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to