protected void invokeClient() {
try {
clientLog = Axis2Client.fireClient("ant stockquote -Daddurl=http://" + HOST_NAME + ":" + HTTP_PORT + "/services/StockQuoteProxy -Dmode=placeorder -Dsymbol=MSFT");
LogViewerStub logViewerStub = new LogViewerStub("https://" + FrameworkSettings.HOST_NAME + ":" + FrameworkSettings.HTTPS_PORT + "/services/LogViewer");
AuthenticateStub authenticateStub = new AuthenticateStub();
authenticateStub.authenticateAdminStub(logViewerStub, sessionCookie);
LogMessage[] logMessages = logViewerStub.getLogs("ALL", "PropertyMediator");
if (!logMessages[logMessages.length - 1].getLogMessage().contains(searchWord)) {
Assert.fail("Sample 251 doesn't work");
log.error("Sample 251 doesn't work");