Welcome to JspTester™, a web-based tool for the isolated testing and prototyping of JSP pages! JspTester™ seamlessly integrates with your web application, allowing you to test the rendering of JSP pages by injecting request parameters, model attributes and session variables without the need of business logic or an MVC controller.

Features

shadowed image
  • No Needed for Business Logic

    Work in parallel with back-end developers. Inject request parameters, model and session variables directly from the tool.

  • Integrated with Your Application

    Use your existing beans to test the rendering of your JSPs. Add collections, maps and complex objects, as needed by the JSPs.

  • Prototype and Test with a Single Tool

    Edit your JSPs online and test them iteratively. Configure and save your test cases for later use.

Download

Through Maven: Add the following URL to your repositories list

  • http://jsptester.com:8081/nexus/content/repositories/releases
then add the following dependency to your pom.xml:
<dependency>
    <groupId>com.jsptester</groupId>
    <artifactId>jsptester</artifactId>
    <version>1.0</version>
</dependency>
                   
              

Direct download: Download jsptester-1.0.jar from our Maven repository:

NOTES:

  • You don't need to buy a license to use this product. The free version has all the functionality of the paid version, except that only a single test file may be saved.
  • Before installing the product, please take some time to read our Software License Agreement

Configuring JspTester™

Configuration is done by modifying your application's web.xml. The following is a minimal configuration that uses the defaults:


<!-- JspTester Servlet -->
<servlet>
<servlet-name>jsptester</servlet-name>
	<servlet-class>com.jsptester.servlet.JspTesterServlet</servlet-class>
	<init-param>
		<description>The root directory of JSPs</description>
		<param-name>rootDir</param-name>
		<param-value>WEB-INF/jsp</param-value>
	</init-param>
	<init-param>
		<description>The product license ID</description>
		<param-name>license</param-name>
		<param-value>[Your product license ID goes here, leave blank for demo]</param-value>
	</init-param>
	<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
	<servlet-name>jsptester</servlet-name>
	<url-pattern>/jsptester/*</url-pattern>
</servlet-mapping>

A complete configuration requires the following entries in web.xml. The documentation of each configuration parameter is given in the <description> tag


<!-- JspTester Servlet -->
<servlet>
<servlet-name>jsptester</servlet-name>
	<servlet-class>com.jsptester.servlet.JspTesterServlet</servlet-class>
	<init-param>
		<description>The path of the directory holding data (test) files</description>
		<param-name>dataDir</param-name>
		<param-value>/jsptester</param-value>
	</init-param>
	<init-param>
		<description>The root directory of JSPs</description>
		<param-name>rootDir</param-name>
		<param-value>WEB-INF/jsp</param-value>
	</init-param>
	<init-param>
		<description>The path of the directory used for temporary files</description>
		<param-name>tempDir</param-name>
		<param-value>jsptmp</param-value>
	</init-param>
	<init-param>
		<description>The product license ID</description>
		<param-name>license</param-name>
		<param-value>[Your product license ID goes here, leave blank for demo]</param-value>
	</init-param>
    <init-param>
  	   <description>List of hosts allowed to access JspTester (comma-delimited)</description>
       <param-name>allowHosts</param-name>
       <param-value>localhost,127.0.0.1,0:0:0:0:0:0:0:1</param-value>
       </init-param>
	<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
	<servlet-name>jsptester</servlet-name>
	<url-pattern>/jsptester/*</url-pattern>
</servlet-mapping>

Running JspTester™

To run JspTester™, bring up your web application as you normally do, then enter the JspTester™ servlet's URL in a browser. For example, if your web application's URL is http://localhost/MYAPP and you are using the recommended settings, then you would use the following URL:

  • http://localhost/MYAPP/jsptester

Buy License(s)

JspTester™ is a commercial product. The unlicensed product will be limited to saving only one test file. Licensing is provided on a per-developer, yearly-subscription basis with the following benefits:

  • Free email support with 24-hour response
  • Free upgrades

NOTE: Before buying a license for the product, please take some time to read our Software License Agreement

To buy one or more licenses, please click on the following button. You will be directed to PayPal to complete the transaction. After your purchase is completed, you should receive a confirmation email with license information.

Subcription Price: US$49.00/year

Contact Us

You can contact us by any of the following means

  • Email: info@jsptester.com
  • Phone: USA-855-801-6196 International-1-813-676-8270
  • Mail: 1971 W Lumsden Road, Suite 321, Brandon, FL 33511

Or use the following form. A company representative will contact you within 48 hours: