I have set up a class extending AbstractJavaSamplerClient
containing a setupTest
, runTest
and getDefaultParameters
method, all written accordingly to the jMeter's templates and online examples.
Have added a Logger, tried setting it up normally (LoggingManager.getLoggerForClass();
) and using super as well (super.getLogger();
) and added multiple Logger.info
and Logger.error
I'm using a Java request
and giving a Jar containing my classes have completed the user.properties
with the classpath. The right class is selected when running the tests.
When I run my tests, no custom logs appear. No error either. And I'm getting this:
2016/02/03 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2016/02/03 13:27:04 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2016/02/03 13:27:04 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2016/02/03 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Group Test
2016/02/03 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Starting 0 threads for group Group Test.
2016/02/03 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Thread will start next loop on error
2016/02/03 13:27:04 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 0 ramp-up 1 perThread Infinity delayedStart=false
2016/02/03 13:27:04 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2016/02/03 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2016/02/03 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2016/02/03 13:27:04 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
I've checked the user.properties and the logs are written to jmeter.log
I feel like my class is not even tested since the logs are not displaying anything beside "Starting/Done/Finshed Thread".
When I add a result tree or any other result thread, it stays empty.
What could be set up wrong here?
Aucun commentaire:
Enregistrer un commentaire