2011/08/05 - Jakarta Cactus has been retired.

For more information, please explore the Attic.

Changes Report

Release History

VersionDateDescription
1.8.118 January 2009
1.804 April 2008
1.728 Jan 2005
1.6.114 May 2004
1.608 May 2004
1.523 November 2003
1.5-rc126 October 2003
1.5-beta114 July 2003
1.4.131 August 2002
1.425 August 2002
1.4b1July 31 2002


Release 1.8.1 - 18 January 2009

TypeChangesBy
updateSome issues have been fixed on the JIRA. Consult with the JIRA report on exactly which ones were fixed and what was the resolution.PTT
addAdded a sample application on how to test EJB3 applications.PTT
updateCactus documentation have been updated.PTT
addA cactus-maven2 plugin has been added for a better integration with Maven2. The plugin allows you to cactify your WAR and EAR applications.PTT

Release 1.8 - 04 April 2008

TypeChangesBy
updateThe new Cactus web-site is officially launched. We have a new skin and the site is now build with the new Maven2 build system.PTT
addis responsible for bringing up and shutting down the containers for Cactus.PTT
updateCactus's build system is now moved to Maven.PTT
updateSince version 1.7.1 of Cactus all changes ar e now recorded using Apache's JIRA. The list of changes for an unreleased version is available in the JIRA roadmap report and the released version changes in the JIRA changelog report.VMA

Release 1.7 - 28 Jan 2005

