junit.framework.AssertionFailedError: was expecting '/test/Service' but received '/test/pages/layout/mtonecolumnlayout\_checkout.jsp'

strutstestcase | nobody | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    TestCase for chained up Actions

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: was expecting '/test/Service' but received '/test/pages/layout/mtonecolumnlayout\_checkout.jsp'

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      was expecting '/test/Service' but received '/test/pages/layout/mtonecolumnlayout\_checkout.jsp'

      at servletunit.struts.CactusStrutsTestCase.verifyForwardPath()
    2. servletunit.struts
      CactusStrutsTestCase.verifyForwardPath
      1. servletunit.struts.CactusStrutsTestCase.verifyForwardPath(CactusStrutsTestCase.java:637)
      1 frame
    3. test
      TestLoginAction.testSuccessfulLogin
      1. test.TestLoginAction.testSuccessfulLogin(TestLoginAction.java:31)
      1 frame
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3 frames
    5. org.apache.cactus
      AbstractWebTestCaller.doTest
      1. org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
      2. org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
      2 frames