|
FAQ
Frequently Asked Questions
Featured Frequently asked questions about Multi-MechanizeWhat is the minimum version of Python I should run?2.6 is required Which operating systems are supported?It should run anywhere you can install Python and Matplotlib. Development and testing is mostly done on Ubuntu 64-bit and Windows 7 64-bit. I have received reports of people having trouble getting Matplotlib installed on OS X, but don't have an environment to confirm this on. Why does it launch multiple OS processes?Each "user group" runs in its own process. Within each process, multiple virtual user agents are run; each in its own thread. So it uses a hybrid multi-process/multi-threaded architecture. How do you record HTTP traffic?There is no "recorder" supplied with multi-mechanize. You have to write the scripts yourself. Script examples are shipped with the tool to get you started. There are also several browser plugins that will help you view HTTP traffic and see what is going on at the network layers: How do I install Mechanize on Windows?
Where do I get Matplotlib and Numpy for 64 bit windows?If you are running Windows 64-bit, I recommend installing Numpy then Matplotlib from here: Which packages do I need to install on Ubuntu/Debian?If you are running Ubuntu or Debian, you can get all the prerequisites directly from the OS package repository. Run the following commands:
What are the fields in results.csv?results.csv is used for results storage during a test run. It is a comma separated text file that is used internally to generate results reports. You might also find the raw file useful for your own analysis. the fields correspond to: Should I keep console_logging on during my tests?No, only keep logging on while developing/debugging your scripts. You should turn it off to get highest throughput. It takes substantial system resources to print all responses to stdout when doing high amounts of i/o. |
is it possible to use access_log from popular web servers like apache or nginx to produce client actions scenario instead hard-code simple requests in python?
This is a neat project. Just wanted to mention that one can generate simple/basic test scripts easily from HTTP trace files captured with tools mentioned above regarding recording HTTP traffic, by building a parser that converts HTTP request traces into actual HTTP request calls in the test script
This can be done with the following solution as a starting base:
"Web/HTTP Automation with Perl" http://www.codeproject.com/KB/perl/webautomaton.aspx
Also Gregory, for what you request, you can at least try JMeter, and maybe httperf. But my solution presented is the closest thing to access logs, but targeting the client side rather than server side.