| org.netbeans.modules.visualweb.gravy.HttpTestCase
HttpTestCase | public class HttpTestCase extends NbTestCase implements Test(Code) | | This class allows to check a real execution of deployed web-application
inside running automated test.
|
Constructor Summary | |
public | HttpTestCase(String testName) Creates a new instance of this class. |
Method Summary | |
public WebConversation | getConversation() Returns an instance of initialized WebConversation. | public WebRequest | getRequest() Returns an instance of initialized http-request. | public WebResponse | getResponse() Returns a http-response from web-server. | protected TestProperties | getTestProperties() Returns test properties (TestProperties object). | public WebConversation | initConversation() Initializes an instance of class WebConversation, which will
check an execution of web-application. | public WebRequest | initRequest(String path) Initializes an instance of http-request. | public WebResponse | lastResponse() Returns the last received web-response or waits, until the first web-response
is received, and returns it. |
HttpTestCase | public HttpTestCase(String testName)(Code) | | Creates a new instance of this class.
Parameters: testName - a name of new created test. |
getConversation | public WebConversation getConversation()(Code) | | Returns an instance of initialized WebConversation.
the instance of WebConversation |
getRequest | public WebRequest getRequest()(Code) | | Returns an instance of initialized http-request.
the instance of http-request |
getResponse | public WebResponse getResponse() throws Exception(Code) | | Returns a http-response from web-server.
the instance of http-response |
getTestProperties | protected TestProperties getTestProperties()(Code) | | Returns test properties (TestProperties object).
test properties |
initConversation | public WebConversation initConversation()(Code) | | Initializes an instance of class WebConversation, which will
check an execution of web-application.
the created instance of WebConversation |
initRequest | public WebRequest initRequest(String path)(Code) | | Initializes an instance of http-request.
Parameters: path - an absolute URL to a deployed web-application the instance of http-request |
lastResponse | public WebResponse lastResponse() throws Exception(Code) | | Returns the last received web-response or waits, until the first web-response
is received, and returns it.
the instance of WebResponse |
|
|