Measuring integration with Maven

Now everything is all right:

  • I have a multi-module project in maven with EJB and WAR projects
  • I want to use JMeter (and later selenium) to test integration. I can run both from Maven. The JMeter plan is ready, I launch it using the Chronos maven plugin.
  • My application is a Java EE application, so I want to test the code using the planned application creation server, which is Glassfish 2.11. I can create / start / expand / stop and something like that with the help of plugins for swimming posters
  • I set the jmeter and glassfish build options to a submodule in maven, which depends on all the other modules, so this is the least in the build life cycle, and for this reason is a good time to test the entire application

My problem is how can I achieve the following goals:

  • deploy NOT instrumental code, but run integration tests on the instrumental computer
  • how to get coverage information from an application server
  • I wanted to use emma4it , which was created for instrumental artifacts. That would be good for me, but I cannot make it a war file tool in another submodule. I don’t even know anything about the supported emma4it arguments, since I did not find it at all (just a binary in the repository), no documentation and no source (I know that I can decompile it).
  • I want to have raport coverage, at least on the maven site, but the top one will have it in Sonar

Could you give me advice on how to do this? I can provide POM fragments if you need it.

+4
source share

All Articles