Class com.ibm.ws.security.fat.common.expectations.ResponseHeaderExpectationTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
test_buildHeadersString_emptyList | 0s | passed |
test_buildHeadersString_multipleHeaders | 0s | passed |
test_buildHeadersString_nullList | 0s | passed |
test_buildHeadersString_oneHeader | 0s | passed |
test_constructor | 0s | passed |
test_constructor_nullArgs | 0s | passed |
test_getResponseHeadersString_emptyHeaderList | 0.001s | passed |
test_getResponseHeadersString_nonEmptyHeaderList | 0.001s | passed |
test_getResponseHeadersString_nullContent | 0.001s | passed |
test_getResponseHeadersString_nullHeaders | 0.001s | passed |
test_getResponseHeadersString_unsupportedContentType | 0.002s | passed |
test_isExpectationForAction_expectationActionNull_testActionEmpty | 0s | passed |
test_isExpectationForAction_expectationActionNull_testActionNonEmpty | 0s | passed |
test_isExpectationForAction_expectationActionNull_testActionNull | 0.001s | passed |
test_isExpectationForAction_testActionEmpty | 0s | passed |
test_isExpectationForAction_testActionMatch | 0.001s | passed |
test_isExpectationForAction_testActionMismatch | 0s | passed |
test_isExpectationForAction_testActionNull | 0.001s | passed |
test_validate_checkTypeContains_fails | 0.001s | passed |
test_validate_checkTypeContains_passes | 0s | passed |
test_validate_checkTypeDoesNotContain_fails | 0.001s | passed |
test_validate_checkTypeDoesNotContain_passes | 0.001s | passed |
test_validate_checkTypeDoesNotMatch_fails | 0.001s | passed |
test_validate_checkTypeDoesNotMatch_passes | 0.001s | passed |
test_validate_checkTypeMatches_fails | 0.001s | passed |
test_validate_checkTypeMatches_matchSpansMultipleLines | 0.001s | passed |
test_validate_checkTypeMatches_passes | 0.001s | passed |
test_validate_currentTestActionDifferentCasing | 0.001s | passed |
test_validate_currentTestActionSubstring | 0s | passed |
test_validate_currentTestActionSuperstring | 0s | passed |
test_validate_emptyResponseHeaders | 0.002s | passed |
test_validate_mismatchedCurrentTestAction | 0s | passed |
test_validate_nullAction | 0.001s | passed |
test_validate_nullContentObject | 0s | passed |
test_validate_nullCurrentTestAction | 0s | passed |
test_validate_nullResponseHeaders | 0.005s | passed |
test_validate_unknownCheckType | 0s | passed |
test_validate_unsupportedResponseType | 0s | passed |
Standard output
TrConfigZapper.zapTrConfig : start invoke init() init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6c2947ce registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@6c2947ce captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@6c2947ce TrConfigZapper.zapTrConfig : finished invoke init() SharedOutputManager captured the following: -- System.out ------------------------------------------------- -- System.err ------------------------------------------------- -- Messages ------------------------------------------------- -- Trace -------------------------------------------------
Standard error
[ERROR ] Exception occurred in submitRequestWithNonNullObjects This is an exception message. [ERROR ] Exception occurred in doFormLogin This is an exception message. [ERROR ] Exception occurred in null [ERROR ] Exception occurred in some method java.lang.Exception [ERROR ] Exception occurred in some method Another sub-message from the cause [ERROR ] Exception occurred in some method Sub-message for the third cause Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringContains INFO: Test assertion is: true Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.expectations.ResponseHeaderExpectation getResponseHeadersString INFO: No headers found in response Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringContains INFO: Test assertion is: false Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringContains INFO: This is an expectation-defined failure message. Was expecting to find [searchForVal] but received [] Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringContains INFO: Test assertion is: false Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringContains INFO: This is an expectation-defined failure message. Was expecting to find [searchForVal] but received [missing search value] Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringContains INFO: Test assertion is: true Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringDoesNotContain INFO: Test assertion is: false Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringDoesNotContain INFO: This is an expectation-defined failure message. Was not expecting to find [searchForVal] but received [searchForVal: found value] Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateStringDoesNotContain INFO: Test assertion is: true Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexFound INFO: Test assertion is: false Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexFound INFO: This is an expectation-defined failure message. Did not find expected regex [searchForVal] in content: [header 1 name: header 1 value | header 2 name: header 2 value | header 3 name: header 3 value | header 4 name: header 4 value | header 5 name: header 5 value] Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexFound INFO: Test assertion is: false Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexFound INFO: This is an expectation-defined failure message. Did not find expected regex [search.+me] in content: [searchForVal: search for me] Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexFound INFO: Test assertion is: true Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexNotFound INFO: Test assertion is: false Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexNotFound INFO: This is an expectation-defined failure message. Found unexpected regex [search.+me] in content: [header 1 name: header 1 value | header 2 name: header 2 value | header 3 name: header 3 value | searchForVal: search for me] Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.validation.TestValidationUtils validateRegexNotFound INFO: Test assertion is: true Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.web.WebResponseUtils getResponseHeaderList INFO: pageOrResponse is null Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.expectations.ResponseHeaderExpectation getResponseHeadersString INFO: No headers found in response Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.expectations.ResponseHeaderExpectation getResponseHeadersString INFO: No headers found in response Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.expectations.ResponseHeaderExpectation getResponseHeadersString INFO: No headers found in response Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.web.WebResponseUtils getResponseHeaderList INFO: pageOrResponse is null Jun 23, 2024 5:29:53 AM com.ibm.ws.security.fat.common.expectations.ResponseHeaderExpectation getResponseHeadersString INFO: No headers found in response