Ishita
Ishita

Reputation: 119

Jmeter class not found exception when executing test for grpc endpoint

I am running into an error: java.lang.ClassNotFoundException: ***APIGrpc when trying to run Jmeter for my grpc endpoint. Not sure why Grpc is being appended at the last, not sure if that is causing issue. Can anyone please help me with this issue?

Upvotes: 1

Views: 135

Answers (1)

Dmitri T
Dmitri T

Reputation: 168147

ClassNotFoundException means that the class you're trying to use is not in JMeter Classpath

Make sure to put the class (along with dependencies if any) to "lib" folder of your JMeter installation or to the folder where user.classpath JMeter Property is pointing to

JMeter restart will be required to pick up the changes.

With regards to Grpc postfix its generated in the proto folder so it's kind of expected.

Upvotes: 0

Related Questions