Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Having a high spec machine to develop on is a real plus for productivity, but what software tools, techniques or strategies do you use to constrain your environment to test what happens in low memory, processor cycles or even network bandwidth?

share|improve this question
1  
Mention out loud in the office "I hear developers in India make like half of what you guys are making". Oh wait, I thought you said how to stress test software DEVELOPERS. – JohnFx Nov 3 '10 at 21:44

5 Answers

up vote 3 down vote accepted

For stress testing web apps you can simulate load with load testing tools like JMeter

share|improve this answer
+1 for mention JMeter great tool for web applications load testing – artjom Nov 4 '10 at 8:58

I would set up really low spec virtual machines for testing.

You can also stress test things like MySQL and individual parts of your stack, but you would need to list what specific things you want to stress.

share|improve this answer

I think all you can simple simulate:

  • For Low Memory write some application who allocate all memory.
  • For Processor, you can run some game.
  • For Network you can run some torrent downloading.

I don't know about this software exists.

share|improve this answer
These are not something you can properly control and would make bad tests as they are not repeatable. – Toby Nov 3 '10 at 20:37
These are not quite serious and good testing techniques – Junior Mayhé Nov 4 '10 at 9:25

Besides simulating the environment, I would also stress the application by supplying loads of input, like artificial events, huge erroneous data or ultra stupid user actions :) Because these affects can also make the system resume more and more cpu, and may show you unexpected behaviour like unreleased resources, simultaneous instances (if the requirement is keeping just one running instance), etc...

share|improve this answer

Have you considered using LoadRunner? When I worked on Government projects, we used LoadRunner to baseline builds and determine their performance. It works really well.

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.