Our first steps in website testing were fairly simple. Let's do something a bit fancier now. We will attempt to log in to the Zabbix frontend, check whether that succeeds, and then log out. We should also verify that the logout operation was successful, by the way.
We will use the default Admin user account for these tests. Note that this will pollute the audit log with login/logout entries for this user.
We will do this with a greater number of individual steps for greater clarity:
- Check the first page
- Log in
- Check login
- Log out
- Check logout
We will set up this scenario on A test host. Go to Configuration | Hosts, click on Web next to A test host, and click on Create web scenario. Fill in these values:
- Name: Zabbix frontend
- New application: Zabbix frontend
- Variables: Enter these lines:
{user}=Admin {password}=zabbix
Remember that...