com.meterware.servletunit
public class ServletUnitClient extends WebClient
| Method Summary | |
|---|---|
| WebResponse | getResponse(InvocationContext invocation)
Updates this client and returns the response which would be displayed by the
user agent. |
| HttpSession | getSession(boolean create)
Returns the session that would be used by the next request (if it asks for one). |
| static ServletUnitClient | newClient(InvocationContextFactory factory)
Creates and returns a new servlet unit client instance.
|
| InvocationContext | newInvocation(String requestString)
Creates and returns a new invocation context from a GET request.
|
| InvocationContext | newInvocation(WebRequest request)
Creates and returns a new invocation context to test calling of servlet methods.
|
| protected WebResponse | newResponse(WebRequest request, FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request.
|
Parameters: create if true, will create a new session if no valid session is defined.
Since: 1.6