junit.framework.AssertionFailedError: was expecting '/ANAUI/JSPs/Common/NotificationForLogedInUser.jsp' but received '/ANAUI/JSPs/Common/LogInPage.jsp'

strutstestcase | nobody | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    StrutsTestcase -problems

    strutstestcase | 9 years ago | nobody
    junit.framework.AssertionFailedError: was expecting '/ANAUI/JSPs/Common/NotificationForLogedInUser.jsp' but received '/ANAUI/JSPs/Common/LogInPage.jsp'
  2. 0

    [Mifos-developer] JUnit Test Suite Failures

    Google Groups | 9 years ago | Gary Weberg
    junit.framework.AssertionFailedError: was expecting '/pages/application/account/jsp/applypayment.jsp' but received '/applyPaymentAction.do?method=validate'
  3. 0

    [Mifos-developer] Intermittent failure of an integration test

    Google Groups | 7 years ago | KeithP
    junit.framework.AssertionFailedError: was expecting '/pages/application/surveys/jsp/preview_instance.jsp' but received '/pages/application/surveys/jsp/create_instance.jsp'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StrutsTestCase verifyForward Issue

    strutstestcase | 6 years ago | *anonymous
    junit.framework.AssertionFailedError: was expecting '/WEB-INF/layout.jsp' but received ‘a.register’
  6. 0

    verifyForward fails when using SSLEXT

    strutstestcase | 1 decade ago | meagle
    junit.framework.AssertionFailedError: was expecting '/ViewReport.jsp' but received 'http://null:8080null'

    1 unregistered visitors

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      was expecting '/ANAUI/JSPs/Common/NotificationForLogedInUser.jsp' but received '/ANAUI/JSPs/Common/LogInPage.jsp'

      at servletunit.struts.Common.verifyForwardPath()
    2. servletunit.struts
      MockStrutsTestCase.verifyForward
      1. servletunit.struts.Common.verifyForwardPath(Common.java:339)
      2. servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:571)
      2 frames
    3. com.ibm.ana
      TestLoginAction.testSuccessfulLogin
      1. com.ibm.ana.internet.common.junit.test.TestLoginAction.testSuccessfulLogin(TestLoginAction.java:47)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:615)
      4 frames
    5. JUnit
      OldTestClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:120)
      7. junit.framework.TestSuite.runTest(TestSuite.java:228)
      8. junit.framework.TestSuite.run(TestSuite.java:223)
      9. org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
      9 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      5 frames