In version 1.17.1, com.sun.jersey.test.framework.spi.container.grizzly2.web.GrizzlyWebTestContainerFactory.java line 235 invokes
. The first argument denotes the type of dispatches that the filter will respond to. A value of "null" denotes only REQUEST dispatches are handled.
If the application needs to handle FORWARD dispatches (and mine does) there is absolutely no way to configure JerseyTest to do so.
It's not clear whether this has changed in 2.x because I can't find a way to configure filters at all in the new API.