junit.framework.AssertionFailedError: was expecting '/ViewReport.jsp' but received 'http://null:8080null'

strutstestcase | meagle | 1 decade 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

    verifyForward fails when using SSLEXT

    strutstestcase | 1 decade ago | meagle
    junit.framework.AssertionFailedError: was expecting '/ViewReport.jsp' but received 'http://null:8080null'
  2. 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'
  3. 0

    [Mifos-developer] JUnit Test Suite Failures

    Google Groups | 10 years ago | Gary Weberg
    junit.framework.AssertionFailedError: was expecting '/pages/application/account/jsp/applypayment.jsp' but received '/applyPaymentAction.do?method=validate'
  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

    StrutsTestcase -problems

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

    1 unregistered visitors

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      was expecting '/ViewReport.jsp' but received 'http://null:8080null'

      at servletunit.struts.Common.verifyForwardPath()
    2. servletunit.struts
      MockStrutsTestCase.verifyForward
      1. servletunit.struts.Common.verifyForwardPath(Common.java:313)
      2. servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.java:605)
      2 frames
    3. com.xxxx.test
      ReportTest.testReport
      1. com.xxxx.test.ReportTest.testReport(ReportTest.java:64)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    6. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:329)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:151)
      3 frames