Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by marioja
, 2 years ago
Status expected:<200> but was:<404>
via Stack Overflow by sat1219
, 10 months ago
Status expected:<200> but was:<400>
via Stack Overflow by Unknown author, 2 years ago
Status expected:<200> but was:<400>
via Stack Overflow by tysonite
, 1 year ago
via Stack Overflow by Ivan Mushketyk
, 2 years ago
Status expected:<200> but was:<415>
java.lang.AssertionError: Status expected:<200> but was:<404> at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:60) at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:89) at org.springframework.test.web.servlet.result.StatusResultMatchers$10.match(StatusResultMatchers.java:626) at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:149)