Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My company currently has stress tests that are run manually through JMeter. We also use TeamCity for automation of JUnit testing.

It's become clear that we need to automate our stress testing as well to provide more generalized testing of our entire web application. I have been looking for a solution where I could use JMeter within TeamCity but I have no yet found anything. Has anyone done this successfully? Anyone have other recommendations that I should consider?

Thanks,

Casey

Update May 15th

After some more research I have found some interesting scripts, particularly jmeter-ec2. The ec2 API is a little criptic, but I could see the following working from within TeamCity:

  1. Create ec2 AMI with latest version of our software on it.
  2. Launch AMI as a virtual instance
  3. Wait for server to come online
  4. Run jmeter-ec2 against server with jmeter test set
  5. Use jmeter-ec2 to retrieve test results
  6. Parse test results and report back to TeamCity

This seems to reach the desired result but it also seems pretty complex. Anyone done this before or something like it who could comment on best practices?

share|improve this question

2 Answers 2

I don't know whether Cloud solution would be acceptable for you but there is a company which is offering Jmeter as a Service - ie basically SaaS solution. They claim that they have rich scripting capabilities so it might be one of the options for you.

http://aws.amazon.com/customerapps/3299

http://blazemeter.com/

I never used their services myself though but I'm aware of it as a possible solution. Also it's free to start with up to 10 tests.

[update] BlazeMeter now has a TeamCity plugin: http://community.blazemeter.com/knowledgebase/articles/155889-blazemeter-plugin-for-teamcity-jetbrains-

share|improve this answer
    
Thanks. This is pretty cool but I think we will want something that we can integrate a little more tightly with our CI server. Perhaps this can do that but I didn't see anything to indicate it on their website. –  Casey Jordan May 16 '12 at 2:31
    
I see that they do have a REST API. Interesting... –  Casey Jordan May 16 '12 at 3:16

This blog shows someone:

  • Running Jmeter with Ant
  • Graphing the results
  • Displaying the graph image in TeamCity (well, just suggesting you could)

http://samueladesoga.wordpress.com/2012/02/01/performance-testing-experience-using-ant-and-jmeter-part-2/

Further information

I have not tried it but it might help.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.