The purpose of the stress test: find bottlenecks and optimize rate
1 , jemter, the Test Plan - the Add >> - >> Threds (the Users) - >> Thred Group to create a thread group
2, jemter create tables, set up to remove * /.. (Png | gif | jpg | js)
3, browser, set up a proxy server: IP: 127.0.0.1, the default port number 8888
4, continue to optimize the script to drop the request irrelevant, ip inconsistent, no request parameters
5, thread group, Config Element - >> HTTP Coolie Manage, r added Cookies
6, http request, Post Processors - >> Regular Expression Extractor to add regular expression extractor:
Note: the expression: small elements referenced in parentheses - ()
Regular expression. * Matches any element * :. numerous times to match
Model: $ 1 $ are generally used
Reference: next request by $ {name} reference element
7, thread group, Cofig Element -> CSV Data Set Config add CSS Data Set Config
8, http requests, increase assertion
9, thread group, right Listener --- >> View Result adding the number of results sTree
10, thread group, right Listener --- >> Summary Report Add Aggregate Report
Note: Before each run, be sure to remove the last of the test results, shut down the number of results to prevent residual impact test test data.