|
@@ -51,7 +51,7 @@ public class TestJMXJsonServlet extends HttpServerFunctionalTest {
|
|
assertTrue("'"+p+"' does not match "+value, m.find());
|
|
assertTrue("'"+p+"' does not match "+value, m.find());
|
|
}
|
|
}
|
|
|
|
|
|
- @Test public void testQury() throws Exception {
|
|
|
|
|
|
+ @Test public void testQuery() throws Exception {
|
|
String result = readOutput(new URL(baseUrl, "/jmx?qry=java.lang:type=Runtime"));
|
|
String result = readOutput(new URL(baseUrl, "/jmx?qry=java.lang:type=Runtime"));
|
|
LOG.info("/jmx?qry=java.lang:type=Runtime RESULT: "+result);
|
|
LOG.info("/jmx?qry=java.lang:type=Runtime RESULT: "+result);
|
|
assertReFind("\"name\"\\s*:\\s*\"java.lang:type=Runtime\"", result);
|
|
assertReFind("\"name\"\\s*:\\s*\"java.lang:type=Runtime\"", result);
|