SetConnect

WebLoginTest

Web::WebLoginTest
Description

Test if it's possible to login to a website and measure how long the login process takes (in ms).

Note: the website must support a login using querystrings (http://server/Login.aspx?username=uid&password=pwd).

You can configure the variable names (or formfields) to use for username and password.

The status of the login can be saved to a variable: 0=login failed, 1=login was successfull

The time take for the login process can be saved to a variable (time is milliseconds).

Options
URL

The URL of the login page.

NOTE: this URL is combined together with the username and password parts to create a new, complete URL which is used to test the login.

Example:
URL: http://server/Login.aspx?
Username variable: username
Password variable: password
New (internal) URL: http://server/Login.aspx?username=guest&password=welcome
Note the "?" at the end of the URL to make sure the new URL is correct. If more querystrings are necessary these can be add to the "URL" value.

Username formfield
The variable name to use for the username part.
Username
The actual username to use for the login.
Password formfield
The variable name to use for the password part.
Password
The actual password.
Save Result to Variable
If enabled, the result of the login-test will be saved to the configured variable:
0=login failed
1= login OK
Save Duration to Variable
If enabled, the duration of the login-test will be saved to the configured variable:
duration is in milliseconds.

Documentation

Release notes