[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[jetty-users] benchmarking sample code
- From: S Ahmed <sahmed1020@xxxxxxxxx>
- Date: Tue, 15 May 2012 19:44:18 -0400
- Delivered-to: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YDc6dQMsxRXmiCKqvl94IIwgeHSR46UyTlSCZldBcl4=; b=CW9etM7n2W9LUFyIZQOJcDucvsGrsI+EIpkP+OyuGSa6dXDr+8PbxGUX4U8olHOwzS gCo95dDFAffUBem8txhoHtwiZMi9k0ZITY4PDj+M9ARW8OgwUFi4IuiHw6nGFQlj0FQV QxEiL3cuSQtyNuI61nlSInAVGXvTEih6+XDy0QatQBRYv6E3eFBaZXGq4PJZfwI9SKsW 24c/clWyffK9wxc5qkcnUYYCsQOgUxyFWrfVracKI88+1nSityo1Qmw+iv4u93m4o6Em nDBOpOgw0Ztc4NAglKvwonZQ97cu5eutTAoa8kcHaeO32ebbigL+ZM6y/jijG/NFnck9 /0AQ==
I want to benchmark my application, and was hoping there was some sample code that I could model my code from.
Basically I need to make a http post to my servlet handler, sending it a xml file.
I have used apache bench so far, and looked at jmeter but was hoping I could jus write this bit myself as I need to modify the xml file per http post (or every x that I post).
I am looking to see how things work when I hit the site and sustain around 3K requests per second.
Are there any good samples of this type of benchmarking that I could look at?
I have used apache bench already, but want a little more control in terms of the xml file that I am posting (the xml file contains user credentials that I want to mix and match etc.)