* Execute this connection request on the associated servlet or filter chain.
* @throws TestException if any errors were during execution.
*/
public void execute() {
if (isStarted() || isFinished()) {
throw new TestException(
"request have already been executed");
}
start();
try {
this.servlet.execute(request, response);
} catch (ServletException e) {
throw new TestException("Error execute request ",e);
} catch (IOException e) {
throw new TestException("IO Error during request execution",e);
} finally {
finish();
}
}