Skip to content

CCD-5958 Enable PUT cache stats for Caffeine - #2943

Open
jenedgar wants to merge 8 commits into
masterfrom
CCD-5958-put-cache
Open

CCD-5958 Enable PUT cache stats for Caffeine#2943
jenedgar wants to merge 8 commits into
masterfrom
CCD-5958-put-cache

Trigger CI

f04bb2a
Select commit
Loading
Failed to load commit list.
hmcts-jenkins-a-to-c / Tests / Functional Test - preview failed Jul 31, 2026 in 0s

F-032: Get printable documents.must retrieve printable documents successfully for correct inputs failed

F-032: Get printable documents.must retrieve printable documents successfully for correct inputs failed

Details

F-032: Get printable documents.must retrieve printable documents successfully for correct inputs

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 200, actual: 401 ***[actualResponse.headers.Content-Encoding is unavailable though it was expected to be there, actualResponse.headers.VaRy is unavailable though it was expected to be there, actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. actualResponse.body.exception is unexpected. actualResponse.body.status is unexpected. actualResponse.body.error is unexpected. actualResponse.body.message is unexpected. actualResponse.body.path is unexpected. actualResponse.body.details is unexpected. actualResponse.body.callbackErrors is unexpected. actualResponse.body.callbackWarnings is unexpected. actualResponse.body.timestamp is unexpected. actualResponse.body.token is unavailable though it was expected to be there actualResponse.body.case_details is unavailable though it was expected to be there actualResponse.body.event_id is unavailable though it was expected to be there
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 200, actual: 401
***[actualResponse.headers.Content-Encoding is unavailable though it was expected to be there, actualResponse.headers.VaRy is unavailable though it was expected to be there, actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
actualResponse.body.exception is unexpected.
actualResponse.body.status is unexpected.
actualResponse.body.error is unexpected.
actualResponse.body.message is unexpected.
actualResponse.body.path is unexpected.
actualResponse.body.details is unexpected.
actualResponse.body.callbackErrors is unexpected.
actualResponse.body.callbackWarnings is unexpected.
actualResponse.body.timestamp is unexpected.
actualResponse.body.token is unavailable though it was expected to be there
actualResponse.body.case_details is unavailable though it was expected to be there
actualResponse.body.event_id is unavailable though it was expected to be there

	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 uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create a token for case creation] as in [Befta_Jurisdiction2_Default_Token_Creation_Data_For_Case_Creation],(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2943/src/aat/resources/features/F-032%20-%20Get%20Docs/F-032.feature:15)
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 [by same user to upload a document with mandatory metadata] as in [Befta_Jurisdiction2_Document_Upload_1],.passed
And a successful call [to create a token for case creation] as in [Befta_Jurisdiction2_Default_Token_Creation_Data_For_Case_Creation],.failed
And another successful call [by same user to create a case of this case type] as in [F-032_Case_Creation_Data_With_Document],.skipped
When a request is prepared with appropriate values,.........................skipped
And the request [contains the case data of the case just created],..........skipped
And it is submitted to call the [get printable documents] operation of [CCD Data Store],.skipped
Then a positive response is received,.......................................skipped
And the response [contains a link to the printable documents that were uploaded to the case just created, along with a HTTP 200 OK],.skipped
And the response has all other details as expected..........................skipped