-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception java.lang.NoClassDefFoundError when using MQTT tests #12
Comments
This is because fusesource library files are not getting included in the mqtt plugin jar. |
I've tried using the fixed pom file and now I can't build the project: |
Hi @andreibosco , What is the maven version you are using ? |
I'm using 3.3.3. I've just changed maven-shade-plugin from 2.0 to 2.1 and now it builds fine. |
You will need to build JMeter with dependencies. Add the following to the POM.xml
Add this to the tag. Secondly, make sure your JMeter version complies to the JMeter version you are using. Third, change the mqtt-client library version to 1.10 instead of 1.4
By doing this you eliminate all the FutureListener exceptions, input string "" errors and so on.
Full Sample pom.xml
Current remaining issues that i still see :
@tuanhiep - Do have a look and see if i make any sense to ease your understanding. |
I'm trying to make a MQTT test (pub/sub) but Jmeter gives me this Exception:
I followed your installation instructions at README.
The text was updated successfully, but these errors were encountered: