Fiddler or Charles to Jmeter Script
To solve the problem of script recording , you can convert Fiddler or Charles into the corresponding Jmeter script to realize the parameterization of partial content. By modifying some parameters or parameterization can perform automation test or simple stress test for the interface of HTTP protocol.
Chinese documents(中文文档):https://www.cnblogs.com/fbyyx/p/12827415.html
Steps
1.1 Open Fiddler/Charles to record the request
1.1.1 Recording Fiddler
1.1.2 Recording Charles
1.2 Export needed HTTP request
1.2.1 Export Fiddler recording as saz format
1.2.1 Export Charles recording as chlsj format
1.3 Execute script
1.3.1 Parameter elucidation
1.3.1.1 Files to import: saz files(Fiddler files), chlsi files(Charles files)
1.3.1.2 Files to export: jmx files(Generated Jmeter script file)
1.3.1.3 Filter HTTP request: regex mode
1.3.2 Page effect
1.3.3 Conversion results
1.4 Run JMeter results
Remarks
1.Ignore data with method connect.
2.Only Windows systems are supported.
3.Only GET and POST requests are supported.
4.JMeter version greater than 4.0 is required.
5.Charles doesn't support http2.0 conversion, so it's filtered out directly.
TODO
1.Support for Charles other file formats
2.Run as a fiddler plug-in with FiddlerScript
ENV
python >= 3.6
PyQt5 == 5.15.2
Contact Information
1.Issues.
2.WeChat ID:dongpengfei826153155
3.E-mail: [email protected]