I am trying to setup this Component monitor for the first time and only get a 'Test failed with "Down" status' when testing it. The details show:
"Response page still contains login form
Page contains 1 form(s). Form 'mainForm' inputs: ('__VIEWSTATE' '__VIEWSTATEGENERATOR' '__EVENTVALIDATION' 'loginCtrl$UserName' 'loginCtrl$Password');
Assumed form with id = mainForm as login form
Assumed login input: name = loginCtrl$UserName, password input: name = loginCtrl$Password"
For the "Login Form Keywords", I have tried the default values with "|(mainForm)" added, with only "|(mainForm)" but not the defaults, the defaults with "|(mainForm)" plus all of the inputs listed above added and "|(mainForm)" plus all of the inputs listed above but not the defaults.
For the "Login Control Keywords", I have similarly tried the default values with "|(loginCtrl$UserName)" added, the defaults with "|(mainForm)" plus all of the inputs listed above added and "|(mainForm)" plus all of the inputs listed above but not the defaults.
For the "Password Control Keywords", I have tried the default values with "|(loginCtrl$Password)" added, the defaults with "|(mainForm)" plus all of the inputs listed above added and "|(mainForm)" plus all of the inputs listed above but not the defaults.
I have also tried different combinations of all of these and nothing is getting me any different result than "Down". For the above testing, I didn't have anything in the "Login Failed Regular Expression" and "Login Success Regular Expression".
I did also try just:
"Login Control Keywords": "(mainForms)"
"Login Control Keywords": "(loginCtrl$UserName)"
"Password Control Keywords": "(loginCtrl$Password)"
"Login Failed Regular Expression": <blank>
"Login Success Regular Expression": "*Management System*" (words found on the Home page behind the login page)
and this did give me a different error:
'Test filed with "Unknown" status' and "parsing "*Management System*" - Quantifier {x,y} following nothing."
Using "Management System" without the asterisks gave me:
'Test failed with "Down" status' and
"Response page does not match login success keywords
Page contains 1 form(s). Form 'mainForm' inputs: ('__VIEWSTATE' '__VIEWSTATEGENERATOR' '__EVENTVALIDATION' 'loginCtrl$UserName' 'loginCtrl$Password');
Assumed form with id = mainForm as login form
Assumed login input: name = loginCtrl$UserName, password input: name = loginCtrl$Password"
I also did test the login with JavaScript disabled and was able to still login.
Any suggestions for adjustments that might make this work?
THANKS
Mike