* Tomcat 6.0.xx running a web app which I want to (remotely) profile with JBoss Profiler
* Hudson running tests
Now I want to remotely start profiling (in Hudson job), run the tests and stop profiling (in Hudson job). Of course after stopping I would download the raw report from the server and generate it as html in hudson job for publishing it.
How am I able to start and stop profiling (remotely in Hudson job)? Which version of the JBoss Profiler should I use?