public class SeLionSauceProxy
extends org.openqa.grid.internal.BaseRemoteProxy
implements org.openqa.grid.internal.listeners.CommandListener, org.openqa.grid.internal.listeners.TimeoutListener, org.openqa.grid.internal.listeners.SelfHealingProxy
BaseRemoteProxy basically helps redirect all traffic to the SauceLabs cloud.| Modifier and Type | Class and Description |
|---|---|
static class |
SeLionSauceProxy.SauceLabsCapability
Sauce labs DesiredCapabilities that
SeLionSauceProxy is concerned with |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_DOWN_POLLING_LIMIT
Overrides value in DefaultRemoteProxy
|
static int |
DEFAULT_IDLE_TIMEOUT
Sauce labs cloud default idle timeout is 90 seconds
|
static String |
DEFAULT_PARENT_TUNNEL_TO_USERNAME_TOKEN
SauceConfigReader instruction to use the provided username value also for the parent-tunnel, if omitted |
static int |
DEFAULT_POLLING_INTERVAL
Overrides value in DefaultRemoteProxy
|
| Constructor and Description |
|---|
SeLionSauceProxy(org.openqa.grid.common.RegistrationRequest request,
org.openqa.grid.internal.Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewEvent(org.openqa.grid.common.exception.RemoteException event) |
void |
afterCommand(org.openqa.grid.internal.TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
beforeCommand(org.openqa.grid.internal.TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
beforeRelease(org.openqa.grid.internal.TestSession session) |
org.openqa.grid.internal.utils.HtmlRenderer |
getHtmlRender() |
org.openqa.grid.internal.TestSession |
getNewSession(Map<String,Object> requestedCapabilities) |
URL |
getRemoteHost() |
boolean |
isAlive() |
void |
onEvent(List<org.openqa.grid.common.exception.RemoteException> events,
org.openqa.grid.common.exception.RemoteException lastInserted) |
void |
startPolling() |
void |
stopPolling() |
void |
teardown() |
compareTo, equals, forceSlotCleanerRun, getCapabilityHelper, getConfig, getHttpClientFactory, getId, getLastSessionStart, getMaxNumberOfConcurrentTestSessions, getNewInstance, getOriginalRegistrationRequest, getRegistry, getResourceUsageInPercent, getStatus, getTestSlots, getTimeOut, getTotalUsed, hasCapability, hashCode, isBusy, setupTimeoutListener, toStringpublic static final String DEFAULT_PARENT_TUNNEL_TO_USERNAME_TOKEN
SauceConfigReader instruction to use the provided username value also for the parent-tunnel, if omittedpublic static final int DEFAULT_IDLE_TIMEOUT
public static final int DEFAULT_POLLING_INTERVAL
public static final int DEFAULT_DOWN_POLLING_LIMIT
public SeLionSauceProxy(org.openqa.grid.common.RegistrationRequest request,
org.openqa.grid.internal.Registry registry)
public org.openqa.grid.internal.utils.HtmlRenderer getHtmlRender()
getHtmlRender in interface org.openqa.grid.internal.RemoteProxygetHtmlRender in class org.openqa.grid.internal.BaseRemoteProxypublic org.openqa.grid.internal.TestSession getNewSession(Map<String,Object> requestedCapabilities)
getNewSession in interface org.openqa.grid.internal.RemoteProxygetNewSession in class org.openqa.grid.internal.BaseRemoteProxypublic void beforeCommand(org.openqa.grid.internal.TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
beforeCommand in interface org.openqa.grid.internal.listeners.CommandListenerpublic void beforeRelease(org.openqa.grid.internal.TestSession session)
beforeRelease in interface org.openqa.grid.internal.listeners.TimeoutListenerpublic void afterCommand(org.openqa.grid.internal.TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
afterCommand in interface org.openqa.grid.internal.listeners.CommandListenerpublic URL getRemoteHost()
getRemoteHost in interface org.openqa.grid.internal.RemoteProxygetRemoteHost in class org.openqa.grid.internal.BaseRemoteProxypublic boolean isAlive()
public void addNewEvent(org.openqa.grid.common.exception.RemoteException event)
addNewEvent in interface org.openqa.grid.internal.listeners.SelfHealingProxypublic void onEvent(List<org.openqa.grid.common.exception.RemoteException> events, org.openqa.grid.common.exception.RemoteException lastInserted)
onEvent in interface org.openqa.grid.internal.listeners.SelfHealingProxypublic void startPolling()
startPolling in interface org.openqa.grid.internal.listeners.SelfHealingProxypublic void stopPolling()
stopPolling in interface org.openqa.grid.internal.listeners.SelfHealingProxypublic void teardown()
teardown in interface org.openqa.grid.internal.RemoteProxyteardown in class org.openqa.grid.internal.BaseRemoteProxyCopyright © 2016 PayPal Open Source. All rights reserved.