CCD-6015: Investigate error changing restricted security classification to public #2500
hmcts-jenkins-a-to-c / Tests / Functional Test - preview
failed
Jan 14, 2025 in 0s
failed: 12, skipped: 61, passed: 598
Send us feedback
Details
F-1016: Submit Event to Update TTL.OverrideTTL is added with a date less than Guard value, SystemTTL is null and TTL.Suspended is "No" and Submit Event is invoked on v1_external#/case-details-endpoint/createCaseEventForCitizenUsingPOST
Retry Exception when calling /cases/{cid}/event-triggers/{etid}
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /cases/{cid}/event-triggers/{etid}
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.prepareARequestWithAppropriateValues(DefaultBackEndFunctionalTestScenarioPlayer.java:183)
at ✽.a request is prepared with appropriate values(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:786)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.prepareARequestWithAppropriateValues(DefaultBackEndFunctionalTestScenarioPlayer.java:183)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a successful call [to create a case] as in [F-1016_CreateCasePreRequisiteCitizen].passed
When a request is prepared with appropriate values..........................failed
And the request [contains a case Id that has just been created as in F-1016_CreateCasePreRequisiteCitizen].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has TTL.OverrideTTL set to less than today + guard value]..skipped
And it is submitted to call the [Submit event creation as citizen (v1_ext citizen)] operation of [CCD Data Store].skipped
Then a negative response is received........................................skipped
And the response has all other details as expected..........................skipped
F-1016: Submit Event to Update TTL.OverrideTTL is added with a date greater than Guard value, SystemTTL is null and TTL.Suspended is "No" and Submit Event is invoked on v1_external#/case-details-endpoint/createCaseEventForCitizenUsingPOST
Retry Exception when calling /citizens/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /citizens/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at ✽.a successful call [to create a case] as in [F-1016_CreateCasePreRequisiteCitizen](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:798)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:679)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:665)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a successful call [to create a case] as in [F-1016_CreateCasePreRequisiteCitizen].failed
When a request is prepared with appropriate values..........................skipped
And the request [contains a case Id that has just been created as in F-1016_CreateCasePreRequisiteCitizen].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has TTL.OverrideTTL set to greater than today + guard value].skipped
And it is submitted to call the [Submit event creation as citizen (v1_ext citizen)] operation of [CCD Data Store].skipped
Then a positive response is received........................................skipped
And the response has all other details as expected..........................skipped
F-1016: Submit Event to Update TTL.OverrideTTL is removed, SystemTTL is less than Guard value and TTL.Suspended is "No" and Submit Event is invoked on v1_external#/case-details-endpoint/createCaseEventForCitizenUsingPOST
Retry Exception when calling /citizens/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /citizens/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at ✽.a successful call [to create a case] as in [F-1016_CreateCaseOverrideTTLPreRequisiteCitizen](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:812)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:679)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:665)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a successful call [to create a case] as in [F-1016_CreateCaseOverrideTTLPreRequisiteCitizen].failed
When a request is prepared with appropriate values..........................skipped
And the request [contains a case Id that has just been created as in F-1016_CreateCaseOverrideTTLPreRequisiteCitizen].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has TTL.SystemTTL set to less than today + guard value]....skipped
And the request [has TTL.OverrideTTL value removed].........................skipped
And it is submitted to call the [Submit event creation as citizen (v1_ext citizen)] operation of [CCD Data Store].skipped
Then a negative response is received........................................skipped
And the response has all other details as expected..........................skipped
F-1016: Submit Event to Update TTL.OverrideTTL is removed, SystemTTL is greater than Guard value and TTL.Suspended is "No" and Submit Event is invoked on v1_external#/case-details-endpoint/createCaseEventForCitizenUsingPOST
Retry Exception when calling /citizens/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /citizens/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at ✽.a successful call [to create a case] as in [F-1016_CreateCaseOverrideTTLPreRequisiteCitizen](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:827)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:679)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:665)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a successful call [to create a case] as in [F-1016_CreateCaseOverrideTTLPreRequisiteCitizen].failed
When a request is prepared with appropriate values..........................skipped
And the request [contains a case Id that has just been created as in F-1016_CreateCaseOverrideTTLPreRequisiteCitizen].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has TTL.SystemTTL set to greater than today + guard value].skipped
And the request [has TTL.OverrideTTL value removed].........................skipped
And it is submitted to call the [Submit event creation as citizen (v1_ext citizen)] operation of [CCD Data Store].skipped
Then a positive response is received........................................skipped
And the response has all other details as expected..........................skipped
F-1016: Submit Event to Update TTL.Set TTL for first time when TTL data not present in event data and Submit Event is invoked on v1_external#/case-details-endpoint/createCaseEventForCaseWorkerUsingPOST
Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at ✽.a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:847)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:679)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:665)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker].failed
When a request is prepared with appropriate values..........................skipped
And the request [contains a case Id that has just been created as in CreateCase_TTLCaseType_PreRequisiteCaseworker].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has no TTL data present in the submitted data].............skipped
And the request [will create a TTL value using TTL increment of 30 days]....skipped
And it is submitted to call the [Submit event creation as Case worker (v1_ext caseworker)] operation of [CCD Data Store].skipped
Then a positive response is received........................................skipped
And the response has all other details as expected..........................skipped
F-1016: Submit Event to Update TTL.Update TTL value when TTL data not present in event data and Submit Event is invoked on v1_external#/case-details-endpoint/createCaseEventForCaseWorkerUsingPOST
Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at ✽.a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:863)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:679)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:665)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a user with [access to manage TTL properties]...........................passed
And a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker].failed
And a successful call [to grant access to a case] as in [GrantAccess_TTLCaseType_manageTTLUser_PreRequisiteCaseworker].skipped
And a successful call [to set TTL properties for a case] as in [UpdateCase_TTLCaseType_manageCaseTTL_PreRequisiteCaseworker].skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains a case Id that has just been created as in CreateCase_TTLCaseType_PreRequisiteCaseworker].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has no TTL data present in the submitted data].............skipped
And the request [will update the existing TTL value with TTL increment of 30 days].skipped
And it is submitted to call the [Submit event creation as Case worker (v1_ext caseworker)] operation of [CCD Data Store].skipped
Then a positive response is received........................................skipped
And the response has all other details as expected..........................skipped
F-1016: Submit Event to Update TTL.Attempt to update SystemTTL without permissions and Submit Event is invoked on v1_external#/case-details-endpoint/createCaseEventForCaseWorkerUsingPOST
Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at ✽.a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:881)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:679)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:665)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a user with [access to manage TTL properties]...........................passed
And a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker].failed
And a successful call [to grant access to a case] as in [GrantAccess_TTLCaseType_manageTTLUser_PreRequisiteCaseworker].skipped
And a successful call [to set TTL properties for a case] as in [UpdateCase_TTLCaseType_manageCaseTTL_PreRequisiteCaseworker].skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains a case Id that has just been created as in CreateCase_TTLCaseType_PreRequisiteCaseworker].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has TTL.SystemTTL value set to a valid date]...............skipped
And the request [will fail due to lack of permissions to TTL field].........skipped
And it is submitted to call the [Submit event creation as Case worker (v1_ext caseworker)] operation of [CCD Data Store].skipped
Then a negative response is received........................................skipped
And the response has all other details as expected..........................skipped
And another call [to verify that the TTL data is unchanged] will get the expected response as in [S-1016.53.VerifyTtlUnchanged].skipped
F-1016: Submit Event to Update TTL.Set TTL for first time when TTL data not present in event data and Submit Event is invoked on v2_external#/case-controller/createEventUsingPOST
Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
Stack trace
uk.gov.hmcts.befta.exception.FunctionalTestException: Retry Exception when calling /caseworkers/{uid}/jurisdictions/{jid}/case-types/{ctid}/event-triggers/{etid}/token
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:456)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at ✽.a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-1016%20-%20Submit%20Event%20to%20Update%20TTL/F-1016.feature:903)
Caused by: com.github.rholder.retry.RetryException: Retrying failed to complete successfully after 3 attempts.
at com.github.rholder.retry.Retryer.call(Retryer.java:174)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.executeHttpRequestWithRetry(DefaultBackEndFunctionalTestScenarioPlayer.java:453)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.submitTheRequestToCallAnOperationOfAProduct(DefaultBackEndFunctionalTestScenarioPlayer.java:440)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:682)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runSinglePrerequisite(DefaultBackEndFunctionalTestScenarioPlayer.java:241)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.runPrerequisitesSpecifiedInTheContext(DefaultBackEndFunctionalTestScenarioPlayer.java:218)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:679)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:665)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:81)
at io.cucumber.core.runner.TestStep.run(TestStep.java:53)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:136)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:200)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1685)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:147)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:162)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:145)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at uk.gov.hmcts.befta.BeftaMain.runCucumberMain(BeftaMain.java:55)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:38)
at uk.gov.hmcts.befta.BeftaMain.main(BeftaMain.java:32)
at uk.gov.hmcts.ccd.datastore.befta.DataStoreBeftaMain.main(DataStoreBeftaMain.java:12)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [an active profile in CCD]................................passed
And a successful call [to create a case] as in [CreateCase_TTLCaseType_PreRequisiteCaseworker].failed
When a request is prepared with appropriate values..........................skipped
And the request [contains a case Id that has just been created as in CreateCase_TTLCaseType_PreRequisiteCaseworker].skipped
And the request [contains an event token for the case just created above]...skipped
And the request [has no TTL data present in the submitted data].............skipped
And the request [will create a TTL value using TTL increment of 30 days]....skipped
And it is submitted to call the [Submit event creation (v2_ext)] operation of [CCD Data Store].skipped
Then a positive response is received........................................skipped
And the response has all other details as expected..........................skipped
F-051: Get default settings for user.must return a list of jurisdictions for a valid user with no CCD user profile, endpoint: GET V1 /caseworkers/{uid}/profile
Could not verify the actual response against expected one. Below are the issues. actualResponse.body contains a bad value: jurisdictions[Content for the Test Jurisdiction.__X__BEFTA_JURISDICTION_1__X__BEFTA_JURISDICTION_1] contains a bad value: jurisdictions[Content for the Test Jurisdiction.__X__BEFTA_JURISDICTION_1__X__BEFTA_JURISDICTION_1].caseTypes has unexpected number of elements. Expected: 3, but actual: 4.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
actualResponse.body contains a bad value: jurisdictions[Content for the Test Jurisdiction.__X__BEFTA_JURISDICTION_1__X__BEFTA_JURISDICTION_1] contains a bad value: jurisdictions[Content for the Test Jurisdiction.__X__BEFTA_JURISDICTION_1__X__BEFTA_JURISDICTION_1].caseTypes has unexpected number of elements. Expected: 3, but actual: 4.
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.junit.Assert.assertFalse(Assert.java:65)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
at ✽.the response has all the details as expected.(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2500/src/aat/resources/features/F-051%20-%20Get%20Profile/F-051.feature:32)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
Given a user with [no profile in CCD],......................................passed
When a request is prepared with appropriate values,.........................passed
And it is submitted to call the [Get default settings for user] operation of [CCD Data Store],.passed
Then a positive response is received,.......................................passed
And the response has all the details as expected............................failed
more test results are not shown here, view them on Jenkins
Loading