Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 29995 invoked from network); 21 May 2005 22:26:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 May 2005 22:26:31 -0000 Received: (qmail 73407 invoked by uid 500); 21 May 2005 22:26:30 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 73381 invoked by uid 500); 21 May 2005 22:26:29 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Delivered-To: moderator for httpclient-user@jakarta.apache.org Received: (qmail 64975 invoked by uid 99); 21 May 2005 16:54:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Date: Sat, 21 May 2005 09:53:52 -0700 From: Dave Hirsch Subject: Integrating JMeter & Jakarta HttpClient To: 'HttpClient User Discussion' Message-id: <0IGU00G2IMXSHT@l-daemon> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Thread-index: AcVeJZyxPJFsHt3iTZWGB19ZsoMhFA== X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi folks, I have written a custom java application that makes use of Jakarta HttpClient. My application is designed to test the performance of a web application (e.g. load testing). My application works well. The only problem is that it's very time consuming to capture all the http requests and then having to code them up because there are several hundred requests that need to be tested and the requests will change over time so maintenance becomes an issue. Currently, I'm using a tool called proxytrace http://www.pocketsoap.com/tcptrace/pt.aspx to capture the http requests and then manually coding the requests based on the info from proxytrace. Is there a faster approach to capturing the http requests? I have tried JMeter to record and replay the http requests and it work reasonably well. The only problem is that I don't want to use JMeter to replay the http requests; it is a requirement for the http requests to be replayed via my custom java application. My application provides custom logging functionality and a whole bunch of other features that I need that Jmeter doesn't provide. So, what are my options here? I could record the requests with JMeter and have JMeter capture the requests in an xml file. I could then write some code to read the xml file, parse the xml file and then replay the http requests that were captured in the file. However, I don't want to reinvent the wheel. I know that JMeter can be configured to use Jakarta HttpClient. Do you think it's possible to grab the JMeter code that reads and parses the jmeter xml file and integrate that part into my custom java application? Is this feasible? What classes/files should I be looking at? Any advise would be greatly appreciated. Thx in advance, Dave. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org