getUrlForPage(String page) Completes a URL based on configuration values by expanding
where needed from a base URL (protocol and optionally
host:port).
This is the configured general result dir.
This value should not be used directly as results will be placed in a sub folder of it in the future
the configured result path
Completes a URL based on configuration values by expanding
where needed from a base URL (protocol and optionally
host:port). If the provided page is complete (already with protocol), it is returned as is.
Parameters: page - the maybe relative target URL the assembled URL
Gets the directory where all artifacts of this specific test should be saved.
This is currently the same than
Configuration.getResultpath() but this may change in the future.
the folder
Defines the constant base path used to construct request URLs,
e.g. "shop" can be considered a basepath in "http://www.myhost.com/shop/productlist"
and "http://www.myhost.com/shop/checkout".
Indicates if WebTest should wait for completion of background js tasks after each step.
This should become true per default once HtmlUnit has the necessary functionality to
control this which is not yet the case with HtmlUnit 1.14.
This feature is intentionally undocumented.
Parameters: b - the new value
setErrorProperty
public void setErrorProperty(String errorProperty)(Code)
setFailureProperty
public void setFailureProperty(String failureProperty)(Code)
setHaltonerror
public void setHaltonerror(boolean haltOnError)(Code)
setHaltonfailure
public void setHaltonfailure(boolean haltOnFailure)(Code)
Sets the index of the result folder. Normally this shouldn't be set from
outside but the new experimental feature "WebTest parallel" currently needs it.
Parameters: index - the index
setResultfile
public void setResultfile(String resultFile)(Code)
setResultpath
public void setResultpath(File newResultPath)(Code)
setSavePrefix
public void setSavePrefix(String savePrefix)(Code)
setSaveresponse
public void setSaveresponse(boolean newSaveResponse)(Code)
setShowhtmlparseroutput
public void setShowhtmlparseroutput(boolean showParserOutput)(Code)