We are monitoring a custom application with extensive custom MBeans and attributes. We've been functionally testing for a long time with servers in a lab, but now we want to create proper unit tests that don't rely on actual remote connections.
On my own, I simply have not been able to figure out how to use Groovy JMX builder to start a local MBeanServer, and expose local mbeans with a list of attributes and operations.
Would anyone be willing to provide an example of such a mockup? The existing examples I've found for jmxbuilder don't get me there, but it looks like it should be possible.
Aucun commentaire:
Enregistrer un commentaire