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 allaboutapis
, 1 year ago
1 expectation failed. Expected status code <200> doesn't match actual status code <403>.
via Google Groups by Unknown author, 5 months ago
1 expectation failed. Expected status code <200> but was <415>.
via YouTrack by Unknown author, 2 years ago
1 expectation failed. JSON path conditions doesn't match. Expected: an iterable with size <1> Actual: []
via Stack Overflow by Mubashir Ahmed
, 3 months ago
1 expectation failed. JSON path id[0] doesn't match. Expected: 954321093531226112 Actual: 954321093531226112
via Stack Overflow by Ke Liu
, 1 year ago
1 expectation failed. Expected status code <201> doesn't match actual status code <415>.
via Google Groups by Gurpreet Luthra, 2 years ago
1 expectation failed. Expected status code <200> doesn't match actual status code <404>.
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> doesn't match actual status code <403>.	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:451)	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:613)	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.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:120)	at io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:128)	at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:117)	at com.qualtrics.identity.BasicDashboardSettingsTest.getDashboardSettings(BasicDashboardSettingsTest.java:26)	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:80)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)	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:1198)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1123)	at org.testng.TestNG.run(TestNG.java:1031)	at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)	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)