View previous topic :: View next topic |
Author |
Message |
BillB
Joined: 22 Jan 2008 Posts: 20
|
Posted: Tue Nov 18, 2008 11:04 am Post subject: URL Request HTTP/1.1 |
|
|
Is there any way to have the URL test use HTTP 1.1 as we have a couple sites that will not test properly through HTTP 1.0.
Regards,
-B |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Tue Nov 18, 2008 11:23 am Post subject: |
|
|
Have you faced any problems using "URL" test method? What exact problem have you faced? Actually, "URL" test method should use HTTP/1.1 by default.
Regards,
Max |
|
Back to top |
|
|
BillB
Joined: 22 Jan 2008 Posts: 20
|
Posted: Tue Nov 18, 2008 12:20 pm Post subject: |
|
|
A packet trace shows the GET request as HTTP/1.0. The custom header works as it should. These requests as HTTP 1.0 have issues with some of our sites directly and any sites tested through our web accellerator (it only supports HTTP 1.1)
GET /Pages/Default.aspx HTTP/1.0
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: site.server.com
Connection: Keep-Alive
Cookie: BigIP_Cookie=2341607079Pragma: no-cache
Authorization: NTLM
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Nov 18, 2008 2:06 pm Post subject: |
|
|
HostMonitor uses Windows wininet.dll that should send HTTP/1.1 requests by default. We just tested HostMonitor on our systems, our systems use HTTP/1.1.
Could you please provide more information?
- HostMonitor version?
- Windows?
- Service Pack?
- Internet Explorer?
- May we see test settings? you may export test settings into text file using menu File -> Export to text file
- What option have use selected on Connection (Access method) page in the Options dialog?
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Nov 18, 2008 2:14 pm Post subject: |
|
|
May be you just disabled "Use HTTP 1.1" option provided by Internet Explorer (Tools -> Internet Options -> Advanced -> Use HTTP 1.1)?
Regards
Alex |
|
Back to top |
|
|
BillB
Joined: 22 Jan 2008 Posts: 20
|
Posted: Tue Nov 18, 2008 2:58 pm Post subject: |
|
|
;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 11/18/2008 3:54:58 PM -
;- Source file: c:\company.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------
; ------- Test #01 -------
Method = Url
;--- Common properties ---
;DestFolder = Root\Corporate Applications\Web\Web Application\
Title = Web Application - FrontEnd - URL request
Disabled = Yes
Comment = FE Test^email@company.com
RelatedURL =
ScheduleMode= Regular
Schedule = Standard (With Maintenance)
Interval = 120
Alerts = Bill test
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseCommonLog= No
PrivateLog = C:\swtest.dbf
PrivLogMode = Full
CommLogMode = Default
;--- Test specific properties ---
URL = http://server.company.com:80/Pages/Default.aspx
UrlUseMacros= No
is302ok = Yes
IgnoreUnknCA= Yes
Timeout = 90000
UseFrames = Yes
UseImages = No
CheckContents = contain
Expression = Quagmire
CaseSensitive = No
WholeWordsOnly= No
ExprUseMacros = No
OptHeaders = Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*^MAccept-Language: en-us^MUA-CPU: x86^MAccept-Encoding: gzip, deflate^MUser-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)^MHost: server.company.com^MConnection: Keep-Alive
;-----------------------------------------------------------------------------
; Exported 1 items |
|
Back to top |
|
|
BillB
Joined: 22 Jan 2008 Posts: 20
|
Posted: Tue Nov 18, 2008 3:02 pm Post subject: |
|
|
HostMonitor: 7.50
Windows: 2003 Server SP2
InternetExplorer: 7.0.5730
URL Test Option: Mozilla/4.0 (compatible; MSIE 6.0)
Use HTTP 1.1 is enabled in Internet Explorer.
Regards,
-B |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Nov 19, 2008 11:51 am Post subject: |
|
|
We tested Internet Explorer 7.0.5730, Windows XP, Windows Server 2003
We cannot reproduce such behavior.
What option have use selected on Connection (Access method) page in the Options dialog?
You may use HTTP test instead of URL test. HTTP test uses our own code and does not depend on Windows wininet.dll
Regards
Alex |
|
Back to top |
|
|
BillB
Joined: 22 Jan 2008 Posts: 20
|
Posted: Wed Nov 19, 2008 12:05 pm Post subject: |
|
|
We used the option 'direct to net'.
Can the HTTP test use IWA (Integrated Windows Authentication)?
-B |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Nov 19, 2008 12:53 pm Post subject: |
|
|
No, it can't
What option have use selected on Connection (Access method) page in the Options dialog? May be you are using some proxy server that sends HTTP 1.0 request?
If not, can you install HostMonitor on different system?
Regards
Alex |
|
Back to top |
|
|
BillB
Joined: 22 Jan 2008 Posts: 20
|
Posted: Wed Nov 19, 2008 1:04 pm Post subject: |
|
|
We are not using any proxies, and I did install HM on another system (7.7b) I created the same test and it runs as HTTP 1.1
I was intrigued so I set HM up to run as a service and while running as a service the request is sent as HTTP 1.0
I hope this helps.
-B |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Nov 19, 2008 2:25 pm Post subject: |
|
|
Oh, service mode... I think you should change value of the following registry key
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\EnableHttp1_1 from 0 to 1
Regards
Alex |
|
Back to top |
|
|
BillB
Joined: 22 Jan 2008 Posts: 20
|
Posted: Wed Nov 19, 2008 2:53 pm Post subject: |
|
|
Works like a charm.. Alex you rock as usual.
Thanks!
-B |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Nov 19, 2008 2:56 pm Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
|
|