Hi David: That's a very good story and thanks for sharing. I use JMeter for both functional testing and load testing too.
I've found it useful to put related functional tests in a single thread group, and use the JMeter module controller in a different thread group to reuse one of the functional tests as a load test. I'm intrigued by your mention of "using the Java sampler to bridge in another open source testing tool that can create automated functional tests for Windows applications." Can you share which testing tool it was and how you modified the Java sampler? Have you seen MIT's Sikuli? ( http://sikuli.csail.mit.edu/ ) It's a Java application (actually Jython) to "automate graphical user interfaces (GUI) using images (screenshots)". Embedding that into JMeter would be test heaven. Regards, Sonam -----Original Message----- From: Bhuiyan, Hasan (Hasan) [mailto:[email protected]] Sent: Friday, 5 March 2010 3:34 AM To: JMeter Users List Subject: RE: JMeter success story Good story...Good job.. -----Original Message----- From: David Levine [mailto:[email protected]] Sent: Thursday, March 04, 2010 9:46 AM To: JMeter Users List Subject: JMeter success story Forgive this somewhat off-topic posting, or is it? I probably should have read the posting guidelines first. Here is a JMeter success story. I was recently consulting to a major corporation in the financial services industry and was tasked with making some seemingly minor functional changes to a web service system that had not been maintained for several years. Since there was no test for the web service, I used JMeter to write a functional / regression test to essentially capture the current behavior of the system. As I made changes, I would use the JMeter test to validate that everything was still working properly. Then, just for sh-ts and giggles, I ran the test with three threads - and two of them failed. Right about the same time I discovered this, the load on the company's production server went up and they started experiencing failures, leading to a potential major business loss. As you could imagine, this escalated right to the top and I suddenly transitioned from working on a relatively minor functional change to saving customers and business. With JMeter I was able to find the cause of the bug and prove that I had a fix, and then use it in the test and production environments to validate that the fix worked. I anticipate other people at this company will now be using JMeter on a fairly regular basis, for testing web applications in addition to the web services I was testing. One interesting area for me is that JMeter is, at heart, a really good load testing tool with a descent functional testing capability. I was using it primarily for functional testing at first (not load testing), and it was there that I ran into a limitation, which is that you can't use JMeter to automate the functional test of a Windows application. That's by design, I'm not criticizing that - JMeter isn't designed to test Windows applications - I understand that. So I worked around that by using the Java sampler to bridge in another open source testing tool that can create automated functional tests for Windows applications. That wasn't really necessary because I could have done the same thing without requiring the Windows application, I was just doing that to see if it would work really, and whether it would be valuable. I did actually find it valuable in a few places, when I wanted to do some Windows application thing in the middle of a test. I'm not sure I'd use that Windows bridge on another project, but it was an interesting research effort nevertheless. David --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] The information contained in this email and any attached files are strictly private and confidential. This email should be read by the intended addressee only. If the recipient of this message is not the intended addressee, please call Corporate Express Australia Limited on +61 2 9335 0555 or Corporate Express New Zealand Limited on +64 9 271 7600 and promptly delete this email and any attachments. The intended recipient of this email may only use, reproduce, disclose or distribute the information contained in this email and any attached files with Corporate Express' permission. If you are not the intended addressee, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email and any attached files. Corporate Express advises that this email and any attached files should be scanned to detect viruses. Corporate Express accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

