Web Vuser Functions (WEB) > General Topics in Web Protocol > User Authentication

User Authentication

The following types of user authentication are supported:

When a Web server requests Basic authentication, VuGen automatically inserts a web_set_user function with the recorded arguments into the script.

However, when the Web server demands the more secure NTLM or Digest authentication, VuGen is unable to insert the required information. If it could, these methods would not be secure. In these two cases, you must manually insert web_set_user into the script, including user and password information, to authenticate the Vuser to the Web server.

With NTLM authentication, you must prepend the domain name and a double backslash to the user name: "[domain_name]\\[username]". For example:

web_set_user("spark\\peter", "XYZ", "spark:80");