We actually did this using the junit sampler for jmeter ( http://jmeterworld.wordpress.com/2009/03/16/junit-sampler-tutorial-jmeter/ ) where the in the unittest we created the thrift client. This DOES work, but we found the classpath issues, network setup to cumbersome to continue doing this.
-P On Feb 10, 2011, at 11:42 AM, Dvir Volk wrote: > it's possible (though I haven't done it personally) to write a custom > sampler for jmeter and use the generated java client to load test a thrift > server. > personally I'm currently loading my services with jmeter via their web front > end processor. > it adds overhead, but right now the bottleneck is the thrift service and not > the web server, so it's ok. > > On Thu, Feb 10, 2011 at 12:29 PM, Abhishek Kona > <[email protected]>wrote: > >> On 10/02/11 12:08 PM, Piyush Goel wrote: >> >>> How are you using Thrift? The thrift client must be getting called from >>> some >>> service/script. You can do a load test on that service and monitor >>> Thrift's >>> performance. Though, you would have to make sure first that your script >>> code >>> itself will not become a bottleneck. >>> >>> -piyush >>> >>> On Thu, Feb 10, 2011 at 11:58 AM, Abhishek Kona<[email protected] >>>> wrote: >>> >>> Hi folks, >>>> >>>> Is there any tool available for load testing thrift services. >>>> Are there any extensions existing or worked upon for load testing tools >>>> like Tsung or Jmeter, with the option of plugging in data? >>>> >>>> Thanks >>>> -Abhishek Kona >>>> >>>> >>
