RE: Is it possible to send and email using HTTPCLIENT?
How about FTP through an HTTP proxy? Thanks, Steve Steve Johnson, Software Engineer, [EMAIL PROTECTED] direct 720.564.6532 www.mercury.com www.mercury.com -Original Message- From: Gerdes, Tom [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:08 AM To: Commons HttpClient Project Subject: RE: Is it possible to send and email using HTTPCLIENT? Thanks! -Original Message- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 1:03 AM To: Commons HttpClient Project Subject: Re: Is it possible to send and email using HTTPCLIENT? Hello Tom, no it is not. Protocols for transferring EMail are SMTP or IMAP. HttpClient implements HTTP. Browsers do lots more than just HTTP, that's why most of them chose to implement mailing functionality as well. But HttpClient is intentionally focused on HTTP alone, which is tricky enough. There is a standard Java API for sending EMail in J2EE: http://java.sun.com/products/javamail/ You can probably get it running with J2SE as well. It includes support for multipart mail: http://java.sun.com/j2ee/1.4/docs/api/javax/mail/package-tree.html http://java.sun.com/j2ee/1.4/docs/api/javax/mail/Multipart.html hope that helps, Roland Gerdes, Tom [EMAIL PROTECTED] 19.10.2004 21:10 Please respond to Commons HttpClient Project To Commons HttpClient Project [EMAIL PROTECTED] cc Subject Is it possible to send and email using HTTPCLIENT? Can I just send a multipart post to an email server with attached files using Httpclient? Would this work for an email? If so, does anyone have an example of doing this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: url is Re: How to accept cookies in HttpClient.
Hi Tom, This is a little verbose, but our product that uses httpclient reaches the logon page with the cookes from the second(logon frame) link. We manage cookies externally to httpclient and sort-of emulate stepping through the browser. Here is the final link, request, 302 response, request, 200 response and start of html. This shows the cookies being sent and that there is a redirect that also sends the cookies, and that the cookies are included on the request after the 302 redirect. It looks like the logon frame link should be the first required link. -- https://lb32.resources.hewitt.com/sg1dgp9/tbiappt300/TbiaStatelessErrorPage?nodeId=HttpCookiesNotSupportedPage u=1095807998521clientId=09813emClientId=remoteServer=falsesslActive=truecreate=1095807997884isSSO=false isYTR=falseulDt=1095807998521ius=t SITESCOPE HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST GET /sg1dgp9/tbiappt300/TbiaAuthPage?Submit=Log+OnclientId=09813emClientId=create=1095807997884remoteServer=fa lsebp=falsesslActive=trueQATest=nullnodeId=EnterTheSitePageu=1095807997885wdw=YBRPrimaryJavaScriptEnabl ed=FALSElDt=ulDt=fn=GreetingPagefWdw=YBRPrimaryisSSO=falseisYTR=false%5EuniqueValue=1095807997887%5Een dOfForm=EOF HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) Pragma: No-Cache Referer: http://lb32.resources.hewitt.com/sg1dgp9/tbiappt300?nodeId=GreetingPageclientId=09813endReferer Accept-charset: Cp1252 Accept: */* Host: lb32.resources.hewitt.com Cookie: YBR_PROFILE=09813:1095807997933:15:false:YBRSessTS1095807997884; JSESSIONID_SG1_DGP9=0001LKW3Y0IG21QEAWQYEOX5CHQ:uvjpor1h SITESCOPE BLANK LINE SITESCOPE HTTP RESPONSE HEADERS HTTP/1.0 302 Found Date: Tue, 21 Sep 2004 23:06:38 GMT Server: Apache Set-Cookie: JSESSIONID_SG1_DGP9=0001IQS44Z2S5T4YRU3AGLDY2AA:uvjpor1h;Path=/; Secure Cache-Control: no-cache=set-cookie,set-cookie2 Expires: Thu, 01 Dec 1994 16:00:00 GMT Set-Cookie: JSESSIONID_SG1_DGP9=0001CVRR05MUKKZ3UNOMW1J3ERA:uvjpor1h;Path=/; Secure Set-Cookie: YBR_PROFILE=09813:1095807998533:15:false:YBRSessTS1095807998510;Path=/sg1dgp9; Secure Location: /sg1dgp9/tbiappt300/TbiaStatelessErrorPage?nodeId=HttpCookiesNotSupportedPageu=1095807998521clientId=09813e mClientId=remoteServer=falsesslActive=truecreate=1095807997884isSSO=falseisYTR=falseulDt=1095807998521i us=t P3P: policyref=https://cache.hewitt.com/base/p3p/p3p.xml Content-Length: 0 Connection: close Content-Type: Content-Language: en SITESCOPE HTTP RESPONSE BODY SITESCOPE BLANK LINE SITESCOPE HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST HTTP REQUEST GET /sg1dgp9/tbiappt300/TbiaStatelessErrorPage?nodeId=HttpCookiesNotSupportedPageu=1095807998521clientId=09813e mClientId=remoteServer=falsesslActive=truecreate=1095807997884isSSO=falseisYTR=falseulDt=1095807998521i us=t HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) Accept-charset: Cp1252 Accept: */* Host: lb32.resources.hewitt.com Cookie: YBR_PROFILE=09813:1095807998533:15:false:YBRSessTS1095807998510; JSESSIONID_SG1_DGP9=0001CVRR05MUKKZ3UNOMW1J3ERA:uvjpor1h SITESCOPE BLANK LINE SITESCOPE HTTP RESPONSE HEADERS HTTP/1.0 200 OK Date: Tue, 21 Sep 2004 23:06:38 GMT Server: Apache Set-Cookie: JSESSIONID_SG1_DGP9=0001T1R54T0IRBPVDEY0I50QMTI:uvjpor1h;Path=/; Secure Cache-Control: no-cache Expires: Thu, 1 Jan 1970 00:00:00 GMT Set-Cookie: YBR_PROFILE=09813:1095807998955:15:false:YBRSessTS1095807997884;Path=/sg1dgp9; Secure Pragma: no-cache P3P: policyref=https://cache.hewitt.com/base/p3p/p3p.xml Connection: close Content-Type: text/html Content-Language: en SITESCOPE HTTP RESPONSE BODY htmlHEADmeta NAME=Spider-Directive CONTENT=linkId=HttpCookiesNotSupportedPage;accessibility=NEVER /TITLEError: This site requires HTTP header cookies to identify transaction requests./TITLESCRIPT LANGUAGE=JavaScript function getLoadTimestamp() -Original Message- From: tom yin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 4:44 PM To: Commons HttpClient Project Subject: RE: url is Re: How to accept cookies in HttpClient. Hi, Michael, Thanks a lot for your info. It's weired...In my computer, after I clean cookies, I will go to the error page if I click the link in this mail directly, but go to the right login page if I copy the link to the address bar and press enter key. The initial link is link1, http://resources.hewitt.com/jpmc/ , which will be automatically redirected to link 2, http://lb32.resources.hewitt.com/sg1dgp9/tbiappt300?nodeId=GreetingPageclientId=09813 , Then when you click logon button, you can go to the link3 (the link I mentioned in my last email, this is the login page.) I can go to link2 by using HttpClient, but I will go to the error page when I try to access link3 using HttpClient (I have checked the cookies created in
RE: url is Re: How to accept cookies in HttpClient.
Hi Tom, I get the same error page from Netscape, are you going through a proxy in IE? Thanks, Steve -Original Message- From: tom yin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 3:37 PM To: [EMAIL PROTECTED] Subject: url is Re: How to accept cookies in HttpClient. Hello, I've forgotten to tell you guys the url, which is: https://lb32.resources.hewitt.com/sg1dgp9/tbiappt300/TbiaAuthPage?Submit=Log+OnclientId=09813emClientId=cre ate=1095797686983remoteServer=falsebp=falsesslActive=trueQATest=nullnodeId=EnterTheSitePageu=10957976869 83wdw=YBRPrimaryJavaScriptEnabled=TRUElDt=1095797520203ulDt=1095801760921fn=GreetingPagefWdw=YBRPrimary isSSO=falseisYTR=false%5EuniqueValue=1095797686985%5EendOfForm=EOF I can reach the login page by accessing this url in IE, but can not by httpClient. If any comments, I will appreciate it. Thanks. Tom tom yin [EMAIL PROTECTED] wrote: Hi, All, I got a problem when I try to go to a login page of a website. My code is like this: GetMethod defaultpage = new GetMethod(link); //defaultpage.setFollowRedirects(true); defaultpage.setQueryString(nameValuePairs); //defaultpage.setRequestBody(nameValuePairs); client.executeMethod(defaultpage); It's very simple, but I can not go to the login page expected, but redirected to an error page, which has the following information: You've received this message for one of the following reasons: The Enter the Site page is bookmarked or added to your favorites. If so, please delete that bookmark. You can bookmark the Welcome page instead. Your browser doesn't support cookies, or you've set your browser to not accept cookies. Please use one of the recommended browsers or set your browser preferences to accept cookies. Contact your browser developer (for example, Microsoft or Netscape) if you need help setting your browser preferences. Is this a cookies problem? If I reach the website by IE, no problem happens. Please help. Thanks. - Do you Yahoo!? vote.yahoo.com - Register online to vote today! - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
RE: Error on Oracle App Server Admin Page
Hi All, Thanks for the prompt suggestion. This did not work. Here is a suggestion that works. client.getState().setAuthenticationPreemptive(true); No SSL used on this URL. Thanks again, Steve -Original Message- From: Michael Becke [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 7:27 PM To: Commons HttpClient Project Subject: Re: Error on Oracle App Server Admin Page Hi Steve, It looks like you're getting a bad connection. My guess is that the server is closing the connection between requests. Are you using SSL by chance? Please try setting the connection header to close on your requests and see what happens: Method.setRequestHeader(Connection, close); Mike On Aug 10, 2004, at 1:06 PM, Steve Johnson wrote: Hi All, I am getting slightly different, but similar results from 2 Oracle App Server Admin Pages. Here are the links, they both use Basic authentication, as confirmed by the WIRE debug. Also the HTTP Request looks identical from HTTPClient and IE when viewed in a sniffer. In both cases the first request is missing the: Authorization: Basic YWRtaW5pc3RyYXRvcjphZG1pbmlzdHJhdG9y header line and the response is 401. The second request includes this line and IE works with 200. HTTPClient does not get any response headers, but gets these exceptions: http://maximus.mercury.co.il:4003/webcacheadmin? SCREEN_ID=CGA.Site.Stats http://maximus.mercury.co.il:4003/webcacheadmin? SCREEN_ID=CGA.Site.StatsACTION=Show ACTION=Show org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with HTTP http://localhost:/SiteScope/cgi/go.exe/SiteScope? page=adhocReportmonitors=2+oracleaccount=administrator group=oracledetailed=true http://sunqa1:4000/webcacheadmin?SCREEN_ID=CGA.Site.StatsACTION=Show org.apache.commons.httpclient.HttpRecoverableException: java.net.SocketException: Software caused connection abort: recv failed Both requests look identical to me: GET /webcacheadmin?SCREEN_ID=CGA.Site.StatsACTION=Show HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: sunqa1:4000 Connection: Keep-Alive Authorization: Basic YWRtaW5pc3RyYXRvcjphZG1pbmlzdHJhdG9y The only thing that looks different in the sniffer is the client port. HTTPClient uses the same client port for both requests, without and with Authorizaiton: IE uses different ports on each request. I didnt find anything in old bugs. Thanks for you help, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error on Oracle App Server Admin Page
Hi All, I am getting slightly different, but similar results from 2 Oracle App Server Admin Pages. Here are the links, they both use Basic authentication, as confirmed by the WIRE debug. Also the HTTP Request looks identical from HTTPClient and IE when viewed in a sniffer. In both cases the first request is missing the: Authorization: Basic YWRtaW5pc3RyYXRvcjphZG1pbmlzdHJhdG9y header line and the response is 401. The second request includes this line and IE works with 200. HTTPClient does not get any response headers, but gets these exceptions: http://maximus.mercury.co.il:4003/webcacheadmin?SCREEN_ID=CGA.Site.Stats http://maximus.mercury.co.il:4003/webcacheadmin?SCREEN_ID=CGA.Site.StatsACTION=Show ACTION=Show org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with HTTP http://localhost:/SiteScope/cgi/go.exe/SiteScope?page=adhocReportmonitors=2+oracleaccount=administrator group=oracledetailed=true http://sunqa1:4000/webcacheadmin?SCREEN_ID=CGA.Site.StatsACTION=Show org.apache.commons.httpclient.HttpRecoverableException: java.net.SocketException: Software caused connection abort: recv failed Both requests look identical to me: GET /webcacheadmin?SCREEN_ID=CGA.Site.StatsACTION=Show HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: sunqa1:4000 Connection: Keep-Alive Authorization: Basic YWRtaW5pc3RyYXRvcjphZG1pbmlzdHJhdG9y The only thing that looks different in the sniffer is the client port. HTTPClient uses the same client port for both requests, without and with Authorizaiton: IE uses different ports on each request. I didnt find anything in old bugs. Thanks for you help, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com
URL escaping
Hi All, Here is a URL that throws an exception if passed to GetMethod as is: throws something like invalid argument or uri. It appears to be the unescaped characters in /tr/cl/1,,TRAVELOCITY|987,00.html The problem is if the whole string is escaped then these escaped characters are double encoded: %3fService%3d to %325fService%253d which causes a server error 500. http://tr.travelocity.com/tr/cl/1,,TRAVELOCITY|987,00.html?s=hp1 http://tr.travelocity.com/tr/cl/1,,TRAVELOCITY|987,00.html?s=hp1c=hdstuffURL=https://dps1.travelocity.com/l ognlogin.ctl%3fService%3dTRAVELOCITY%26tr_module%3dRETR%26SEQ%3d1372136878108921366819 c=hdstuffURL=https://dps1.travelocity.com/lognlogin.ctl%3fService%3dTRAVELOCITY%26tr_module%3dRETR%26SEQ%3d1 372136878108921366819 Is there a simple way to send any request without complaining about the URI? If this URL is pasted into IE it works. Currently doing this: URI parsedURI = null; // if at first you don't succeed. try { try { // again. parsedURI = new URI(url.toCharArray()); // This throws on the URL above } catch (URIException e) { parsedURI = new URI(url, I18N.getDefaultEncoding()); // This double encodes the URL above. } } catch (URIException e) { } Thanks for your time and help, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com
RE: NTLM authentication to an MS Exchange web page account using HTTP Client V2.0
Hi All, Thanks again Adrian, very helpful. The NTCredentials API shows that the user, password, host, and domain can be set. Is it possible to use the logged-in users credentials? This way it would allow a user to be authenticated without reentering user/pw. Thanks for the help, Steve -Original Message- From: Adrian Sutton [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 4:20 PM To: Commons HttpClient Project Subject: Re: NTLM authentication to an MS Exchange web page account using HTTP Client V2.0 This sounds very much like the webserver isn't really using NTLM but is using Digest/Basic instead. If it really were using NTLM passing in DOMAIN\User would definitely not work because HttpClient doesn't check for that case. That would also explain why the realm isn't what you expect. I'd say a wire log should shed a lot of light on the situation (see http://jakarta.apache.org/commons/httpclient/logging.html ) Regards, Adrian Sutton On 23/06/2004, at 3:43 AM, Steve Johnson wrote: Hi All, Using HTTPClient version 2.0 We are using HTTPClient to login to a MS Exchange web page account. We can only get it to work by passing in the realm as null, and putting the domain back on to the front of the user to pass into NTCredentials(). new NTCredentials(authUserNameAppendDomainWithBackSlash + settings.getAuthUserName(), settings.getAuthPassword(), settings.getHost(), settings.getAuthDomain()) The comments on the interface say that only the username should be passed in, and NOT the domain. For other NTLM pages it works to use only the user, but this page has not worked for us without the domain like this myDomain\myUser. On State.setCredentials() we have tried passing the host, null, and the string realm in without the domain appended to user. All these attempts fail. We would prefer to use the API without the domain on the user. client.getState().setCredentials( null, //realm, null, settings.getHost()- settings.getHost(), new NTCredentials(authUserNameAppendDomain + settings.getAuthUserName(), settings.getAuthPassword(), settings.getHost(), settings.getAuthDomain()) ); Is there some documentation on how the realm interacts with authentication? Thanks for your time and effort, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com -- Intencha tomorrow's technology today Ph: 38478913 0422236329 Suite 8/29 Oatland Crescent Holland Park West 4121 Australia QLD www.intencha.com
NTLM authentication to an MS Exchange web page account using HTTP Client V2.0
Hi All, Using HTTPClient version 2.0 We are using HTTPClient to login to a MS Exchange web page account. We can only get it to work by passing in the realm as null, and putting the domain back on to the front of the user to pass into NTCredentials(). new NTCredentials(authUserNameAppendDomainWithBackSlash + settings.getAuthUserName(), settings.getAuthPassword(), settings.getHost(), settings.getAuthDomain()) The comments on the interface say that only the username should be passed in, and NOT the domain. For other NTLM pages it works to use only the user, but this page has not worked for us without the domain like this myDomain\myUser. On State.setCredentials() we have tried passing the host, null, and the string realm in without the domain appended to user. All these attempts fail. We would prefer to use the API without the domain on the user. client.getState().setCredentials( null, //realm, null, settings.getHost()- settings.getHost(), new NTCredentials(authUserNameAppendDomain + settings.getAuthUserName(), settings.getAuthPassword(), settings.getHost(), settings.getAuthDomain()) ); Is there some documentation on how the realm interacts with authentication? Thanks for your time and effort, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com
How to configure log4j.
Hi All, Please help me initialize the log4j system properly. I have attempted to create a properties file and use System properties. Do I need to put the properties file in the jar in the same directory with the classes? Is there a default properties file for httpclient? log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.methods.GetMethod). log4j:WARN Please initialize the log4j system properly. Help Cecil Help, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com
Where are the response bits being read over the wire?
Hi All, We are extending classes in an initail effort to instrument DNS, connect, response(first buffer read), and download. The DNS and connect looks pretty good. Where are the bits actually being retrieved over the wire? Overriding HttpMethodBase. byte[] getResponseBody() and adding response and download times returns reasonable looking response times, but almost all the download duration times are 0. Here is the current code. It is derived from GetMethod.java public byte[] getResponseBody() { if (this.responseBody == null) { try { boolean firstReadDone = false; InputStream instream = getResponseBodyAsStream(); if (instream != null) { LOG.debug(Buffering response body); ByteArrayOutputStream outstream = new ByteArrayOutputStream(); byte[] buffer = new byte[4096]; int len; while ((len = instream.read(buffer)) 0) { outstream.write(buffer, 0, len); if ( !firstReadDone ) { responseEnd = System.currentTimeMillis(); } System.out.println(ApacheGetMethod.getResponseBody() path: + getPath() + bytes read: + len ); firstReadDone = true; } outstream.close(); setResponseStream(null); this.responseBody = outstream.toByteArray(); } } catch (IOException e) { LOG.error(I/O failure reading response body, e); this.responseBody = null; } long downloadEnd = System.currentTimeMillis(); downloadDuration = downloadEnd - responseEnd; System.out.println(ApacheGetMethod.getResponseBody() path: + getPath() + responseEnd: + responseEnd + downloadEnd: + downloadEnd + downloadDuration: + downloadDuration ); } return this.responseBody; } Thanks for any ideas or information, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com
HTTPClient Client Side Certificate use question
Hi All, Want to make sure I'm on the right track. To use client side certificates one needs to instantiate EasyX509TrustManager(KeyStore keystore) with a keystore that has had keystore.load(stream, password); called on it previously? Is there some example code for opening the keystore file and so forth? or are there APIs available that one could pass in a fully qualified path with passphrase for the client side cert file? Thank you for your time, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com
HTTPClient request - DNS, connect, acknowledge, and download tim es in milliseconds
Hi All, Am I sending this to the right place to have it added to the archives or put it in as a request? This originally said microseconds, I meant milliseconds 1000=1 second. Is there someone I could talk with about this subject? I would like to request that DNS, connect, acknowledge, and download times in milliseconds (1000MS = 1 second) be available after a page is retrieved using HTTPClient or the method. If this is not feasible then could the interfaces be exposed so that these times could be collected by calling 4 individual subroutines to do each action; DNS, connect, acknowledge, and download. Thank you for your time and effort, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com
RE: HTTPClient request - DNS, connect, acknowledge, and download times in milliseconds
Hi Oleg, Very cool. Thanks for your help. Will take your advice, and am adding a comment to bug 10815. Thanks, Steve -Original Message- From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 9:12 AM To: Commons HttpClient Project Subject: RE: HTTPClient request - DNS, connect, acknowledge, and download times in milliseconds Steve, We already have a feature request to implement instrumentation for timings http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10815 Currently it is not very high on our list of priorities and is targeted for the release after the next one, which may take months or most likely years. I am afraid the fastest way to get what you want is to get hold of the source code and insert the required callbacks. Oleg -Original Message- From: Steve Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 16:31 To: '[EMAIL PROTECTED]' Subject: HTTPClient request - DNS, connect, acknowledge, and download times in milliseconds Hi All, Am I sending this to the right place to have it added to the archives or put it in as a request? This originally said microseconds, I meant milliseconds 1000=1 second. Is there someone I could talk with about this subject? I would like to request that DNS, connect, acknowledge, and download times in milliseconds (1000MS = 1 second) be available after a page is retrieved using HTTPClient or the method. If this is not feasible then could the interfaces be exposed so that these times could be collected by calling 4 individual subroutines to do each action; DNS, connect, acknowledge, and download. Thank you for your time and effort, Steve Steve Johnson Software Engineer Mercury Interactive 720 564 - 6532 USA, Canada and the Americas 720 564-6620 Hours: M-F 08:00-17:00 MST (Mountain Standard Time) http://www.mercuryinteractive.com http://www.mercuryinteractive.com Looking for Answers to your SiteScope or SiteSeer questions? http://support.mercuryinteractive.com http://support.mercuryinteractive.com *** The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]