| java.lang.Object com.canoo.webtest.steps.request.TargetHelper
TargetHelper | public class TargetHelper implements Serializable(Code) | | This is a helper class for all test specification steps
that initiate a request.
It offers common functionality like:
preparing the request in case basic authentication is required,
handling http error scenarios,
reporting and saving away the response if successful.
author: Carsten Seibert author: Marc Guillemot author: Paul King |
CONNECTION_INITIALIZER_KEY | final public static String CONNECTION_INITIALIZER_KEY(Code) | | |
getResponse | public Page getResponse(Context context, String strUrl) throws IOException, SAXException(Code) | | Hook for test stubs in order to avoid invocation of a real request
Parameters: context - The current test context. Parameters: strUrl - The URL to invoke. |
invokeCustomInitializer | protected void invokeCustomInitializer(Context context, String customInitializerClassName)(Code) | | |
prepareConversationIfNeeded | protected void prepareConversationIfNeeded(Context context)(Code) | | Prepare the specified WebConversation for a request by setting
user and password (if specified) and install a custom HostnameVerifier
if required by the currently used protocol.
Parameters: context - The current test context. |
|
|