Step 3 – checking login

We could assume that the logging in has succeeded, but it is always best to check such things. We may have missed a hidden variable, or made a mistake with the password. So, we'll use a separate step to be sure that logging in really succeeded. Note that all further steps in this scenario will act as a logged-in user until we log out. Zabbix keeps all received cookies for later steps during the whole scenario. When logged in, one distinguishing factor is the profile link, which uses the top-nav-profile class—and that will be the string we check for:

  • Name: Check login
  • URL: http://127.0.0.1/zabbix/index.php
  • Follow redirects: Yes
  • Required string: Administration
  • Required status codes: 200
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.114.142