junit.framework.AssertionFailedError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • TestCase for chained up Actions
    via strutstestcase by nobody
    ,
    • junit.framework.AssertionFailedError: was expecting '/test/Service' but received '/test/pages/layout/mtonecolumnlayout\_checkout.jsp' at servletunit.struts.CactusStrutsTestCase.verifyForwardPath(CactusStrutsTestCase.java:637) at test.TestLoginAction.testSuccessfulLogin(TestLoginAction.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153) at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
    No Bugmate found.