Hey,
I'm new to zabbix, and have been asked to setup a web scenario to perform a login check on a javascript site.
I have 4 steps setup. The fist checks to see if the login page comes up. - That step works
Step 2, is to login
Step 3, Checks for a required string
step 4, logs out
Steps 1&2 are getting status OK, with the 3rd getting an ErrorL required pattern not found.
I am not sure if this is error is because the page isn't loading or because it doens't actually login.
On the login page, I did an inspect element and go the action ID for everything and setup: userName={user}&password={password}&enter=submit in the Post section, with a required status code of 200. The user/password is defined in the scenario variables.
Step 3 goes to a url that is accessible when logged in and checks for the word System and a status code of 200.
Am I missing something, because this is javascript? Or is there an error is my code.
I'm new to zabbix, and have been asked to setup a web scenario to perform a login check on a javascript site.
I have 4 steps setup. The fist checks to see if the login page comes up. - That step works
Step 2, is to login
Step 3, Checks for a required string
step 4, logs out
Steps 1&2 are getting status OK, with the 3rd getting an ErrorL required pattern not found.
I am not sure if this is error is because the page isn't loading or because it doens't actually login.
On the login page, I did an inspect element and go the action ID for everything and setup: userName={user}&password={password}&enter=submit in the Post section, with a required status code of 200. The user/password is defined in the scenario variables.
Step 3 goes to a url that is accessible when logged in and checks for the word System and a status code of 200.
Am I missing something, because this is javascript? Or is there an error is my code.
Comment