java.lang.AssertionError

expected:<302> but was:<404>

Samebug tips1

Check your pattern declaration or check your assert declaration.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3571

  • via Unknown by Vetri via StackOverflow,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.AssertionError: expected:<302> but was:<404> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    musketyrmusketyr
    4 times, last one
    PierrePierre
    Once,
    jf-astjf-ast
    2 times, last one
    rocdayrocday
    Once,
    jokesterjokester
    3 times, last one
    98 more bugmates