For example, I added a controller that has the ability to pick a sub branch based on a set of parameterised probabilities (i.e. 10% of the time go down this branch, 40% down this one). This allows me to closely model hits rates and distributions of HTTP access logs without excessive verboseness.
Second, I wrote a java sampler that has the ability to pick complex test data directly from a database with 'dirty' assignments to make sure the same data is not reused etc. This is a second way that I have been able to achieve complex needs with Jmeter.
I believe that Jmeter can be made to do almost anything due to its generic architecture and its focus on extensibility assuming you try to fit your testing regime around jmeter and not jmeter around your testing regime (you'll still achieve what you need to achieve). My needs have been quite complex including the full modelling of applets (or any plugins for that matter), but I have figured out how to achieve them with Jmeter's approach.
Having said all this - you may have to do some Java coding to extend in areas that you require. For example, I need the throughput controller to have randomness to stop cycling so I'm about to add it in.
Hope this helps.
Craig.
Michael R. Wolfe wrote:
I have a fairly broad question. We are using Jmeter for performance and stress testing and have been successful with it. Most of our Jmeter scripts are fairly hardcoded, although there are a few places we've driven test data from CSV files.
But I've been stymied when creating more complex scripts to do functional and regression testing. You can do some crude things using CSVFiles and loops (and the IF controller will be a big help), but in general making reusable, data-driven scripts is very cumbersome and involves lots of hacks. We are using Jmeter to test a web-driven application with reports, config interfaces, etc., and not a relatively static website.
So, my question is:
1 - Is there an equivalent tool to Jmeter to do functional testing
(other than HTTPUnit, which is too low-level)
2 - Do folks see Jmeter evolving in this direction? It would require
adding more controllers (the IF controller is a good start), reusable
subroutines, some variable operations, more options to read from CSV
files (and XML files!), and other gizmos that the commercial tools have.
A little would go a long way here, and I might start to add things on my
own, but I didn't know if anyone had an overall vision of Jmeter going
this direction.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Craig Palmer Mobile NZ: +64 21 755 254 Peace Software URL: http://www.peace.com Email: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

