[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hobbit] http timeout and content checking
- To: hobbit (at) hswn.dk
- Subject: [hobbit] http timeout and content checking
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Fri, 21 Dec 2007 11:24:40 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=poLzQtfpXFpW/b4o869NwLy9gjYnBPL2nqQYE4wgwic=; b=Pv0XYY4cNRUaGoNjBFNny3a24Fqhzo+arW/5s6z64dUaQIBcTJ3gj0RWBM10kA8dXtIE2l/LIGm3J/9ppWtDq2b4dkD/tEHMq32Htl2tvNfbqtxx59qy5Z1RsznDUBbezhVzeS1oRBDFzdN0eeQmh6QsJhswIDlX5V5qowzqqMA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ADG7INC82cY4Uy0qm1WT1RH1QZ8bIoNJFUPOMU4j6nMBvyqDvcNSkwpWqvpGAnTu0VKidZ8BsrrwHTSexh2owyuyYkxg9miEkZmRq5Pck1ZZ0Dk1cW8X60wAID5iK4YPr8TgjKbPHehSoLUCWrdEM/n3MLTsPAVZpxMmsmTZCo4=
I'm having a little problem converting some Sitescope web page checks into
Hobbit content checks. In particular, I have several URLs of the form:
https://some.machine.name:9212/monitoring/MonitorControlServlet?monitorName=com.company.common.util.monitoring.blah.WLIProcessMonitor&fullDisplay=true&status=FROZEN&minCount=20
(names changed to protect the innocent)
The problem is, I can go to that URL manually, and it will show up
fine...after about 20 seconds or so. The URL is slow to respond, because it
is running a back-end check, and that check simply takes a while to
complete. The result is that Hobbit is coming back saying that the website
failed to respond after 10.x seconds, even though it would be fine if I
waited another 10 seconds or so.
I would like to be able to increase the timeout, but only for URLs similar
to above that are expected to take a while to respond. I don't want to
increase this timeout across the board, since only a subset of all of the
URL monitoring I am doing take so long to respond. Is there any way to do
this?
-----
Also on a related, though different note, are a few other tests that I can't
get the "content" column to show up. These URLs are of the form:
https://username:password (at) some.machine.name:9212/monitoring/MonitorControlServlet?monitorName=com.company.common.util.monitoring.URLMonitor&url=https://some.machine.name:9212/LBListener/MessageReceiver&fullDisplay=true&isPost=true&ABCAction=AccountInfoRequest&ABCService=MemberManagement&payload=<request:AccountInfoRQ
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:request="
com.company.accountrequest"><AccountInfo
AccountCardNumber="4264292967999999" PortfolioID="177"
SecurityInfo="true"/></request:AccountInfoRQ>
(names changed to protect the innocent)
The http check is working fine, but it seems like hobbit is ignoring the
fact that I have it set up as a content check. The bb-hosts line for this
test looks like:
1.2.3.4 test-name # DESC:"Test description" noconn nosslcert cont;<URL
above>;Success badhttp:1:2:3
I also just noticed that for these tests, bbtest is complaining "content-check,
but no content-data in <bb-hosts line above>". However, if I manually go to
the URL in a browser, it does indeed return "content-data", and it returns
in a timely fashion (about 2 or 3 seconds). Any ideas?