I have integration test like one sample given below. Is not generating code coverage. Any suggestion will be highly appreciated
@Test public void testgetUpdatedResultCodes() { HttpMethod getMethod = new GetMethod(RESTURL_WEB_SERVER); HttpClient httpClient = new HttpClient(); int result = httpClient.executeMethod(getMethod); InputStream responseInputStream = getMethod.getResponseBodyAsStream(); BufferedReader in = new BufferedReader (new InputStreamReader(responseInputStream)); String line;StringBuilder data=new StringBuilder(); while ((line = in.readLine()) != null) { data.append(line); MIAmandaAdapterGetUpdatedResultCodesTest.info("Response is :"+line); } assertEquals(HttpStatus.SC_OK,result); }