java.lang.AssertionError: Status expected:<200> but was:<500>
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 Spring JIRA by Preston Crawford, 1 year ago
via Spring JIRA by Preston Crawford, 2 years ago
via Stack Overflow by user2722614
, 2 years agovia dolinked.com by Unknown author, 2 years ago
via xluat.com by Unknown author, 2 years ago
via Stack Overflow by jackyesind
, 2 years agojava.lang.AssertionError: Status expected:<200> but was:<500>
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$5.match(StatusResultMatchers.java:549)
at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:141)