{"id":3083,"date":"2010-01-27T13:51:12","date_gmt":"2010-01-27T13:51:12","guid":{"rendered":""},"modified":"2026-04-18T22:54:46","modified_gmt":"2026-04-18T22:54:46","slug":"testing-the-maven-jmeter-plugin","status":"publish","type":"post","link":"https:\/\/hellem.org\/wblog\/?p=3083","title":{"rendered":"Testing the Maven JMeter Plugin"},"content":{"rendered":"<p>Currently testing the <a href=\"http:\/\/www.ronniealleva.org\/index.php\/maven-jmeter-plugin\/comment-page-1\/#comment-5208\">Maven JMeter Plugin<\/a> developed by R<a href=\"http:\/\/www.ronniealleva.org\/index.php\/about\/\">on Alleva<\/a>. Did some testing, but quite soon got an error like the one mentioned in the comments of his post<\/p>\n<blockquote><p>\n2010\/01\/19 16:42:45 ERROR \u2013 jmeter.JMeter: java.lang.NullPointerException<br \/>\nat org.apache.jmeter.gui.tree.JMeterTreeModel.<br \/>\naddSubTree(JMeterTreeModel.java:91)<\/p><\/blockquote>\n<p>A bit of struggle to actually find it, since I&#8217;m new both to Maven and diving into Open Source-code, but after I had a quick look into the code of both the actual plugin and <a href=\"http:\/\/jakarta.apache.org\/jmeter\/\">JMeter<\/a> itself it came clear that the problem was <a href=\"http:\/\/commons.apache.org\/logging\/\">ClassNotFoundException <\/a>related to Apache Commons LogFactory. With great help from <a href=\"http:\/\/no.linkedin.com\/in\/kajakvingeakselsen\">Kaja<\/a> I just added the following code to the POM-file<\/p>\n<p><code><br \/>\n &lt;dependency&gt;<br \/>\n   &lt;groupId&gt;commons-logging&lt;\/groupId&gt;<br \/>\n   &lt;artifactId&gt;commons-logging&lt;\/artifactId&gt;<br \/>\n   &lt;version&gt;1.1.1&lt;\/version&gt;<br \/>\n &lt;\/dependency&gt;<br \/>\n<\/code><\/p>\n<p>Updated my repository and voila, test running&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently testing the Maven JMeter Plugin developed by Ron Alleva. Did some testing, but quite soon got an error like the one mentioned in the comments of his post 2010\/01\/19 16:42:45 ERROR \u2013 jmeter.JMeter: java.lang.NullPointerException at org.apache.jmeter.gui.tree.JMeterTreeModel. addSubTree(JMeterTreeModel.java:91) A bit of struggle to actually find it, since I&#8217;m new both to Maven and diving into [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-3083","post","type-post","status-publish","format-standard","hentry","category-work-geek"],"_links":{"self":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/3083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3083"}],"version-history":[{"count":1,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/3083\/revisions"}],"predecessor-version":[{"id":14520,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/3083\/revisions\/14520"}],"wp:attachment":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}