The FAQ for StrutsTestCase implies that you should be able to call multiple actionPerform() methods sequencially: "Alternately, you can test several Action subclasses in a sequence by calling setRequestPathInfo() and actionPerform() for each one."
When I attempt this, I get an exception:
junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.IllegalStateException - Cannot forward after response has been committed
Would anyone know what I might be missing here?
Thanks in advance...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The FAQ for StrutsTestCase implies that you should be able to call multiple actionPerform() methods sequencially: "Alternately, you can test several Action subclasses in a sequence by calling setRequestPathInfo() and actionPerform() for each one."
When I attempt this, I get an exception:
junit.framework.AssertionFailedError: Error running action.perform(): class java.lang.IllegalStateException - Cannot forward after response has been committed
Would anyone know what I might be missing here?
Thanks in advance...