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 Stack Overflow by shiva
, 1 year ago
Status Expected :200 Actual :500 <Click to see difference>
via Stack Overflow by pacoverflow
, 1 year ago
Status Expected :200 Actual :500 <Click to see difference>
via GitHub by valentine-ezugu
, 1 month ago
Status Expected :200 Actual :401 <Click to see difference>
via Stack Overflow by Rauf Agayev
, 11 months ago
Status expected:<200> but was:<404>
via helptouser.com by Unknown author, 2 years ago
Status expected:<200> but was:<404>
java.lang.AssertionError: Status 
Expected :200
Actual   :500
 <Click to see difference>	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:654)	at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:152)	at com.blueoptima.dt.controller.TaskControllerIntegrationTest.testGetAllTasks(TaskControllerIntegrationTest.java:46)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)	at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:200)	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:171)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)	at org.testng.TestRunner.privateRun(TestRunner.java:767)	at org.testng.TestRunner.run(TestRunner.java:617)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)	at org.testng.SuiteRunner.run(SuiteRunner.java:240)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)	at org.testng.TestNG.run(TestNG.java:1057)	at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74)	at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:124)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)