Test harness for Jenkins and its plugins.
-
Create a web client instance using the browser version returned by BrowserVersion.getDefault()
with support for the Fetch API.
Logs in to Hudson, by using the user name as the password.
Retrieve the ApiTokenProperty
from the user, derive credentials from it and place it in Basic authorization header.
Retrieve the ApiTokenProperty
from the associated user, derive credentials from it and place it in Basic authorization header
Use
loginAndPassword
as login AND password, especially useful for
JenkinsRule.DummySecurityRealm
Add the "Authorization" header with Basic credentials derived from login using Base64
Add the "Authorization" header with Basic credentials derived from login and password using Base64
Enables/disables JavaScript support.
Sets whether or not redirections will be followed automatically on receipt of a redirect status code from the server.
Changes the behavior of this webclient when a script error occurs.