Outline
Yesterday we were in class how by fiddler packet capture, a single interface can be copied to jmeter the interface test, then if Ethereal get a lot of interfaces, we quickly realize how jmx file conversion interface into it?
Today to introduce fiddler another function: Fiddler Export JMeter scripts
Steps
A: Installing fiddler4.6 and above
Links : https://pan.baidu.com/s/137USTkDchpdgS_vw3Rbr9Q
Extraction code : n48g
Two: Download jmeter plug JmeterExport.dll, save to fiddler installation folder path ImportExport
Links : https://pan.baidu.com/s/1KbQXw0PJTthmCecSFuncuA
Extraction code : pppe
III: Restart fiddler, through the filter bag grab
Regular condition filter images, JS and other documents, enter the following:
REGEX:(?insx)/[^\?/]*\.(css|ico|jpg|png|gif|bmp|wav)(\?.*)?$
Four: Export jmx file
Select All Sessions
Select the export file type jmeter script
Select the save path, enter jmx file name
Five: jmeter open the script, view the file
I can see jmx file the request has a default value, cookie manager, and user-defined variables gave us generate.
Click to view >>> "jmeter Interface Automation course"