Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Wisdom on how to build a "stressful simulation test" with Selenium & POE

by hardburn (Abbot)
on Jul 16, 2011 at 20:31 UTC ( #914878=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Wisdom on how to build a "stressful simulation test" with Selenium & POE
in thread Wisdom on how to build a "stressful simulation test" with Selenium & POE

The approach is that you parse out all the possible actions on a page (links, forms, etc.), numbering them in order. The genetic part is just an array of numbers, with each entry being the number of the action to take on that page. Give it a goal to reach (like "put an item in the cart"), and pick the ones that reach that the best goal (by some measure of "best") and throw out the rest.

I didn't get too far with some of the details (like how to handle complex forms), but it was already clear that you couldn't do it with just a moderately powerful workstation.

It might work for stress tests rather than functional test.

If you're unfamiliar with genetic algorithms, don't worry, they're easy. Here's a good intro: A Beginning Guide To Evolutionary Algorithms


"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.


Comment on Re^3: Wisdom on how to build a "stressful simulation test" with Selenium & POE

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://914878]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-08-28 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (259 votes), past polls