Package org.apache.anteater.servlet

This package contains the server-side part of the testing framework.

See:
          Description

Class Summary
ListenerProxyServlet This is the servlet which is registered with Tomcat to receive all the incoming HTTP requests.
SimpleClasspathServlet Servlet for working out what our deployment environment looks like.
 

Package org.apache.anteater.servlet Description

This package contains the server-side part of the testing framework. The main class is ListenerProxyServlet,

The ability of Anteater to test incoming HTTP requests is it's most powerful aspect, and consequently it's most complex. There is some pretty involved interactions between the ListenerProxyServlet, the Listener task, the SendResponse matchers, and the ServletContainer.

Given the following Anteater script:

    <servletContainer port="${port}, 8101"/>
    <listener path="/abc">
      <match>
        <method value="GET"/>
        <sendResponse href="test/responses/good.html" contentType="text/html"/>
      </match>
    </listener>
    
The flow of action is as follows:



Ant Functional Tester -- see Project home page for details