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, toString
public 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.RemoteProxy
getHtmlRender
in class org.openqa.grid.internal.BaseRemoteProxy
public org.openqa.grid.internal.TestSession getNewSession(Map<String,Object> requestedCapabilities)
getNewSession
in interface org.openqa.grid.internal.RemoteProxy
getNewSession
in class org.openqa.grid.internal.BaseRemoteProxy
public 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.CommandListener
public void beforeRelease(org.openqa.grid.internal.TestSession session)
beforeRelease
in interface org.openqa.grid.internal.listeners.TimeoutListener
public 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.CommandListener
public URL getRemoteHost()
getRemoteHost
in interface org.openqa.grid.internal.RemoteProxy
getRemoteHost
in class org.openqa.grid.internal.BaseRemoteProxy
public boolean isAlive()
public void addNewEvent(org.openqa.grid.common.exception.RemoteException event)
addNewEvent
in interface org.openqa.grid.internal.listeners.SelfHealingProxy
public 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.SelfHealingProxy
public void startPolling()
startPolling
in interface org.openqa.grid.internal.listeners.SelfHealingProxy
public void stopPolling()
stopPolling
in interface org.openqa.grid.internal.listeners.SelfHealingProxy
public void teardown()
teardown
in interface org.openqa.grid.internal.RemoteProxy
teardown
in class org.openqa.grid.internal.BaseRemoteProxy
Copyright © 2016 PayPal Open Source. All rights reserved.