diff --git a/README.md b/README.md index aa41589..06b20c0 100644 --- a/README.md +++ b/README.md @@ -142,42 +142,43 @@ Help to see all parameters :
C:\apache-jmeter\bin>har-convertor-to-jmeter.cmd -help -usage: io.github.vdaburon.jmeter.har.HarForJMeter [-add_pause <add_pause>] [-external_file_infos <external_file_infos>] - [-filter_exclude <filter_exclude>] [-filter_include <filter_include>] -har_in <har_in> [-help] -jmx_out <jmx_out> - [-new_tc_pause <new_tc_pause>] [-page_start_number <page_start_number>] [-record_out <record_out>] - [-remove_cache_request <remove_cache_request>] [-remove_cookie <remove_cookie>] [-sampler_start_number - <sampler_start_number>] [-use_lrwr_infos <use_lrwr_infos>] +usage: io.github.vdaburon.jmeter.har.HarForJMeter [-add_pause <add_pause>] [-add_result_tree_record + <add_result_tree_record>] [-external_file_infos <external_file_infos>] [-filter_exclude <filter_exclude>] + [-filter_include <filter_include>] -har_in <har_in> [-help] -jmx_out <jmx_out> [-new_tc_pause <new_tc_pause>] + [-page_start_number <page_start_number>] [-record_out <record_out>] [-remove_cache_request + <remove_cache_request>] [-remove_cookie <remove_cookie>] [-sampler_start_number <sampler_start_number>] + [-use_lrwr_infos <use_lrwr_infos>] io.github.vdaburon.jmeter.har.HarForJMeter - -add_pause <add_pause> Optional boolean, add Flow Control Action Pause after Transaction - Controller (default true) - -external_file_infos <external_file_infos> Optional, csv file contains external infos : timestamp transaction name - and start or end - -filter_exclude <filter_exclude> Optional, regular expression to exclude url - -filter_include <filter_include> Optional, regular expression to include url - -har_in <har_in> Har file to read (e.g : my_file.har) - -help Help and show parameters - -jmx_out <jmx_out> JMeter file created to write (e.g : script.jmx) - -new_tc_pause <new_tc_pause> Optional, create new Transaction Controller after request ms, same as - jmeter property : proxy.pause, need to be > 0 if set. Usefully for Har - created by Firefox or Single Page Application (Angular, ReactJS, VuesJS - ...) - -page_start_number <page_start_number> Optional, the start page number for partial recording (default 1) - -record_out <record_out> Optional, file xml contains exchanges likes recorded by JMeter - -remove_cache_request <remove_cache_request> Optional boolean, remove cache header in the http request (default true - because add a Cache Manager) - -remove_cookie <remove_cookie> Optional boolean, remove cookie in http header (default true because add - a Cookie Manager) - -sampler_start_number <sampler_start_number> Optional, the start sampler number for partial recording (default 1) - -use_lrwr_infos <use_lrwr_infos> Optional, the har file has been generated with LoadRunner Web Recorder - and contains Transaction Name, expected value : 'transaction_name' or - don't add this parameter -E.g : java -jar har-for-jmeter-<version>-jar-with-dependencies.jar -har_in myhar.har -jmx_out scriptout.jmx --new_tc_pause 5000 -add_pause true -filter_include "https://mysite/.*" -filter_exclude "https://notmysite/*" --page_start_number 50 -sampler_start_number 250 + -add_pause <add_pause> Optional boolean, add Flow Control Action Pause after Transaction + Controller (default true) + -add_result_tree_record <add_result_tree_record> Optional boolean, add 'View Result Tree' to view the record.xml file + created (default true), record_out must be not empty + -external_file_infos <external_file_infos> Optional, csv file contains external infos : timestamp transaction + name and start or end + -filter_exclude <filter_exclude> Optional, regular expression to exclude url + -filter_include <filter_include> Optional, regular expression to include url + -har_in <har_in> Har file to read (e.g : my_file.har) + -help Help and show parameters + -jmx_out <jmx_out> JMeter file created to write (e.g : script.jmx) + -new_tc_pause <new_tc_pause> Optional, create new Transaction Controller after request ms, same + as jmeter property : proxy.pause, need to be > 0 if set. Usefully + for Har created by Firefox or Single Page Application (Angular, + ReactJS, VuesJS ...) + -page_start_number <page_start_number> Optional, the start page number for partial recording (default 1) + -record_out <record_out> Optional, file xml contains exchanges likes recorded by JMeter + -remove_cache_request <remove_cache_request> Optional boolean, remove cache header in the http request (default + true because add a Cache Manager) + -remove_cookie <remove_cookie> Optional boolean, remove cookie in http header (default true because + add a Cookie Manager) + -sampler_start_number <sampler_start_number> Optional, the start sampler number for partial recording (default 1) + -use_lrwr_infos <use_lrwr_infos> Optional, the har file has been generated with LoadRunner Web + Recorder and contains Transaction Name, expected value : + 'transaction_name' or don't add this parameter +E.g : java -jar har-for-jmeter-<version>-jar-with-dependencies.jar -har_in myhar.har -jmx_out scriptout.jmx -record_out +recording.xml -add_result_tree_record true -new_tc_pause 5000 -add_pause true -filter_include "https://mysite/.*" +-filter_exclude "https://notmysite/*" -page_start_number 50 -sampler_start_number 250-The parameter use_lrwr_infos correspond to checkbox "har created with lrwr". If true set parameter
-use_lrwr_infos transaction_name
if false don't add this parameter.
-
C:\apache-jmeter\bin>har-convertor-to-jmeter.cmd -har_in "myhar.har" -jmx_out "script_out.jmx" -filter_include "https://mysite.com/.*" -filter_exclude "https://notmysite.com/.*" -add_pause true -new_tc_pause 5000@@ -196,13 +197,16 @@ The maven groupId, artifactId and version, this plugin is in the **Maven Central ```xml