There are 2 ways to record scripts in JMeter. But I personally very do not recommend recording scripts, the recording of the script confusion, need to be processed again to use.
People like me who are so proficient with the HTTP protocol. Always use fiddler to grab the bag and write the script yourself.
Anyway, this article is going to introduce the next two methods of recording scripts
Method One: Use Badboy to record scripts
Badboy itself is a test tool for the Web, and its recorded scripts can be used directly for JMeter
Official website: http://www.badboy.com.au/
Open Badboy, how to record the script, after recording, point file-> Export to JMeter. How to JMeter to use these scripts directly
Method Two: Using JMeter to record scripts
Configure the JMeter as a Web proxy and record the script with Jmter
Step one: Create a Thread Group (mail clicks: Test plan-> Add-> Thread Group)
Step Two: Create HTTP proxy server (mail clicks "Workbench" (WorkBench), add-> non-test Elements-> http (S) Test Script Recorder)
Then set the browser's proxy server. When set up, visit the Web site in the browser. JMeter will be able to record it.
Jmeter recorded in a mess of the script, what pictures, JS have, simply can not use, it is better to write their own script.
Should be set to ignore these useless requests
Attached: JMeter tutorial (serialized, please look forward to)
Introductory tutorials for JMeter tutorials
JMeter Tutorial Recording Script
JMeter Tutorial Simple Stress test
From:http://www.cnblogs.com/tankxiao/p/4064289.html