I
created a tool to convert a
HAR network file in a browser
(Firefox, Chrome, Edge) with "Network" and save in HAR Format into a
JMeter script and
Record.xml file.
The goal is to get as close as possible to a result of a "classic" recording with the JMeter recording template with:
- a number of pages (Transaction Controller),
- a numbering of the samplers,
- a grouping of samplers in a Transaction Controller with a delay between urls,
- pause between pages.
The tool works on the command line (CLI) but also as a plugin for JMeter in the "Tools" menu.
This
version 2.0 supports Http(s) requests in form-encoded, multi-part
(upload file) and body often with JSON or XML streams and partially the
websocket protocol (ws or wss).
The link to the github project:
https://github.com/vdaburon/har-convertor-jmeter-pluginThe name of the plugin in the plugin manager is: "vdn@github - har-convertor-jmeter-tool"
Regards.
Vincent DAB.