Uses of Class
com.facilita.fc.web.Url
-
Packages that use Url Package Description com.facilita.fc.web The eggPlant Performance Web Java API makes it easy to perform load tests against web sites and services, by providing classes and methods that simulate the behaviour of a web browser sending/receiving HTTP(s) requests to/from a web server. -
-
Uses of Url in com.facilita.fc.web
Methods in com.facilita.fc.web that return Url Modifier and Type Method Description UrlUrl. appendPath(java.lang.String path)Creates a newUrlobject using the attributes of thisUrl, but with the specifiedpathappended to the existing path.UrlResponse. getAnchor(int n, ActionType failAction)Gets the nth anchor in thisResponse.UrlCachedResponse. getUrl()Gets theUrlthat thisCachedResponserepresents a response to.UrlRequest. getUrl()Gets theUrlthat thisRequestis targeting.UrlResponse. getUrl()UrlWebSocket. getUrl()Gets theUrlthat this WebSocket is targeting.UrlUrl. withCredentials(java.lang.String user, java.lang.String password)Creates a newUrlobject using the attributes of thisUrl, but with the specifieduserandpassword(replacing the existing credentials if present).UrlUrl. withPath(java.lang.String path)Creates a newUrlobject using the attributes of thisUrl, but with the specifiedpath(replacing the existing path if present).UrlUrl. withPort(int port)Creates a newUrlobject using the attributes of thisUrl, but with the specifiedport(replacing the existing port if present).UrlUrl. withQuery(Form form)Creates a newUrlobject using the attributes of thisUrl, but with query data from the specifiedFormobject (replacing the existing query data if present).UrlUrl. withQuery(Form form, java.lang.String unsafeCharacters)Creates a newUrlobject using the attributes of thisUrl, but with query data from the specifiedFormobject percent-encoded using the supplied list ofunsafeCharacters(replacing the existing query data if present).UrlUrl. withQuery(QueryData queryData)Creates a newUrlobject using the attributes of thisUrl, but with the specifiedQueryDataobject (replacing the existing query data if present).UrlUrl. withQuery(QueryData queryData, java.lang.String unsafeCharacters)Creates a newUrlobject using the attributes of thisUrl, but with the specifiedQueryDataobject (replacing the existing query data if present).UrlUrl. withQuery(java.lang.String queryText)Creates a newUrlobject using the attributes of thisUrl, but with the specifiedqueryText String(replacing the existing query data if present).UrlUrl. withReference(java.lang.String reference)Creates a newUrlobject using the attributes of thisUrl, but with the specifiedreference String(replacing the existing reference, also known as the fragment ID, if present).Methods in com.facilita.fc.web that return types with arguments of type Url Modifier and Type Method Description java.util.List<Url>Request. getIgnoredSubRequests()Gets the list of sub-requests that will be ignored when fetching sub-requests from the web server.java.util.List<Url>Request. getSubRequests()Gets the list of sub-requests that will be fetched from the web server by this request.Methods in com.facilita.fc.web with parameters of type Url Modifier and Type Method Description voidRequest. addSubRequest(Url url)Adds aUrlto the list of sub-requests that will be fetched from the web server by this request.RequestWebBrowser. createRequest(HttpMethod method, Url url)Creates aRequestobject that can be used to send an HTTP request to the web server.RequestWebBrowser. createRequest(HttpMethod method, Url url, int reference)Creates aRequestobject that can be used to send an HTTP request to the web server, specifying a unique identifier that can be used to track the request.WebSocketWebBrowser. createWebSocket(Url url, int reference)Creates aWebSocketobject that can be used to send/receive WebSocket messages to/from the web server.static longUrl. getCPtr(Url obj)For internal use only.<T> TWebBrowserScript. getSoapService(java.lang.Class<T> soapServiceInterface, Url url, com.testplant.soap.SoapVersion soapVersion)<T> TWebBrowserVirtualUser. getSoapService(java.lang.Class<T> soapServiceInterface, Url url, com.testplant.soap.SoapVersion soapVersion)voidRequest. ignoreSubRequest(Url url)Specifies aUrlthat will be ignored when fetching sub-requests from the web server.voidCachedResponse. setReferer(Url url)Sets the value of the"Referer"HTTP header to the specifiedUrl.voidRequest. setReferer(Url url)Sets the value of the"Referer"HTTP header.voidWebSocket. setReferer(Url url)Sets the value of the"Referer"HTTP header.voidRequest. setUrl(Url url)Sets theUrlthat thisRequestis targeting.voidWebSocket. setUrl(Url url)Sets theUrlthat this WebSocket is targeting.Method parameters in com.facilita.fc.web with type arguments of type Url Modifier and Type Method Description voidRequest. setIgnoredSubRequests(java.util.List<Url> ignoreList)Sets the list of sub-requests that will be ignored when fetching sub-requests from the web server.voidRequest. setSubRequests(java.util.List<Url> resourceList)Sets the list of sub-requests that will be fetched from the web server by this request.Constructors in com.facilita.fc.web with parameters of type Url Constructor Description CachedResponse(Url url)Creates aCachedResponseobject with the specifiedUrl.Url(Url url, java.lang.String relativeUrlText, boolean checkSlash)For internal use only.
-