@Test( groups = {"wso2.esb"}, description = "Sending a Message Via REST to test uri template fix") public void testRESTURITemplate() throws Exception { /* sending parameter /view/WSO2 to match /view/{symbol} in uri-template */ HttpResponse response = HttpRequestUtil.sendGetRequest(getApiInvocationURL("stockquote") + "/view/WSO2", null); Assert.assertEquals(response.getResponseCode(), 200, "Response code mismatch"); Assert.assertTrue(response.getData().contains("WSO2"), "Response message is not as expected."); Assert.assertTrue( response.getData().contains("WSO2 Company"), "Response message is not as expected"); }