O'Reilly logo

Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications by Mick Knutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing HTTP endpoints with Selenium

In order to test web application services, such as JSP and JSF pages that are dynamically generated, you need to deploy those artefacts to a Java EE or Servlet container in order to test them. While manual testing of page content is possible, automating this task will greatly increase the development lifecycle, and it will also reduce errors in validating repeated test cycles to ensure consistent test results.

In order to automate web-based testing, you need to employ a mechanism in which a test will simulate web navigation, and input and result validation for given scenarios. The Selenium test runner comes to the rescue. Selenium allows a serial set of web integration instructions to be executed on a given ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required