TypeChangesBy
updateTested with Orion 1.6.0b, Orion 2.0.4, Tomcat 4.1.31, Tomcat 5.0.29, Resin 2.1.14, Resin 3.0.9, JBoss 3.2.6.VMA
updateAdded support for Resin 3.0.9 and above.VMA
updateUpgraded following dependencies: Commons BeanUtils to 1.7.0, Commons Collections to 3.1, Commons HttpClient to 2.0.2 and Commons Logging to 1.0.4.VMA
addAdd attribute jvmArgs in the container tasks. Fixes CACTUS-158. Thanks to Matheus Bianconi.FAL
fixThe < resin3x > element of the < cactus > > task is now correctly using the user-defined port (port attribute). The port was previously hardcoded to 8080.VMA
fixThe Cactus Servlet Test Runner now re-initializes the Cactus configuration when it is called the first time (in its init() method). This allows testing several webapps in the same JVM (i.e without restarting the container).VMA
addThe < jboss3x > container element now supports running JBoss in a temporary directory, specified by the tmpdir attribute. In addition, by using the configDir attribute, you can now specify a directory where you have stored a custom JBoss server configuration (identified by the config attribute). This configuration will be copied to the tmp directory and used to configure JBoss. Fixes CACTUS-119.VMA
fixCactus was failing with a NullPointerException if the response was not returning any output stream (which happens if response.setStatus(HttpServletResponse.SC_NO_CONTENT) is called for example). Fixes CACTUS-123. Thanks to Maxwell Grender-Jones.VMA
fixFixed "java.lang.NumberFormatException: For input string: "localhost"" error that was happening when using the < cactus > task with JBoss 3.0.8. It was due to the fact that JBoss 3.0.8 does not support the new --server parameter which works with newer versions of JBoss 3.x Fixes CACTUS-122. Thanks to Raphael Philipe Mendes da Silva.VMA
addAdded new < resin2x > and < resin3x > tasks to start/stop Resin 2.x/3.x instances.VMA
updateBuilding Cactus from the sources now requires Ant 1.6.1+ (Ant 1.6.2 if you're using JDK 5). The Cactus build also been simplified a lot and external libraries are automatically downloaded from ibiblio.org if not present on the file system.VMA
updateEnsure faster shutdown times with WebLogic 7.x by using the FORCESHUTDOWN WebLogic command instead of the graceful one. Fixes CACTUS-120.VMA
updateThe JettyTestSetup class now checks if the Jetty server is already started and only starts it if it isn't running. It also does not stops it if it was running before JettyTestSetup was called. This is useful when you have a master test suite and when you also wish to run your tests one by one. Fixes CACTUS-118.VMA

Release 1.6.1 - 14 May 2004

TypeChangesBy
fixAn error was introduced in the Servlet Test Runner during the internal package refactoring that happened in Cactus 1.6. The XMLTransformer could not be loaded and it resulted in a ClassNotFoundException exception. Fixes CACTUS-107.VMA

Release 1.6 - 08 May 2004

TypeChangesBy
updateThe ServletTestRunner now looks for am optional cactus.properties file and reads its properties. If not defined it sets default values for the context URL of the Cactus redirectors and for their mappings.VMA
updateUpdated web site documentation for enabling Cactus logging.VMA
updateDue to some internal package restructuration (all non public API were moved to internal packages), the jspredirector.jsp file was modified. If you have installed this file manually somewhere, you'll need to remember to update it.VMA
updateBig internal restructuration: we have moved all the non public API classes to java packages with the name internal. For example the package org.apache.cactus.internal is a package containing some internal implementation. You should not use any internal class in your own development as these classes may change at any time in the future. If you find you need access to some internal class, please send an email to the Cactus mailing class explaining the reason and we may open up some API/SPI.VMA
removeRemoved org.apache.cactus.util.HttpURLConnection class. It was a Commons HttpClient wrapper on top of the java.net.HttpURLConnection class. However, this class is now fully integrated in the Commons HttpClient jar.VMA
addAdded new optional nested < containerclasspath > element for the < cactus > task. It allows specifying additional jars that will be put in the classpath used to start/stop the specified containers.VMA
removeRemoved ability to choose different HTTP connection helpers. The only one supported now is the Commons HttpClient one provided internally by Cactus. Thus the cactus.connectionHelper.classname property is now removed.VMA
removeRemoved deprecated classes in the org.apache.cactus.ant packages as they have been deprecated for a long time.VMA
fixFixed bug in HttpServletRequestWrapper.include() where the passed request was not the original request. The problem was only apparent with Tomcat 3.x.VMA
addAdded support for Tomcat 3.3.2 (note that this required adding the commons-logging jar to the Tomcat bootstrap classpath).VMA
updateIn the Form authentication code, changed the response check logic for the pre-authentication step to accept any status code less than 400. It was previously only accepting a 302 code but different servers are implementing it differently. Thanks to Kazuhito Suguri.VMA
addAdded new ServletContextWrapper.setInitParameters() which allows to programatically define Context init parameters (as if they had been entered in web.xml using the < context-param > element.VMA
addAdded support in the Ant integration webxmlmerge task for merging < context-param > elements.VMA
updateUpdated the version of Commons HttpClient in the Cactus distribution to 2.0 final.VMA
addAdded new FormAuthentication.setExpectedAuthResponse(int) that allows to set the expected HTTP response code for an authentication request which should be successful. If not specified, it defaults to HttpURLConnection.HTTP_MOVED_TEMP. Thanks to Kazuhito Suguri.VMA
addAdded new FormAuthentication.setSessionCookieName(String) that allows to set the security cookie name to a name different than JSESSIONID (the default). Thanks to Kazuhito Suguri.VMA
fixFormAuthentication no longer assumes "localhost" when adding cookies. Fixes CACTUS-37. Thanks to Kazuhito Suguri.VMA
fixFixed bug in Cactus wrapper implementation of request.getPathTranslated() which was failing when there was no simulated URL defined (i.e. no call to WebRequest.setURL()). Thanks to Paul Green.VMA
updateMigrated to Apache license 2.0.VMA
updateThe < cactus > task now also cleans custom tmp directories (passed using the tmpdir attribute). Fixes CACTUS-79. Thanks to Daniel Rabe.VMA
addAdded support for specifying which JNDI port to use when shutting down JBoss 3.x in the Cactus Ant integration. The < jboss3x > nested element now supports the new jndiport attribute for specifying the port. If not specified, it defaults to 1099. Fixes CACTUS-85. Thanks to James Carpenter.VMA
addAdded new encoding HTTP parameter for the Cactus Servlet TestRunner. By default the XML returned (when there is no server-side XSL transformation) is using the UTF-8 encoding. This encoding parameters allows using a user-specified encoding.VMA
fixFixed request.getRequestURL() (J2EE 1.3 only) which was not working properly when WebRequest.setURL() was called with a null pathinfo parameter. Fixes CACTUS-89. Thanks to Scott Leberknight.VMA
addAdded support for Resin 3.x in the Ant integration. Only Resin 3.0.5 and above are supported (the reason is that it seems the configuration file format has changed between Resin 3.0.3 and 3.0.5). Note that Servlet API 2.4/JSP 2.0 are not yet supported by Cactus.VMA
addIn the Ant integration, added new contextxml attributes to the < tomcat4x > nested elements of the < cactus > task. This is to support the context xml configuration file that appeared with Tomcat 4.1.x. Note that for Tomcat 5.x you need to use the existing nested < conf > element (see the < cactus > task documentation for more details).VMA
fixIn the Ant integration, added support for web contexts defined in JBoss's jboss-web.xml. Fixes CACTUS-84. Thanks to Brian Topping.VMA
fixFixed the bug where a ServletException occurs, stating: The request object passed to forward() must be the request object you got from your Cactus test case (i.e. a Cactus request wrapper object). Instead we got [... ] .VMA
addIn the Ant integration module, added new configXml attribute to the < weblogic7x > container element of the < cactus > task. Fixes CACTUS-53.VMA
fixMake the < cactus > task work on Mac OSX by not including the tools.jar file (on Mac OSX all classes are found in classes.jar). Thanks to Joe Germuska.VMA
fixPrevent requiring commons-httpclient jar to be present on the server-side classpath. Thanks to Kazuhito Suguri.VMA
addAdded the Maven plugin. It was formerly hosted in the Maven project's own CVS. It is now in the Cactus CVS and is part of the Cactus distribution.VMA

Release 1.5 - 23 November 2003

TypeChangesBy
fixIn the Cactus/Ant integration, user-defined tomcat-users and web.xml are now correctly replacing the default version provided by Cactus. This is for the Tomcat 4.x and 5.x containers.VMA
fixThe Jetty Test Setup was not shutting Jetty down if an error ocurred during setUp. Fixes CACTUS-63. Thanks to James Stangler.VMA

Release 1.5-rc1 - 26 October 2003

TypeChangesBy
fixThe Cactus Ant integration now reports the HTTP error code when it fails to start the container and timeouts. It was previously doing this but only in debug mode. Fixes CACTUS-58. Thanks to Norbert Pabis.VMA
updateUpdate the version of Commons HttpClient in the Cactus distribution to 2.0 rc2.VMA
fixFixed and improved logging. It now works with Log4j, JDK 1.4 logging and Commons Simple log. Check the sample servlet application for an example of how to set up Cactus logging.VMA
addAdded new optional cactus.logging.config Cactus property. If specified Cactus will load the properties file pointed by this property and will set each property as a system property.VMA
updateUpdated to use AspectJ 1.1.1. When you upgrade to Cactus 1.5-rc1 make sure you update your aspectjrt.jar to version 1.1.1 (the jar is provided in the Cactus distribution).VMA
addAdded an EJB sample application to demonstrate how to perform EJB unit testing with Cactus and how to automate it with the Cactus/Ant integration.VMA
fixWhen using the new ServletTestSuite wrapper around pure JUnit test cases, the setUp() and tearDown() methods were not called. Thanks to Alexander Ananiev.VMA
fixIn the Ant integration, when using the < cactus > task with an EAR, the test webapp context was not correctly set. Fixes CACTUS-52. Thanks to Jonathan Kovacs.VMA
fixFixed the JettyTestSetup class so that it stops the running Jetty server at the end of the test suite execution. Fixes CACTUS-49. Thanks to James Stangler.VMA
updateThe Cactus distribution now packages commons-httpclient 2.0 RC1 (we were previously including version 2.0 beta2).VMA
fixSupport for WebLogic 7.x is now working fine. Fixed bugs in the WebLogic 7.x configuration: the weblogic.xml file was not correctly copied in the WEB-INF directory of the cactified war, and an NPE happened when the bea home property was not set. It now tries to guess it from the cactus.home.weblogic7x property if not set. In addition, the configuration has also been greatly simplified.VMA
updateIn the cactifywar Ant task, changed the default realm name that is used when adding Cactus default configuration data. It was previously Cactus test realm. It is now myrealm. The reas on is that the default WebLogic configuration creates a myrealm realm and thus using this name makes our Cactus configuration for WebLogic much simpler. It doesn't affect the other containers as they do not seem to check for the realm name.VMA
addAdded the ability to define the JBoss port that will be used in the Ant integration to poll if the JBoss server is up and running. Note: This value will not modify the port of the default JBoss configuration (it is still 8080). However, it is useful for users who have defined their own JBoss conf iguration and are using a port other than 8080. Thanks to Florin Vancea.VMA
fixFixed bug in Eclipse plugin build where the plugin version was not correctly resolved. Fixes CACTUS-47. Thanks to Christopher Marshall.VMA

Release 1.5-beta1 - 14 July 2003

TypeChangesBy
updateSupport for WebLogic 7.x has not been tested with Cactus 1.5 and may not work.VMA
updateSupport for WebLogic 6.x is still available in the Ant integration. However, it has not been tested as it is no longer possible to download WebLogic 6.x from the BEA web site. It is thus completely untested.VMA
updateUpdate of jars bundled in the Cactus distribution: Commons Logging 1.0.3, Log4j 1.2.8, HttpClient 2.0beta2, HttpUnit 1.5.3 and JUnit 3.8.1. In addition the requirements for the jars needed to build Cactus were also updated: Checkstyle 3.1 (and the dependent jars: BeanUtils 1.6.1, Collections 2.1, Regexp 1.2 and Antlr 2.7.2).VMA
addsection for books covering the Cactus framework.VMA
updateRefactoring of XXXTestCase class hierarchy. Whereas it was previously inheriting from AbstractWebTestCase and AbstractTestCase it is now simply inheriting from JUnit TestCase. Thus all non-public API are now not visible from user (as they should be). This has broken binary compatibility. If you had some framework compiled with Cactus 1.4.1 and using some methods from AbstractWebTestCase or AbstractTestCase, you'll need to recompile it with Cactus 1.5.VMA
addAdded a HttpServletRequestWrapper.setRemoteUser() method to simulate a remote user. Thus, there is now 2 methods to get a remote user: by simulating it as above or by using real BASIC or Form-based authentication.CML
updateRefactored the authentication support by introducing the interface Authentication, which the class AbstractAuthentication now implements.CML
addto work on the Cactus plugins for Eclipse.VMA
addThe WebResponse class now has a method to directly retrieve the status code.CML
fixWhen a simulation URL is used and null values are passed for the Server name, Context Path and Servlet Path parameters, calls to Cactus HttpServletRequestWrapper.getServerName(), HttpServletRequestWrapper.getServerPort(), HttpServletRequestWrapper.getContextPath() and HttpServletRequestWrapper.getServletPath() now correctly return the values from the original Request object (and not the wrapped one), handled by the Servlet Redirector.VMA
updateAdded verification code in Cactus to verify that the parameters passed to the WebRequest.setURL() method have the correct format and throw an exception if not.VMA
addfor Cactus news.VMA
addThe Cactus web site has a new style that i s heavily based on CSS. It should provide better printing capabilities and a more consistent look.CML
fixCactus was not correctly handling the ComparisonFailure exception introduced by JUnit 3.8.1 and these exceptions were reported as errors instead of failures. Fixes CACTUS-22. Thanks to Misak Boulatian.VMA
fixFixed bug in Cactus exception handling where an invalid test result could result in a StringIndexOutOfBoundsException, thus hiding the real problem. Thanks to Melissa White.VMA
addAdded a new custom Ant task (WebXmlMerge) that merges the content of two web deployment descriptors into one. That includes the definitions of filters and servlets, as well as some security-related elements.CML
addAllows creating Cactus TestCase without the need for a constructor that takes a String parameter (a default constructor is good enough). Obviously, this feature works only with JUnit 3.8.1 (but Cactus continues to support JUnit 3.7).VMA
addAdded ability to add any additional HTTP parameters to the request used by Cactus to the Form-based authentication security URL.VMA
addAdded support for running pure JUnit TestCase on the server side using Cactus. This is possible by using a new ServletTestSuite Test Suite.VMA
fixFixed bug where a simulation URL would be used even when none has been defined (Reminder: a simulation URL is defin ed by calling WebRequest.setURL()). Thanks to Helen Rehn.VMA
addAdded a timeout for the < runservertests > Ant task so that the verification that the container is started is stopped if this timeout is reached (a build exception is raised).VMA
removeMoved some Ant tasks that were previously in the Cactus Ant tasks; they are now in the Ant Integration project. They are the tasks used to start/stop the containers and the runservertests task. It is now recommended to use the Ant Integration.VMA
updateImproved (and normalized) build system. This change should not affect nor be visible by Cactus end-users. However, Cactus power users building Cactus from sources will appreciate.VMA
updateImproved test classe names in the Servlet Sample application.VMA
updateThe Servlet Sample build is now using the Cactus Ant Integration.VMA
addNew Cactus Ant Integration. It provides new custom Ant tasks such as < cactifywar > , < cactus > which makes executing Cactus tests from an Ant build script extremely easy.CML
updateModified the build process to generate the Cactus web site by removing the use of Stylebook and replacing it with an XSL stylesheet. In addition, added several new features: support for subdirectories, support for dynamic menu items and sitemap generation.VMA
fixThe Cactus runservertests custom Ant task has been improved and it is now propagating correctly Ant references to the targets you defined for starting the container, stopping it and runnning the Cactus tests. Previously, it was only propagating the Ant properties.VMA
updateAdded stack trace filtering to the ServletTestRunner. Stack frames in the JUnit framework classes as well as in the Cactus base test case classes are filtered out.CML
addThe Cactus web site now provides online documentation for both the CVS HEAD version and the last released version.VMA
fixEnable the ServletTestRunner to run in an environment where it is not allowed to set system properties. In such cases, the cactus.properties configuration file needs to be on the server classpath.CML
updateImplemented server-side XSLT transformations in the ServletTestRunner. The code is based on the TraX API but uses reflection to avoid a direct runtime dependancy.CML
addAdded automated Ant scripts for JBoss/Jetty 3.x.VMA
fixFixed bug where users using a Locale which does not format numbers with dots (".") had issues with the JUnitReport Ant XSL stylesheet. The Servlet Test Runner code now forces a US Locale.CML
addAdded new extension class to help unit test JSP Taglibs. See the TestJspTagLifecycle test class in the sample-servlet application for help on using it. Thanks to Christopher Lenz.VMA
updateImproved error handling when dealing with invalid Cookies.VMA
fixFixed a potential bug with classloaders. On the server side, Cactus looks for the TestCase class by searching first the WebApp Classloader and then the Context ClassLoader. However, the Context ClassLoader is only searched if an Exception (subclass of Exception) is raised. Thus, if a NoClassDefFoundError had been raised, Cactus would not have searched in the Context ClassLoader. Thanks to Roumen B. Antonov.VMA
addAdded support for internationalization (double byte characters) for sending back test results. This allows Cactus to be used with any character set. Thanks to Atsushi Hasegawa.VMA
fixFixed bug where a redirector overriden by calling WebRequest.setRedirectorName() was not used to fetch the Cactus test result (the default redirector specified in the Cactus configuration was used instead). Thanks to Pranab Dhar.VMA
fixFixed bug where Cactus was using the deprecated HttpClient PostMethod.setRequestBody(String) which had some bug related to char to byte encoding. Now using the PostMethod.setRequestBody(InputStream) signature. Thanks to Stephan Merker.VMA
addAdded links to Japanese and Korean translations of Cactus.VMA
add.VMA
addNew WebResponse.getCookieIgnoreCase(cookieName) to get the first cookie matching cookieName whatever the case (case-insensitive).VMA
addAdded Form-based authentication support. Thanks to Jason Robertson.VMA
addthat explains how to build Cactus from the sources.VMA
addAdded a Jetty Sample application to demonstrate how to use the new JettyTestSetup that automatically starts Jetty before a test suite.VMA
add.JRU
addAdded a org.apache.cactus.extension.jetty.JettyTestSetup JUnit TestSetup to automatically start Jetty before a test suite is executed. This is really nice to quickly run tests inside any IDE or even from a simple < junit > Ant taks without the need to package and deploy a WAR. In addition, it is real nice to debug tests this way. Moreover, Jetty starts in less than 1 second, making it completely seamless and transparent! We are now at the same order of magnitude as pure JUnit tests in term of speed ... :-). Of course, this is only for Servlet tests ... I am still waiting for an embeddable EJB container that starts in less than 1 second ...VMA
addAdded support for client side begin(...) and end(...) methods. They are called on the client side, before and after every test in the same way as the JUnit setUp() and tearDown() are called before and after each test, but on the server side.VMA

Release 1.4.1 - 31 August 2002

TypeChangesBy
addAdded a sample (and thus a test for Cactus) for HttpUnit integration as part of the Cactus sample. Thanks to Hirsch Richard.VMA
fixFixed bug in new HttpClient wrapper in Cactus with regards to the headers returned in the HTTP response (they were offset by one and the status line was not returned as a header). Thanks to Hirsch Richard.VMA
fixFixed bug where NullPointerException would be thrown by Cactus ServletTestRunner if an exception raised in a test case had not specified a message (i.e. getMessage() returning null). Thanks to Micah Williams.VMA
fixSome JDK implementation return "null" when Class.getClassLoader() is called to indicate that the given class has been loaded by the bootstrap class loader. This was leading to NullPointerException being thrown by Cactus in some cases. Thanks to Gerhard Kreutzer.VMA
fixFixed import bug in sample-servlet which prevented building Cactus from the sources on JDK 1.4. Thanks to Ville Skyttä.VMA
fixFixed default properties for the sample application so that it points to the correct HttpClient jar which is packaged with Cactus (the one built on 06/06/2002). Thanks to Hirsch Richard.VMA
fixFixed a bug that was preventing having several POST parameters added in the request in beginXXX() methods. Thanks to Larry Tambascio.VMA
fixThe encoding in the sample junit-noframes XSL stylesheet was set to be "US-ASCII". It is now set to "UTF-8". Apparently, XSLT processors are only required to support utf-8 and utf-16, the rest is processor specific. For example your processor might support US-ASCII-7 and others might support US-ASCII. Thanks to Robert Koberg for the explanation! Thanks to Dave Hoover.VMA

Release 1.4 - 25 August 2002

TypeChangesBy
addthat explains how to test JSPs with Cactus.VMA
fixFixed JDK 1.2 compatibility (broken in 1.4b1). Thanks to David George.VMA
fixAccording to the XML definitions (at least the definitions Mozilla 1.0 got implemented), the < ?xml version... > tag should go before the < ?xml-stylesheet... > tag. Using them in the wrong order produces an error when Mozilla tries to render it. Thanks to Felipe Hoffa.VMA

Release 1.4b1 - July 31 2002

TypeChangesBy
add. Note: It is still not possible to test a 401 response code (this limitation has been raised to the HttpClient team).VMA
update(the default one). It can be modified by setting the following System property: cactus.connectionHelper.classname = org.apache.cactus.client.JdkConnectionHelper (for the JDK HttpURLConnection). Note that the Servlet Sample test that assert response code will fail with the JDK HttpURLConnection implementation.VMA
addfor how to configure logging in Cactus.VMA
removeRemoved deprecated org.apache.cactus.ServletTestRequest class (was deprecated in Cactus 1.2).VMA
removeRemoved deprecated org.apache.cactus.util.ClientCookie class (was deprecated in Cactus 1.2).VMA
removeRemoved deprecated org.apache.cactus.util.AssertUtils class (was deprecated in Cactus 1.2).VMA
addAdded auto matic script support for Orion 1.6.VMA
fixAnt scripts for Resin, Orion, Tomcat 3.2.4, WebLogic 6.1 and WebLogic 7.0 now correctly configured for Cactus BASIC authentication tests.VMA
addAdded automatic script support for WebLogic 7.0.VMA
fixIt seems that it is possible that the test result contain an end of line character and the Cactus WebTestResultParser was choking on this and seeing the returned result as invalid. This has been fixed. Fixes CACTUS-22. Thanks to Daniel Dennison.VMA
addAdded Test Coverage Reports as part of the Web Site generation.VMA
updateRenamed all external jars used in Cactus by suffixing them with their versions. This is so that Cactus users will know exactly what jars Cactus is packaging. You are of course free to use your own jars and Cactus only packages these jars for your convenience. Cactus nows packages Log4j 1.2.3, AspectJ Runtime 1.0.4, JUnit 3.7, HttpClient 2.0alpha1 built on 6/6/2002, HttpUnit 1.4 and (new) the Servlet API 2.2 and 2.3 jars. The Cactus jars have also been renamed to include the version number in their names.VMA
fixCactus Sample can be built using Ant 1.4 (support for Ant 1.4 was broken by a line introduced in Cactus 1.3 that would only work with Ant 1.5. However, this line can easily be commented out).VMA
fixModified the jspRedirector.jsp so that it initializes an HTTP Session (session="true"). There is no way I know to make this parameter dynamic so w e set it to true as this is the most used case. If one of your test must not have a session created for it, then you can always use the Redirector overriding feature (WebRequest.setRedirectorName(String redirectorName)). Fixes CACTUS-21. Thanks to Marc Brette.VMA
fixFixed bug where the Test Result object which is put in the Servlet Context was not serializable. This might cause some trouble with some containers. Thanks to Patrick Lightbody.VMA
addAdded simulation of Remote IP address and Remote Host Name, i.e. you can now control what request.getRemoteAddr() and request.getRemoteHost() will return. That is useful if your code depends on these values. Thanks to Marc Brette.VMA
updateIt is now possible to specify the Cactus properties as System properties (the property names are the same as the ones in cactus.properties). Also if not specified, redirector names are set by default to "ServletRedirector", "JspRedirector" and "FilterRedirector".VMA
addthat explains how to run Cactus tests quickly in Tomcat.VMA
addtutorial.VMA
fixTest classes are now first looked for using the Current classloader (the webapp one for Servlets) and if not found using the context class loader. Previously the order was the revert, which was not logical and could lead to issues.VMA
updateImproved debugging of runservertests task. Simply run Ant in debug mode (ant -debug xxx) and the task will print information. Very useful to know why the runservertests task seems to hang after starting your server ...VMA