@Test
    public void test() throws Exception {
        
        URL url = new URL("http://localhost:7070/sonar-it-example-app/");
        
        
        BufferedReader in = new BufferedReader(new InputStreamReader(url
                .openConnection().getInputStream()));
        
        String line = in.readLine();
        
        while (line != null) {
            
            if (line.contains("Welcome to the demo!")) {
                return;
            }
            line = in.readLine();
        }
        
        fail();
    }