You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2011/06/22 17:25:20 UTC
MBeans integration testing?
Hi,
As we're starting to create MBeans (SLING-1476), we should test them ;-)
To me the simplest way seems to have an HTTP interface [1] that reads
JMX attribute values from the MBeanServer, to at least check that the
MBeans are correctly registered.
We can then add client-side HTTP-level integration tests for the
"important" MBeans.
WDYT? Other ideas?
-Bertrand
[1] https://svn.apache.org/repos/asf/sling/whiteboard/bdelacretaz/experimental/src/main/java/org/apache/sling/bdelacretaz/experimental/impl/jmxservlet/JmxServlet.java
Re: MBeans integration testing?
Posted by Justin Edelson <ju...@justinedelson.com>.
I guess this was OK. I seem to remember there being an effort underway
to create a standard RESTful remoting specification for JMX, but I
can't find reference to that now (only the SOAP-orientated JSR-262).
Justin
On Wed, Jun 22, 2011 at 11:25 AM, Bertrand Delacretaz
<bd...@apache.org> wrote:
> Hi,
>
> As we're starting to create MBeans (SLING-1476), we should test them ;-)
>
> To me the simplest way seems to have an HTTP interface [1] that reads
> JMX attribute values from the MBeanServer, to at least check that the
> MBeans are correctly registered.
>
> We can then add client-side HTTP-level integration tests for the
> "important" MBeans.
>
> WDYT? Other ideas?
>
> -Bertrand
>
> [1] https://svn.apache.org/repos/asf/sling/whiteboard/bdelacretaz/experimental/src/main/java/org/apache/sling/bdelacretaz/experimental/impl/jmxservlet/JmxServlet.java
>