Java classes not displayed in jmeter

View previous topic View next topic Go down

Java classes not displayed in jmeter

Post  goldvicky on Mon Aug 12, 2013 3:00 pm

I`m new to Jmeter. I`m trying to test my own Java class with jmeter. I have put my class`s jar file in the lib/ext folder of jmeter.
I think i placed all the dependencies also, correclty. In the test plan configuration also, i specifed my jar file in the classpath. Still, my java class is not displayed by Jmeter. When i create the Java request, only two classes are displayed, sleeptest and javatest. Please help me, since i have been trying to test that java class from last week.

goldvicky

Posts : 1
Join date : 2013-08-12

View user profile

Back to top Go down

Re: Java classes not displayed in jmeter

Post  glinius on Wed Jun 25, 2014 9:31 pm

Your class needs either implement JavaSamplerClient or extend AbstractJavaSamplerClient and have relevant overrides of required methods.

See WebSocket Testing With Apache JMeter guide for example implementation of WebSocket client via JMeter Java Request Sampler.

glinius

Posts : 6
Join date : 2013-10-23

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum