@Test
- public void testSimplePage() throws Exception {
- WebResponse response = executeRequest("http://localhost:8080/simple-page.jsp");
- log.info("Title:\t\t{}", response.getTitle());
- log.debug("Text:\t\t{}", response.getText());
- }
-
- @Test
- public void testPageWithInclude() throws Exception {
- WebResponse response = executeRequest("http://localhost:8080/page-with-include.jsp");
- log.info("Title:\t\t{}", response.getTitle());
- log.debug("Text:\t\t{}", response.getText());
- }
-
- @Test
- public void testPageWithForward() throws Exception {
- WebResponse response = executeRequest("http://localhost:8080/page-with-forward.jsp");
- log.info("Title:\t\t{}", response.getTitle());
- log.debug("Text:\t\t{}", response.getText());
- }
-
- @Test
- public void testStaticContent() throws Exception {
- WebResponse response = executeRequest("http://localhost:8080/default.css");
+ public void testSpringPage() throws Exception {
+ WebResponse response = executeRequest("http://localhost:8080/spring-page.html");
log.info("Title:\t\t{}", response.getTitle());
log.debug("Text:\t\t{}", response.getText());
}