|
Summary
Here is an outline of a class of counterexamples that illustrate
WHY a stateful user emulation of browser state is necessary in some cases
--
and why in those cases the capture of the entire
bidirectional
HTTP user interaction cannot EVER be fully realistic.
This is particularly important in load testing in which
HTTP taffic capture is unlikely to be successful because the traffic
differs over time.
...or...
Actions taken by the user employing ONLY the JavaScript code that is running in the browser which do NOT produce any HTTP traffic.
If you record the HTTP URL sequence today, the non-deterministic behavior in the future will invalidate the recorded URL sequence.
OR: You can build a program that simulates the action of the eValid browser.
To achieve a realistic test the test agent can act on the structur of the web page autonomously while the pages change. The details of the state need not be preserved for the test to be meaningful so long as the sequence of changes is preserved.