NAME
App::Validation::Automation::Web - Base Class App::Validation::Automation
Stores utilities that perform web based validation
SYNOPSIS
App::Validation::Automation::Web browses the web urls stored in config or passed as arguments using WWW::Mechanize Logs into the web urls using the credentials stored in attributes.Handles password expiry and authentication failure along with DNS round robin and Load Balancing Functionality check.
ATTRIBUTES
user_name houses the login name needed to login into the web url.password stores the decrypted password.
METHODS
validate_url
Browses the weblink passed as parameter using WWW::Mechanize.Tries to log into the weblink if user_name and password are defined.Tweak this method or override to fit your requirement.
METHODS
dnsrr
Tests if DNS Round Robin is working fine or not.Posts the main url max_requests no of times and stores the url redirected.Counts the no of unique redirected urls and reports if they are less than min_unique.
lb
Tests if Load Balancing is working fine or not.Posts the main url max_requests no of times and logs into the url and scraps server specific info each time and stores in a list.Counts the unique elements in the list to ascertain Load Balancing is in place and transactional load is being divided amongst various servers.
change_web_pwd
Change Password at Website level after Password expiration.