zalopay-oss / jmeter-grpc-plugin

A JMeter plugin supports load test gRPC
Apache License 2.0
42 stars 23 forks source link

Compatibility with older JMeter #10

Closed Milanista99 closed 4 years ago

Milanista99 commented 4 years ago

Hello,

I would like to ask if this plugin could work with JMeter version 2.9? I've tried to add it, but I get the following error: 2020/06/04 12:50:39 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoSuchMethodError: org.apache.jmeter.samplers.SampleResult.setSentBytes(J)V at vn.zalopay.jmeter.grpc.client.ClientRecorder.(ClientRecorder.java:18) at vn.zalopay.jmeter.grpc.client.GrpcClientSampler.sample(GrpcClientSampler.java:93) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261) at java.lang.Thread.run(Thread.java:748)

Regards Miky

thoainguyen commented 4 years ago

Hi @Milanista99, Try to remove that line, and re-install. Without the code .setSentBytes(), the column Network (KB/sec)/Sent in report will be missing but the jmeter plugin still work BR. Thoai nguyen

Milanista99 commented 4 years ago

Thank you for the help, it works :)