JenkinsRule.WebClient |
JenkinsRule.createWebClient() |
Create a web client instance using the browser version returned by BrowserVersion.getDefault()
with support for the Fetch API.
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.login(String username) |
Logs in to Hudson, by using the user name as the password.
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.login(String username,
String password) |
Logs in to Jenkins.
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.login(String username,
String password,
boolean rememberMe) |
Logs in to Jenkins.
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.withBasicApiToken(hudson.model.User user) |
Retrieve the ApiTokenProperty from the user, derive credentials from it and place it in Basic authorization header.
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.withBasicApiToken(String userId) |
Retrieve the ApiTokenProperty from the associated user, derive credentials from it and place it in Basic authorization header
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.withBasicCredentials(String loginAndPassword) |
Use loginAndPassword as login AND password, especially useful for JenkinsRule.DummySecurityRealm
Add the "Authorization" header with Basic credentials derived from login using Base64
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.withBasicCredentials(String login,
String passwordOrToken) |
Add the "Authorization" header with Basic credentials derived from login and password using Base64
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.withJavaScriptEnabled(boolean enabled) |
Enables/disables JavaScript support.
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.withRedirectEnabled(boolean enabled) |
Sets whether or not redirections will be followed automatically on receipt of a redirect status code from the server.
|
JenkinsRule.WebClient |
JenkinsRule.WebClient.withThrowExceptionOnFailingStatusCode(boolean enabled) |
Changes the behavior of this webclient when a script error occurs.
|