                   :version :v4}]
     (try
       (swap! dispatch/metrics svc-utils/clear-counters!)
-      {:app (tkbs/parse-and-bootstrap bootstrap-config-file
-                                      {:config tmp-puppetdb-conf})
+      {:app (tu/without-jmx
+             (tkbs/parse-and-bootstrap bootstrap-config-file
+                                       {:config tmp-puppetdb-conf}))
        :base-url base-url}
 
       (catch java.net.BindException e

(def dev-config-file "./test-resources/puppetserver/puppetserver.conf")
(def dev-bootstrap-file "./test-resources/puppetserver/bootstrap.cfg")

(defn run-puppet-server [pdb-server config-overrides]
  (let [pdb-info (info-map pdb-server)
        puppetdb-conf (io/file "target/puppetserver/master-conf/puppetdb.conf")]
    (fs/copy-dir "test-resources/puppetserver/ssl" "./target/puppetserver/master-conf/ssl")
    (fs/copy+ "test-resources/puppetserver/puppet.conf" "target/puppetserver/master-conf/puppet.conf")

                          :port port
                          :query-base-url (assoc base-url :prefix "/pdb/query" :version :v4)
                          :command-base-url (assoc base-url :prefix "/pdb/cmd" :version :v1)
                          :admin-base-url (assoc base-url :prefix "/pdb/admin" :version :v1)
                          :app app}
                         app)))

(defn pql-query [pdb-server query]
