TeStereo report
@Test public void testJsonRpcMessageReceiver() throws Exception {
String jsonRequest="{\"echoPerson\":[{\"arg0\":{\"name\":\"Simon\",\"age\":\"35\",\"gender\":\"male\"}}]}";
String echoPersonUrl="http://localhost:" + UtilServer.TESTING_PORT + "/axis2/services/JSONPOJOService/echoPerson";
String expectedResponse="{\"response\":{\"name\":\"Simon\",\"age\":\"35\",\"gender\":\"male\"}}";
String response=UtilTest.post(jsonRequest,echoPersonUrl,contentType,charSet);
Assert.assertNotNull(response);
Assert.assertEquals(expectedResponse,response);
}