Class com.ibm.ws.security.fat.common.web.WebFormUtilsTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| test_assertPageContainsAtLeastOneForm_emptyList | 0s | passed |
| test_assertPageContainsAtLeastOneForm_multipleEntries | 0s | passed |
| test_assertPageContainsAtLeastOneForm_nullList | 0s | passed |
| test_assertPageContainsAtLeastOneForm_singleEntry | 0s | passed |
| test_fillAndSubmitCredentialForm_formMissingElement | 0.018s | passed |
| test_fillAndSubmitCredentialForm_nullUsername_nullPassword | 0.001s | passed |
| test_getAndSetInputField_elementNotFound | 0s | passed |
| test_getAndSetInputField_emptyInputName_nullValue | 0s | passed |
| test_getAndSetInputField_nullInputName_nullValue | 0.001s | passed |
| test_getAndSetPasswordField_nullPassword | 0s | passed |
| test_getAndSetPasswordField_passwordInputElementNotFound | 0s | passed |
| test_getAndSetUsernameField_nullUsername | 0.001s | passed |
| test_getAndSetUsernameField_usernameInputElementNotFound | 0.001s | passed |
| test_getAndSubmitLoginForm_invalidForm | 0.015s | passed |
| test_getAndSubmitLoginForm_nullLoginPage | 0s | passed |
| test_getAndSubmitLoginForm_succeeds | 0.019s | passed |
| test_getAndValidateLoginForm_invalidFormAction | 0.001s | passed |
| test_getAndValidateLoginForm_noForms | 0.001s | passed |
| test_getAndValidateLoginForm_validFormAction | 0s | passed |
| test_submitForm_elementNotFound | 0.001s | passed |
| test_submitForm_emptySubmitButtonValue | 0s | passed |
| test_submitForm_nullSubmitButtonValue | 0s | passed |
| test_validateLoginPageFormAction_actionAttributeIsSuperstring | 0.001s | passed |
| test_validateLoginPageFormAction_emptyActionAttribute | 0s | passed |
| test_validateLoginPageFormAction_nullActionAttribute | 0s | passed |
| test_validateLoginPageFormAction_validActionAttribute | 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@b2c475f3
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b2c475f3
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b2c475f3
TrConfigZapper.zapTrConfig : finished invoke init()
SharedOutputManager captured the following:
-- System.out -------------------------------------------------
-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
-- Trace -------------------------------------------------
Standard error
[ERROR ] Error printing response (log error and go on) Unknown response type: java.lang.String [ERROR ] Error printing response (log error and go on) Getting title not supported with type: com.gargoylesoftware.htmlunit.WebResponse$$EnhancerByCGLIB$$1fa37e9c Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: testuser Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: testuserpwd Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: user Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: password Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "": htmlInput Jun 10, 2025 12:15:31 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null