gridinit-jmeter 0.3.2 → 1.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/README.md +51 -72
- data/examples/basic_assertion.rb +6 -6
- data/examples/basic_auth.rb +5 -5
- data/examples/basic_cache.rb +5 -5
- data/examples/basic_cookies.rb +5 -5
- data/examples/basic_extract.rb +4 -10
- data/examples/basic_gc_results.rb +12 -9
- data/examples/basic_google.rb +3 -3
- data/examples/basic_grid.rb +3 -6
- data/examples/basic_header.rb +12 -10
- data/examples/basic_ldap_ext.rb +11 -12
- data/examples/basic_post.rb +5 -6
- data/examples/basic_query_params.rb +3 -3
- data/examples/basic_think_time.rb +7 -4
- data/examples/basic_throughput_shaping_timer.rb +4 -4
- data/examples/etsy_login_browse.rb +21 -21
- data/lib/gridinit-jmeter/DSL.md +237 -0
- data/lib/gridinit-jmeter/{idl → dsl}/access_log_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/aggregate_graph.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/aggregate_report.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/ajp13_sampler.rb +5 -3
- data/lib/gridinit-jmeter/{idl → dsl}/assertion_results.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/beanshell_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/beanshell_listener.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/beanshell_postprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/beanshell_preprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/beanshell_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/beanshell_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/bsf_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/bsf_listener.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/bsf_postprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/bsf_preprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/bsf_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/bsf_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/compare_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/comparison_assertion_visualizer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/constant_throughput_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/constant_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/counter.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/cssjquery_extractor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/csv_data_set_config.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/debug_postprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/debug_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/distribution_graphalpha.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/duration_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/foreach_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/ftp_request.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/ftp_request_defaults.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/gaussian_random_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/generate_summary_results.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/graph_results.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/html_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/html_link_parser.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/html_parameter_mask.rb +4 -2
- data/lib/gridinit-jmeter/dsl/http_authorization_manager.rb +36 -0
- data/lib/gridinit-jmeter/{idl → dsl}/http_cache_manager.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/http_cookie_manager.rb +5 -2
- data/lib/gridinit-jmeter/{idl → dsl}/http_header_manager.rb +10 -3
- data/lib/gridinit-jmeter/{idl → dsl}/http_request.rb +5 -3
- data/lib/gridinit-jmeter/{idl → dsl}/http_request_defaults.rb +15 -4
- data/lib/gridinit-jmeter/{idl → dsl}/http_url_rewriting_modifier.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/if_controller.rb +5 -2
- data/lib/gridinit-jmeter/{idl → dsl}/include_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/java_request.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/java_request_defaults.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jdbc_connection_configuration.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jdbc_postprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jdbc_preprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jdbc_request.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jms_pointtopoint.rb +6 -4
- data/lib/gridinit-jmeter/{idl → dsl}/jms_publisher.rb +5 -3
- data/lib/gridinit-jmeter/{idl → dsl}/jms_subscriber.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jsr223_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jsr223_listener.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jsr223_postprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jsr223_preprocessor.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jsr223_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/jsr223_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/junit_request.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/keystore_configuration.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/ldap_extended_request.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/ldap_extended_request_defaults.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/ldap_request.rb +5 -3
- data/lib/gridinit-jmeter/{idl → dsl}/ldap_request_defaults.rb +13 -4
- data/lib/gridinit-jmeter/{idl → dsl}/login_config_element.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/loop_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/mail_reader_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/mailer_visualizer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/md5hex_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/module_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/monitor_results.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/once_only_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/os_process_sampler.rb +6 -4
- data/lib/gridinit-jmeter/{idl → dsl}/poisson_random_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/random_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/random_order_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/random_variable.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/recording_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/regex_user_parameters.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/regular_expression_extractor.rb +5 -2
- data/lib/gridinit-jmeter/{idl → dsl}/response_assertion.rb +8 -3
- data/lib/gridinit-jmeter/{idl → dsl}/response_time_graph.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/result_status_action_handler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/runtime_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/save_responses_to_a_file.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/simple_config_element.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/simple_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/simple_data_writer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/smime_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/smtp_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/soapxmlrpc_request.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/spline_visualizer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/summary_report.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/switch_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/synchronizing_timer.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/tcp_sampler.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/tcp_sampler_config.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/test_action.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/test_plan.rb +5 -3
- data/lib/gridinit-jmeter/{idl → dsl}/thread_group.rb +5 -3
- data/lib/gridinit-jmeter/{idl → dsl}/throughput_controller.rb +5 -3
- data/lib/gridinit-jmeter/{idl → dsl}/transaction_controller.rb +6 -3
- data/lib/gridinit-jmeter/{idl → dsl}/uniform_random_timer.rb +4 -2
- data/lib/gridinit-jmeter/dsl/user_defined_variables.rb +35 -0
- data/lib/gridinit-jmeter/{idl → dsl}/user_parameters.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/view_results_in_table.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/view_results_tree.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/while_controller.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/xml_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/xml_schema_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/xpath_assertion.rb +4 -2
- data/lib/gridinit-jmeter/{idl → dsl}/xpath_extractor.rb +4 -2
- data/lib/gridinit-jmeter/dsl.rb +170 -187
- data/lib/gridinit-jmeter/helpers/helper.rb +43 -0
- data/lib/gridinit-jmeter/helpers/parser.rb +109 -0
- data/lib/gridinit-jmeter/idl.rb +16 -6
- data/lib/gridinit-jmeter/idl.xml +54 -11
- data/lib/gridinit-jmeter/{listeners → plugins}/gc_console_status_logger.rb +0 -0
- data/lib/gridinit-jmeter/{listeners → plugins}/gc_latencies_over_time.rb +0 -0
- data/lib/gridinit-jmeter/{listeners → plugins}/gc_response_codes_per_second.rb +0 -0
- data/lib/gridinit-jmeter/{listeners → plugins}/gc_response_times_distribution.rb +0 -0
- data/lib/gridinit-jmeter/{listeners → plugins}/gc_response_times_over_time.rb +0 -0
- data/lib/gridinit-jmeter/{listeners → plugins}/gc_response_times_percentiles.rb +0 -0
- data/lib/gridinit-jmeter/{listeners → plugins}/gc_transactions_per_second.rb +0 -0
- data/lib/gridinit-jmeter/{timers/gc_throughput_shaping_timer.rb → plugins/gc_variable_throughput_timer.rb} +1 -1
- data/lib/gridinit-jmeter/version.rb +1 -1
- data/lib/gridinit-jmeter.rb +6 -105
- data/spec/dsl_spec.rb +377 -82
- metadata +131 -174
- data/examples/basic_proxy.rb +0 -8
- data/examples/basic_results.rb +0 -22
- data/examples/basic_run.rb +0 -12
- data/examples/basic_simple_data_writer.rb +0 -14
- data/examples/basic_stdout.rb +0 -8
- data/examples/basic_test_data.rb +0 -15
- data/examples/basic_testplan.jmx +0 -138
- data/examples/basic_testplan.rb +0 -44
- data/examples/jbhifi_now_search.rb +0 -94
- data/lib/gridinit-jmeter/assertions/response_assertion.rb +0 -55
- data/lib/gridinit-jmeter/config/auth_manager.rb +0 -26
- data/lib/gridinit-jmeter/config/cache_manager.rb +0 -20
- data/lib/gridinit-jmeter/config/cookie_manager.rb +0 -21
- data/lib/gridinit-jmeter/config/counter_config.rb +0 -24
- data/lib/gridinit-jmeter/config/header_manager.rb +0 -26
- data/lib/gridinit-jmeter/config/random_variable.rb +0 -24
- data/lib/gridinit-jmeter/config/request_defaults.rb +0 -31
- data/lib/gridinit-jmeter/config/user_defined_variable.rb +0 -25
- data/lib/gridinit-jmeter/controllers/if_controller.rb +0 -20
- data/lib/gridinit-jmeter/controllers/interleave.rb +0 -18
- data/lib/gridinit-jmeter/controllers/loop_controller.rb +0 -19
- data/lib/gridinit-jmeter/controllers/once_only.rb +0 -17
- data/lib/gridinit-jmeter/controllers/random_order.rb +0 -16
- data/lib/gridinit-jmeter/controllers/simple.rb +0 -17
- data/lib/gridinit-jmeter/controllers/switch.rb +0 -20
- data/lib/gridinit-jmeter/controllers/throughput.rb +0 -26
- data/lib/gridinit-jmeter/controllers/transaction.rb +0 -19
- data/lib/gridinit-jmeter/controllers/while_controller.rb +0 -18
- data/lib/gridinit-jmeter/helpers/dsl_helper.rb +0 -21
- data/lib/gridinit-jmeter/idl/http_authorization_manager.rb +0 -26
- data/lib/gridinit-jmeter/idl/user_defined_variables.rb +0 -26
- data/lib/gridinit-jmeter/listeners/aggregate_report.rb +0 -47
- data/lib/gridinit-jmeter/listeners/graph_visualizer.rb +0 -46
- data/lib/gridinit-jmeter/listeners/response_time_graph_visualizer.rb +0 -47
- data/lib/gridinit-jmeter/listeners/simple_data_writer.rb +0 -51
- data/lib/gridinit-jmeter/listeners/stat_visualizer.rb +0 -46
- data/lib/gridinit-jmeter/listeners/summary_report.rb +0 -46
- data/lib/gridinit-jmeter/listeners/table_visualizer.rb +0 -46
- data/lib/gridinit-jmeter/listeners/view_results_full_visualizer.rb +0 -57
- data/lib/gridinit-jmeter/post_processors/regex_extractor.rb +0 -34
- data/lib/gridinit-jmeter/post_processors/xpath_extractor.rb +0 -23
- data/lib/gridinit-jmeter/pre_processors/bean_shell_pre_processor.rb +0 -23
- data/lib/gridinit-jmeter/samplers/http_sampler.rb +0 -99
- data/lib/gridinit-jmeter/samplers/ldap_ext_sampler.rb +0 -36
- data/lib/gridinit-jmeter/samplers/soap_sampler.rb +0 -26
- data/lib/gridinit-jmeter/test_plan/test_plan.rb +0 -23
- data/lib/gridinit-jmeter/threads/thread_group.rb +0 -30
- data/lib/gridinit-jmeter/timers/gaussian_random_timer.rb +0 -18
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gridinit-jmeter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0.pre
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tim Koopmans
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -71,189 +71,146 @@ files:
|
|
71
71
|
- examples/basic_header.rb
|
72
72
|
- examples/basic_ldap_ext.rb
|
73
73
|
- examples/basic_post.rb
|
74
|
-
- examples/basic_proxy.rb
|
75
74
|
- examples/basic_query_params.rb
|
76
|
-
- examples/basic_results.rb
|
77
|
-
- examples/basic_run.rb
|
78
|
-
- examples/basic_simple_data_writer.rb
|
79
|
-
- examples/basic_stdout.rb
|
80
|
-
- examples/basic_test_data.rb
|
81
|
-
- examples/basic_testplan.jmx
|
82
|
-
- examples/basic_testplan.rb
|
83
75
|
- examples/basic_think_time.rb
|
84
76
|
- examples/basic_throughput_shaping_timer.rb
|
85
77
|
- examples/etsy_login_browse.rb
|
86
|
-
- examples/jbhifi_now_search.rb
|
87
78
|
- gridinit-jmeter.gemspec
|
88
79
|
- lib/gridinit-jmeter.rb
|
89
|
-
- lib/gridinit-jmeter/
|
90
|
-
- lib/gridinit-jmeter/config/auth_manager.rb
|
91
|
-
- lib/gridinit-jmeter/config/cache_manager.rb
|
92
|
-
- lib/gridinit-jmeter/config/cookie_manager.rb
|
93
|
-
- lib/gridinit-jmeter/config/counter_config.rb
|
94
|
-
- lib/gridinit-jmeter/config/header_manager.rb
|
95
|
-
- lib/gridinit-jmeter/config/random_variable.rb
|
96
|
-
- lib/gridinit-jmeter/config/request_defaults.rb
|
97
|
-
- lib/gridinit-jmeter/config/user_defined_variable.rb
|
98
|
-
- lib/gridinit-jmeter/controllers/if_controller.rb
|
99
|
-
- lib/gridinit-jmeter/controllers/interleave.rb
|
100
|
-
- lib/gridinit-jmeter/controllers/loop_controller.rb
|
101
|
-
- lib/gridinit-jmeter/controllers/once_only.rb
|
102
|
-
- lib/gridinit-jmeter/controllers/random_order.rb
|
103
|
-
- lib/gridinit-jmeter/controllers/simple.rb
|
104
|
-
- lib/gridinit-jmeter/controllers/switch.rb
|
105
|
-
- lib/gridinit-jmeter/controllers/throughput.rb
|
106
|
-
- lib/gridinit-jmeter/controllers/transaction.rb
|
107
|
-
- lib/gridinit-jmeter/controllers/while_controller.rb
|
80
|
+
- lib/gridinit-jmeter/DSL.md
|
108
81
|
- lib/gridinit-jmeter/dsl.rb
|
109
|
-
- lib/gridinit-jmeter/
|
82
|
+
- lib/gridinit-jmeter/dsl/access_log_sampler.rb
|
83
|
+
- lib/gridinit-jmeter/dsl/aggregate_graph.rb
|
84
|
+
- lib/gridinit-jmeter/dsl/aggregate_report.rb
|
85
|
+
- lib/gridinit-jmeter/dsl/ajp13_sampler.rb
|
86
|
+
- lib/gridinit-jmeter/dsl/assertion_results.rb
|
87
|
+
- lib/gridinit-jmeter/dsl/beanshell_assertion.rb
|
88
|
+
- lib/gridinit-jmeter/dsl/beanshell_listener.rb
|
89
|
+
- lib/gridinit-jmeter/dsl/beanshell_postprocessor.rb
|
90
|
+
- lib/gridinit-jmeter/dsl/beanshell_preprocessor.rb
|
91
|
+
- lib/gridinit-jmeter/dsl/beanshell_sampler.rb
|
92
|
+
- lib/gridinit-jmeter/dsl/beanshell_timer.rb
|
93
|
+
- lib/gridinit-jmeter/dsl/bsf_assertion.rb
|
94
|
+
- lib/gridinit-jmeter/dsl/bsf_listener.rb
|
95
|
+
- lib/gridinit-jmeter/dsl/bsf_postprocessor.rb
|
96
|
+
- lib/gridinit-jmeter/dsl/bsf_preprocessor.rb
|
97
|
+
- lib/gridinit-jmeter/dsl/bsf_sampler.rb
|
98
|
+
- lib/gridinit-jmeter/dsl/bsf_timer.rb
|
99
|
+
- lib/gridinit-jmeter/dsl/compare_assertion.rb
|
100
|
+
- lib/gridinit-jmeter/dsl/comparison_assertion_visualizer.rb
|
101
|
+
- lib/gridinit-jmeter/dsl/constant_throughput_timer.rb
|
102
|
+
- lib/gridinit-jmeter/dsl/constant_timer.rb
|
103
|
+
- lib/gridinit-jmeter/dsl/counter.rb
|
104
|
+
- lib/gridinit-jmeter/dsl/cssjquery_extractor.rb
|
105
|
+
- lib/gridinit-jmeter/dsl/csv_data_set_config.rb
|
106
|
+
- lib/gridinit-jmeter/dsl/debug_postprocessor.rb
|
107
|
+
- lib/gridinit-jmeter/dsl/debug_sampler.rb
|
108
|
+
- lib/gridinit-jmeter/dsl/distribution_graphalpha.rb
|
109
|
+
- lib/gridinit-jmeter/dsl/duration_assertion.rb
|
110
|
+
- lib/gridinit-jmeter/dsl/foreach_controller.rb
|
111
|
+
- lib/gridinit-jmeter/dsl/ftp_request.rb
|
112
|
+
- lib/gridinit-jmeter/dsl/ftp_request_defaults.rb
|
113
|
+
- lib/gridinit-jmeter/dsl/gaussian_random_timer.rb
|
114
|
+
- lib/gridinit-jmeter/dsl/generate_summary_results.rb
|
115
|
+
- lib/gridinit-jmeter/dsl/graph_results.rb
|
116
|
+
- lib/gridinit-jmeter/dsl/html_assertion.rb
|
117
|
+
- lib/gridinit-jmeter/dsl/html_link_parser.rb
|
118
|
+
- lib/gridinit-jmeter/dsl/html_parameter_mask.rb
|
119
|
+
- lib/gridinit-jmeter/dsl/http_authorization_manager.rb
|
120
|
+
- lib/gridinit-jmeter/dsl/http_cache_manager.rb
|
121
|
+
- lib/gridinit-jmeter/dsl/http_cookie_manager.rb
|
122
|
+
- lib/gridinit-jmeter/dsl/http_header_manager.rb
|
123
|
+
- lib/gridinit-jmeter/dsl/http_request.rb
|
124
|
+
- lib/gridinit-jmeter/dsl/http_request_defaults.rb
|
125
|
+
- lib/gridinit-jmeter/dsl/http_url_rewriting_modifier.rb
|
126
|
+
- lib/gridinit-jmeter/dsl/if_controller.rb
|
127
|
+
- lib/gridinit-jmeter/dsl/include_controller.rb
|
128
|
+
- lib/gridinit-jmeter/dsl/java_request.rb
|
129
|
+
- lib/gridinit-jmeter/dsl/java_request_defaults.rb
|
130
|
+
- lib/gridinit-jmeter/dsl/jdbc_connection_configuration.rb
|
131
|
+
- lib/gridinit-jmeter/dsl/jdbc_postprocessor.rb
|
132
|
+
- lib/gridinit-jmeter/dsl/jdbc_preprocessor.rb
|
133
|
+
- lib/gridinit-jmeter/dsl/jdbc_request.rb
|
134
|
+
- lib/gridinit-jmeter/dsl/jms_pointtopoint.rb
|
135
|
+
- lib/gridinit-jmeter/dsl/jms_publisher.rb
|
136
|
+
- lib/gridinit-jmeter/dsl/jms_subscriber.rb
|
137
|
+
- lib/gridinit-jmeter/dsl/jsr223_assertion.rb
|
138
|
+
- lib/gridinit-jmeter/dsl/jsr223_listener.rb
|
139
|
+
- lib/gridinit-jmeter/dsl/jsr223_postprocessor.rb
|
140
|
+
- lib/gridinit-jmeter/dsl/jsr223_preprocessor.rb
|
141
|
+
- lib/gridinit-jmeter/dsl/jsr223_sampler.rb
|
142
|
+
- lib/gridinit-jmeter/dsl/jsr223_timer.rb
|
143
|
+
- lib/gridinit-jmeter/dsl/junit_request.rb
|
144
|
+
- lib/gridinit-jmeter/dsl/keystore_configuration.rb
|
145
|
+
- lib/gridinit-jmeter/dsl/ldap_extended_request.rb
|
146
|
+
- lib/gridinit-jmeter/dsl/ldap_extended_request_defaults.rb
|
147
|
+
- lib/gridinit-jmeter/dsl/ldap_request.rb
|
148
|
+
- lib/gridinit-jmeter/dsl/ldap_request_defaults.rb
|
149
|
+
- lib/gridinit-jmeter/dsl/login_config_element.rb
|
150
|
+
- lib/gridinit-jmeter/dsl/loop_controller.rb
|
151
|
+
- lib/gridinit-jmeter/dsl/mail_reader_sampler.rb
|
152
|
+
- lib/gridinit-jmeter/dsl/mailer_visualizer.rb
|
153
|
+
- lib/gridinit-jmeter/dsl/md5hex_assertion.rb
|
154
|
+
- lib/gridinit-jmeter/dsl/module_controller.rb
|
155
|
+
- lib/gridinit-jmeter/dsl/monitor_results.rb
|
156
|
+
- lib/gridinit-jmeter/dsl/once_only_controller.rb
|
157
|
+
- lib/gridinit-jmeter/dsl/os_process_sampler.rb
|
158
|
+
- lib/gridinit-jmeter/dsl/poisson_random_timer.rb
|
159
|
+
- lib/gridinit-jmeter/dsl/random_controller.rb
|
160
|
+
- lib/gridinit-jmeter/dsl/random_order_controller.rb
|
161
|
+
- lib/gridinit-jmeter/dsl/random_variable.rb
|
162
|
+
- lib/gridinit-jmeter/dsl/recording_controller.rb
|
163
|
+
- lib/gridinit-jmeter/dsl/regex_user_parameters.rb
|
164
|
+
- lib/gridinit-jmeter/dsl/regular_expression_extractor.rb
|
165
|
+
- lib/gridinit-jmeter/dsl/response_assertion.rb
|
166
|
+
- lib/gridinit-jmeter/dsl/response_time_graph.rb
|
167
|
+
- lib/gridinit-jmeter/dsl/result_status_action_handler.rb
|
168
|
+
- lib/gridinit-jmeter/dsl/runtime_controller.rb
|
169
|
+
- lib/gridinit-jmeter/dsl/save_responses_to_a_file.rb
|
170
|
+
- lib/gridinit-jmeter/dsl/simple_config_element.rb
|
171
|
+
- lib/gridinit-jmeter/dsl/simple_controller.rb
|
172
|
+
- lib/gridinit-jmeter/dsl/simple_data_writer.rb
|
173
|
+
- lib/gridinit-jmeter/dsl/smime_assertion.rb
|
174
|
+
- lib/gridinit-jmeter/dsl/smtp_sampler.rb
|
175
|
+
- lib/gridinit-jmeter/dsl/soapxmlrpc_request.rb
|
176
|
+
- lib/gridinit-jmeter/dsl/spline_visualizer.rb
|
177
|
+
- lib/gridinit-jmeter/dsl/summary_report.rb
|
178
|
+
- lib/gridinit-jmeter/dsl/switch_controller.rb
|
179
|
+
- lib/gridinit-jmeter/dsl/synchronizing_timer.rb
|
180
|
+
- lib/gridinit-jmeter/dsl/tcp_sampler.rb
|
181
|
+
- lib/gridinit-jmeter/dsl/tcp_sampler_config.rb
|
182
|
+
- lib/gridinit-jmeter/dsl/test_action.rb
|
183
|
+
- lib/gridinit-jmeter/dsl/test_plan.rb
|
184
|
+
- lib/gridinit-jmeter/dsl/thread_group.rb
|
185
|
+
- lib/gridinit-jmeter/dsl/throughput_controller.rb
|
186
|
+
- lib/gridinit-jmeter/dsl/transaction_controller.rb
|
187
|
+
- lib/gridinit-jmeter/dsl/uniform_random_timer.rb
|
188
|
+
- lib/gridinit-jmeter/dsl/user_defined_variables.rb
|
189
|
+
- lib/gridinit-jmeter/dsl/user_parameters.rb
|
190
|
+
- lib/gridinit-jmeter/dsl/view_results_in_table.rb
|
191
|
+
- lib/gridinit-jmeter/dsl/view_results_tree.rb
|
192
|
+
- lib/gridinit-jmeter/dsl/while_controller.rb
|
193
|
+
- lib/gridinit-jmeter/dsl/xml_assertion.rb
|
194
|
+
- lib/gridinit-jmeter/dsl/xml_schema_assertion.rb
|
195
|
+
- lib/gridinit-jmeter/dsl/xpath_assertion.rb
|
196
|
+
- lib/gridinit-jmeter/dsl/xpath_extractor.rb
|
110
197
|
- lib/gridinit-jmeter/helpers/fallback_content_proxy.rb
|
198
|
+
- lib/gridinit-jmeter/helpers/helper.rb
|
111
199
|
- lib/gridinit-jmeter/helpers/jmeter.properties
|
112
200
|
- lib/gridinit-jmeter/helpers/logger-colors.rb
|
201
|
+
- lib/gridinit-jmeter/helpers/parser.rb
|
113
202
|
- lib/gridinit-jmeter/helpers/strip-heredoc.rb
|
114
203
|
- lib/gridinit-jmeter/helpers/user-agents.rb
|
115
204
|
- lib/gridinit-jmeter/idl.rb
|
116
205
|
- lib/gridinit-jmeter/idl.xml
|
117
|
-
- lib/gridinit-jmeter/
|
118
|
-
- lib/gridinit-jmeter/
|
119
|
-
- lib/gridinit-jmeter/
|
120
|
-
- lib/gridinit-jmeter/
|
121
|
-
- lib/gridinit-jmeter/
|
122
|
-
- lib/gridinit-jmeter/
|
123
|
-
- lib/gridinit-jmeter/
|
124
|
-
- lib/gridinit-jmeter/
|
125
|
-
- lib/gridinit-jmeter/idl/beanshell_preprocessor.rb
|
126
|
-
- lib/gridinit-jmeter/idl/beanshell_sampler.rb
|
127
|
-
- lib/gridinit-jmeter/idl/beanshell_timer.rb
|
128
|
-
- lib/gridinit-jmeter/idl/bsf_assertion.rb
|
129
|
-
- lib/gridinit-jmeter/idl/bsf_listener.rb
|
130
|
-
- lib/gridinit-jmeter/idl/bsf_postprocessor.rb
|
131
|
-
- lib/gridinit-jmeter/idl/bsf_preprocessor.rb
|
132
|
-
- lib/gridinit-jmeter/idl/bsf_sampler.rb
|
133
|
-
- lib/gridinit-jmeter/idl/bsf_timer.rb
|
134
|
-
- lib/gridinit-jmeter/idl/compare_assertion.rb
|
135
|
-
- lib/gridinit-jmeter/idl/comparison_assertion_visualizer.rb
|
136
|
-
- lib/gridinit-jmeter/idl/constant_throughput_timer.rb
|
137
|
-
- lib/gridinit-jmeter/idl/constant_timer.rb
|
138
|
-
- lib/gridinit-jmeter/idl/counter.rb
|
139
|
-
- lib/gridinit-jmeter/idl/cssjquery_extractor.rb
|
140
|
-
- lib/gridinit-jmeter/idl/csv_data_set_config.rb
|
141
|
-
- lib/gridinit-jmeter/idl/debug_postprocessor.rb
|
142
|
-
- lib/gridinit-jmeter/idl/debug_sampler.rb
|
143
|
-
- lib/gridinit-jmeter/idl/distribution_graphalpha.rb
|
144
|
-
- lib/gridinit-jmeter/idl/duration_assertion.rb
|
145
|
-
- lib/gridinit-jmeter/idl/foreach_controller.rb
|
146
|
-
- lib/gridinit-jmeter/idl/ftp_request.rb
|
147
|
-
- lib/gridinit-jmeter/idl/ftp_request_defaults.rb
|
148
|
-
- lib/gridinit-jmeter/idl/gaussian_random_timer.rb
|
149
|
-
- lib/gridinit-jmeter/idl/generate_summary_results.rb
|
150
|
-
- lib/gridinit-jmeter/idl/graph_results.rb
|
151
|
-
- lib/gridinit-jmeter/idl/html_assertion.rb
|
152
|
-
- lib/gridinit-jmeter/idl/html_link_parser.rb
|
153
|
-
- lib/gridinit-jmeter/idl/html_parameter_mask.rb
|
154
|
-
- lib/gridinit-jmeter/idl/http_authorization_manager.rb
|
155
|
-
- lib/gridinit-jmeter/idl/http_cache_manager.rb
|
156
|
-
- lib/gridinit-jmeter/idl/http_cookie_manager.rb
|
157
|
-
- lib/gridinit-jmeter/idl/http_header_manager.rb
|
158
|
-
- lib/gridinit-jmeter/idl/http_request.rb
|
159
|
-
- lib/gridinit-jmeter/idl/http_request_defaults.rb
|
160
|
-
- lib/gridinit-jmeter/idl/http_url_rewriting_modifier.rb
|
161
|
-
- lib/gridinit-jmeter/idl/if_controller.rb
|
162
|
-
- lib/gridinit-jmeter/idl/include_controller.rb
|
163
|
-
- lib/gridinit-jmeter/idl/java_request.rb
|
164
|
-
- lib/gridinit-jmeter/idl/java_request_defaults.rb
|
165
|
-
- lib/gridinit-jmeter/idl/jdbc_connection_configuration.rb
|
166
|
-
- lib/gridinit-jmeter/idl/jdbc_postprocessor.rb
|
167
|
-
- lib/gridinit-jmeter/idl/jdbc_preprocessor.rb
|
168
|
-
- lib/gridinit-jmeter/idl/jdbc_request.rb
|
169
|
-
- lib/gridinit-jmeter/idl/jms_pointtopoint.rb
|
170
|
-
- lib/gridinit-jmeter/idl/jms_publisher.rb
|
171
|
-
- lib/gridinit-jmeter/idl/jms_subscriber.rb
|
172
|
-
- lib/gridinit-jmeter/idl/jsr223_assertion.rb
|
173
|
-
- lib/gridinit-jmeter/idl/jsr223_listener.rb
|
174
|
-
- lib/gridinit-jmeter/idl/jsr223_postprocessor.rb
|
175
|
-
- lib/gridinit-jmeter/idl/jsr223_preprocessor.rb
|
176
|
-
- lib/gridinit-jmeter/idl/jsr223_sampler.rb
|
177
|
-
- lib/gridinit-jmeter/idl/jsr223_timer.rb
|
178
|
-
- lib/gridinit-jmeter/idl/junit_request.rb
|
179
|
-
- lib/gridinit-jmeter/idl/keystore_configuration.rb
|
180
|
-
- lib/gridinit-jmeter/idl/ldap_extended_request.rb
|
181
|
-
- lib/gridinit-jmeter/idl/ldap_extended_request_defaults.rb
|
182
|
-
- lib/gridinit-jmeter/idl/ldap_request.rb
|
183
|
-
- lib/gridinit-jmeter/idl/ldap_request_defaults.rb
|
184
|
-
- lib/gridinit-jmeter/idl/login_config_element.rb
|
185
|
-
- lib/gridinit-jmeter/idl/loop_controller.rb
|
186
|
-
- lib/gridinit-jmeter/idl/mail_reader_sampler.rb
|
187
|
-
- lib/gridinit-jmeter/idl/mailer_visualizer.rb
|
188
|
-
- lib/gridinit-jmeter/idl/md5hex_assertion.rb
|
189
|
-
- lib/gridinit-jmeter/idl/module_controller.rb
|
190
|
-
- lib/gridinit-jmeter/idl/monitor_results.rb
|
191
|
-
- lib/gridinit-jmeter/idl/once_only_controller.rb
|
192
|
-
- lib/gridinit-jmeter/idl/os_process_sampler.rb
|
193
|
-
- lib/gridinit-jmeter/idl/poisson_random_timer.rb
|
194
|
-
- lib/gridinit-jmeter/idl/random_controller.rb
|
195
|
-
- lib/gridinit-jmeter/idl/random_order_controller.rb
|
196
|
-
- lib/gridinit-jmeter/idl/random_variable.rb
|
197
|
-
- lib/gridinit-jmeter/idl/recording_controller.rb
|
198
|
-
- lib/gridinit-jmeter/idl/regex_user_parameters.rb
|
199
|
-
- lib/gridinit-jmeter/idl/regular_expression_extractor.rb
|
200
|
-
- lib/gridinit-jmeter/idl/response_assertion.rb
|
201
|
-
- lib/gridinit-jmeter/idl/response_time_graph.rb
|
202
|
-
- lib/gridinit-jmeter/idl/result_status_action_handler.rb
|
203
|
-
- lib/gridinit-jmeter/idl/runtime_controller.rb
|
204
|
-
- lib/gridinit-jmeter/idl/save_responses_to_a_file.rb
|
205
|
-
- lib/gridinit-jmeter/idl/simple_config_element.rb
|
206
|
-
- lib/gridinit-jmeter/idl/simple_controller.rb
|
207
|
-
- lib/gridinit-jmeter/idl/simple_data_writer.rb
|
208
|
-
- lib/gridinit-jmeter/idl/smime_assertion.rb
|
209
|
-
- lib/gridinit-jmeter/idl/smtp_sampler.rb
|
210
|
-
- lib/gridinit-jmeter/idl/soapxmlrpc_request.rb
|
211
|
-
- lib/gridinit-jmeter/idl/spline_visualizer.rb
|
212
|
-
- lib/gridinit-jmeter/idl/summary_report.rb
|
213
|
-
- lib/gridinit-jmeter/idl/switch_controller.rb
|
214
|
-
- lib/gridinit-jmeter/idl/synchronizing_timer.rb
|
215
|
-
- lib/gridinit-jmeter/idl/tcp_sampler.rb
|
216
|
-
- lib/gridinit-jmeter/idl/tcp_sampler_config.rb
|
217
|
-
- lib/gridinit-jmeter/idl/test_action.rb
|
218
|
-
- lib/gridinit-jmeter/idl/test_plan.rb
|
219
|
-
- lib/gridinit-jmeter/idl/thread_group.rb
|
220
|
-
- lib/gridinit-jmeter/idl/throughput_controller.rb
|
221
|
-
- lib/gridinit-jmeter/idl/transaction_controller.rb
|
222
|
-
- lib/gridinit-jmeter/idl/uniform_random_timer.rb
|
223
|
-
- lib/gridinit-jmeter/idl/user_defined_variables.rb
|
224
|
-
- lib/gridinit-jmeter/idl/user_parameters.rb
|
225
|
-
- lib/gridinit-jmeter/idl/view_results_in_table.rb
|
226
|
-
- lib/gridinit-jmeter/idl/view_results_tree.rb
|
227
|
-
- lib/gridinit-jmeter/idl/while_controller.rb
|
228
|
-
- lib/gridinit-jmeter/idl/xml_assertion.rb
|
229
|
-
- lib/gridinit-jmeter/idl/xml_schema_assertion.rb
|
230
|
-
- lib/gridinit-jmeter/idl/xpath_assertion.rb
|
231
|
-
- lib/gridinit-jmeter/idl/xpath_extractor.rb
|
232
|
-
- lib/gridinit-jmeter/listeners/aggregate_report.rb
|
233
|
-
- lib/gridinit-jmeter/listeners/gc_console_status_logger.rb
|
234
|
-
- lib/gridinit-jmeter/listeners/gc_latencies_over_time.rb
|
235
|
-
- lib/gridinit-jmeter/listeners/gc_response_codes_per_second.rb
|
236
|
-
- lib/gridinit-jmeter/listeners/gc_response_times_distribution.rb
|
237
|
-
- lib/gridinit-jmeter/listeners/gc_response_times_over_time.rb
|
238
|
-
- lib/gridinit-jmeter/listeners/gc_response_times_percentiles.rb
|
239
|
-
- lib/gridinit-jmeter/listeners/gc_transactions_per_second.rb
|
240
|
-
- lib/gridinit-jmeter/listeners/graph_visualizer.rb
|
241
|
-
- lib/gridinit-jmeter/listeners/response_time_graph_visualizer.rb
|
242
|
-
- lib/gridinit-jmeter/listeners/simple_data_writer.rb
|
243
|
-
- lib/gridinit-jmeter/listeners/stat_visualizer.rb
|
244
|
-
- lib/gridinit-jmeter/listeners/summary_report.rb
|
245
|
-
- lib/gridinit-jmeter/listeners/table_visualizer.rb
|
246
|
-
- lib/gridinit-jmeter/listeners/view_results_full_visualizer.rb
|
247
|
-
- lib/gridinit-jmeter/post_processors/regex_extractor.rb
|
248
|
-
- lib/gridinit-jmeter/post_processors/xpath_extractor.rb
|
249
|
-
- lib/gridinit-jmeter/pre_processors/bean_shell_pre_processor.rb
|
250
|
-
- lib/gridinit-jmeter/samplers/http_sampler.rb
|
251
|
-
- lib/gridinit-jmeter/samplers/ldap_ext_sampler.rb
|
252
|
-
- lib/gridinit-jmeter/samplers/soap_sampler.rb
|
253
|
-
- lib/gridinit-jmeter/test_plan/test_plan.rb
|
254
|
-
- lib/gridinit-jmeter/threads/thread_group.rb
|
255
|
-
- lib/gridinit-jmeter/timers/gaussian_random_timer.rb
|
256
|
-
- lib/gridinit-jmeter/timers/gc_throughput_shaping_timer.rb
|
206
|
+
- lib/gridinit-jmeter/plugins/gc_console_status_logger.rb
|
207
|
+
- lib/gridinit-jmeter/plugins/gc_latencies_over_time.rb
|
208
|
+
- lib/gridinit-jmeter/plugins/gc_response_codes_per_second.rb
|
209
|
+
- lib/gridinit-jmeter/plugins/gc_response_times_distribution.rb
|
210
|
+
- lib/gridinit-jmeter/plugins/gc_response_times_over_time.rb
|
211
|
+
- lib/gridinit-jmeter/plugins/gc_response_times_percentiles.rb
|
212
|
+
- lib/gridinit-jmeter/plugins/gc_transactions_per_second.rb
|
213
|
+
- lib/gridinit-jmeter/plugins/gc_variable_throughput_timer.rb
|
257
214
|
- lib/gridinit-jmeter/version.rb
|
258
215
|
- spec/dsl_spec.rb
|
259
216
|
- spec/spec_helper.rb
|
@@ -273,9 +230,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
273
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
231
|
none: false
|
275
232
|
requirements:
|
276
|
-
- - ! '
|
233
|
+
- - ! '>'
|
277
234
|
- !ruby/object:Gem::Version
|
278
|
-
version:
|
235
|
+
version: 1.3.1
|
279
236
|
requirements: []
|
280
237
|
rubyforge_project:
|
281
238
|
rubygems_version: 1.8.23
|
data/examples/basic_proxy.rb
DELETED
data/examples/basic_results.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
-
require 'gridinit-jmeter'
|
3
|
-
|
4
|
-
test do
|
5
|
-
threads 1, { :loops => 10 } do
|
6
|
-
visit 'Google Search', 'http://google.com'
|
7
|
-
end
|
8
|
-
|
9
|
-
#
|
10
|
-
# About response_graph
|
11
|
-
#
|
12
|
-
# Too few samples in this example.
|
13
|
-
# Please change interval(ms) by hand when you display results.
|
14
|
-
#
|
15
|
-
table_visualizer 'Table Visualizer'
|
16
|
-
graph_visualizer 'Graph Visualizer'
|
17
|
-
stat_visualizer 'Stat Visualizer'
|
18
|
-
response_graph 'response_graph'
|
19
|
-
summary_report 'Summary Report'
|
20
|
-
view_results 'View Results Tree'
|
21
|
-
|
22
|
-
end.jmx
|
data/examples/basic_run.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
-
require 'gridinit-jmeter'
|
3
|
-
|
4
|
-
test do
|
5
|
-
threads 10 do
|
6
|
-
visit 'Google Search', 'http://google.com'
|
7
|
-
end
|
8
|
-
end.run(
|
9
|
-
:path => '',
|
10
|
-
:file => 'jmeter.jmx',
|
11
|
-
:log => 'jmeter.log',
|
12
|
-
:jtl => 'results.jtl')
|
@@ -1,14 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
-
require 'gridinit-jmeter'
|
3
|
-
|
4
|
-
test do
|
5
|
-
threads 1 do
|
6
|
-
visit 'Google Search', 'http://google.com'
|
7
|
-
end
|
8
|
-
|
9
|
-
simple_data_writer 'errors', { filename: '/var/log/gridnode/stderr.log', error_logging: true }
|
10
|
-
|
11
|
-
# also aliased as log
|
12
|
-
log 'success', { filename: '/var/log/gridnode/successful.log' }
|
13
|
-
|
14
|
-
end.jmx
|
data/examples/basic_stdout.rb
DELETED
data/examples/basic_test_data.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
-
require 'gridinit-jmeter'
|
3
|
-
|
4
|
-
# this is an example using the Gridinit test data API
|
5
|
-
|
6
|
-
ENV['TESTDATA'] ='http://prod.gridinit.com:8080'
|
7
|
-
|
8
|
-
test do
|
9
|
-
threads 1 do
|
10
|
-
|
11
|
-
visit 'data', ENV['TESTDATA'] + '/ad48720631cd2f24/SRANDMEMBER' do extract 'url', '(http://.+?)"'; end
|
12
|
-
|
13
|
-
visit 'Google Search', 'http://google.com?url=${url}'
|
14
|
-
end
|
15
|
-
end.jmx
|
data/examples/basic_testplan.jmx
DELETED
@@ -1,138 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<jmeterTestPlan version="1.2" properties="2.3" jmeter="2.8 r1393162">
|
3
|
-
<hashTree>
|
4
|
-
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
|
5
|
-
<stringProp name="TestPlan.comments"></stringProp>
|
6
|
-
<boolProp name="TestPlan.functional_mode">false</boolProp>
|
7
|
-
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
|
8
|
-
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
9
|
-
<collectionProp name="Arguments.arguments"/>
|
10
|
-
</elementProp>
|
11
|
-
<stringProp name="TestPlan.user_define_classpath"></stringProp>
|
12
|
-
</TestPlan>
|
13
|
-
<hashTree>
|
14
|
-
<CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
|
15
|
-
<collectionProp name="CookieManager.cookies"/>
|
16
|
-
<boolProp name="CookieManager.clearEachIteration">true</boolProp>
|
17
|
-
<stringProp name="CookieManager.policy">rfc2109</stringProp>
|
18
|
-
</CookieManager>
|
19
|
-
<hashTree/>
|
20
|
-
<CacheManager guiclass="CacheManagerGui" testclass="CacheManager" testname="HTTP Cache Manager" enabled="true">
|
21
|
-
<boolProp name="clearEachIteration">true</boolProp>
|
22
|
-
<boolProp name="useExpires">false</boolProp>
|
23
|
-
</CacheManager>
|
24
|
-
<hashTree/>
|
25
|
-
<AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
|
26
|
-
<collectionProp name="AuthManager.auth_list">
|
27
|
-
<elementProp name="" elementType="Authorization">
|
28
|
-
<stringProp name="Authorization.url">/</stringProp>
|
29
|
-
<stringProp name="Authorization.username">tim</stringProp>
|
30
|
-
<stringProp name="Authorization.password">password</stringProp>
|
31
|
-
<stringProp name="Authorization.domain">altentee.com</stringProp>
|
32
|
-
<stringProp name="Authorization.realm"></stringProp>
|
33
|
-
</elementProp>
|
34
|
-
</collectionProp>
|
35
|
-
</AuthManager>
|
36
|
-
<hashTree/>
|
37
|
-
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
|
38
|
-
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
39
|
-
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
|
40
|
-
<boolProp name="LoopController.continue_forever">false</boolProp>
|
41
|
-
<stringProp name="LoopController.loops">1</stringProp>
|
42
|
-
</elementProp>
|
43
|
-
<stringProp name="ThreadGroup.num_threads">10</stringProp>
|
44
|
-
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
|
45
|
-
<longProp name="ThreadGroup.start_time">1352677419000</longProp>
|
46
|
-
<longProp name="ThreadGroup.end_time">1352677419000</longProp>
|
47
|
-
<boolProp name="ThreadGroup.scheduler">false</boolProp>
|
48
|
-
<stringProp name="ThreadGroup.duration"></stringProp>
|
49
|
-
<stringProp name="ThreadGroup.delay"></stringProp>
|
50
|
-
</ThreadGroup>
|
51
|
-
<hashTree>
|
52
|
-
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Transaction Controller" enabled="true">
|
53
|
-
<boolProp name="TransactionController.parent">false</boolProp>
|
54
|
-
</TransactionController>
|
55
|
-
<hashTree>
|
56
|
-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP Request" enabled="true">
|
57
|
-
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
58
|
-
<collectionProp name="Arguments.arguments"/>
|
59
|
-
</elementProp>
|
60
|
-
<stringProp name="HTTPSampler.domain">127.0.0.1</stringProp>
|
61
|
-
<stringProp name="HTTPSampler.port">4567</stringProp>
|
62
|
-
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
63
|
-
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
64
|
-
<stringProp name="HTTPSampler.protocol"></stringProp>
|
65
|
-
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
66
|
-
<stringProp name="HTTPSampler.path">/</stringProp>
|
67
|
-
<stringProp name="HTTPSampler.method">GET</stringProp>
|
68
|
-
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
69
|
-
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
70
|
-
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
71
|
-
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
72
|
-
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
73
|
-
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
74
|
-
</HTTPSamplerProxy>
|
75
|
-
<hashTree>
|
76
|
-
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
|
77
|
-
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
78
|
-
<stringProp name="RegexExtractor.refname">csrf_token</stringProp>
|
79
|
-
<stringProp name="RegexExtractor.regex">content="(.+?)" name="csrf-token"</stringProp>
|
80
|
-
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
81
|
-
<stringProp name="RegexExtractor.default">authenticity_token</stringProp>
|
82
|
-
<stringProp name="RegexExtractor.match_number">0</stringProp>
|
83
|
-
</RegexExtractor>
|
84
|
-
<hashTree/>
|
85
|
-
</hashTree>
|
86
|
-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP Request" enabled="true">
|
87
|
-
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
88
|
-
<collectionProp name="Arguments.arguments">
|
89
|
-
<elementProp name="username" elementType="HTTPArgument">
|
90
|
-
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
91
|
-
<stringProp name="Argument.value">Tim</stringProp>
|
92
|
-
<stringProp name="Argument.metadata">=</stringProp>
|
93
|
-
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
94
|
-
<stringProp name="Argument.name">username</stringProp>
|
95
|
-
</elementProp>
|
96
|
-
<elementProp name="password" elementType="HTTPArgument">
|
97
|
-
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
98
|
-
<stringProp name="Argument.value">Password</stringProp>
|
99
|
-
<stringProp name="Argument.metadata">=</stringProp>
|
100
|
-
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
101
|
-
<stringProp name="Argument.name">password</stringProp>
|
102
|
-
</elementProp>
|
103
|
-
</collectionProp>
|
104
|
-
</elementProp>
|
105
|
-
<stringProp name="HTTPSampler.domain">127.0.0.1</stringProp>
|
106
|
-
<stringProp name="HTTPSampler.port">4567</stringProp>
|
107
|
-
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
108
|
-
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
109
|
-
<stringProp name="HTTPSampler.protocol"></stringProp>
|
110
|
-
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
111
|
-
<stringProp name="HTTPSampler.path">/</stringProp>
|
112
|
-
<stringProp name="HTTPSampler.method">POST</stringProp>
|
113
|
-
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
114
|
-
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
115
|
-
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
116
|
-
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
117
|
-
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
118
|
-
<boolProp name="HTTPSampler.concurrentDwn">true</boolProp>
|
119
|
-
<stringProp name="HTTPSampler.concurrentPool">8</stringProp>
|
120
|
-
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
121
|
-
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
122
|
-
</HTTPSamplerProxy>
|
123
|
-
<hashTree>
|
124
|
-
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
125
|
-
<collectionProp name="Asserion.test_strings">
|
126
|
-
<stringProp name="2603186">Test</stringProp>
|
127
|
-
</collectionProp>
|
128
|
-
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
129
|
-
<boolProp name="Assertion.assume_success">false</boolProp>
|
130
|
-
<intProp name="Assertion.test_type">20</intProp>
|
131
|
-
</ResponseAssertion>
|
132
|
-
<hashTree/>
|
133
|
-
</hashTree>
|
134
|
-
</hashTree>
|
135
|
-
</hashTree>
|
136
|
-
</hashTree>
|
137
|
-
</hashTree>
|
138
|
-
</jmeterTestPlan>
|
data/examples/basic_testplan.rb
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
-
require 'gridinit-jmeter'
|
3
|
-
|
4
|
-
base_url = 'http://localhost:4567'
|
5
|
-
endpoint = 'localhost:3000'
|
6
|
-
|
7
|
-
test do
|
8
|
-
|
9
|
-
cache :clear_each_iteration => true
|
10
|
-
cookies
|
11
|
-
|
12
|
-
threads 100 do
|
13
|
-
|
14
|
-
random_timer 3000, 3000
|
15
|
-
|
16
|
-
transaction 'First Visit', {:parent => true} do
|
17
|
-
visit 'Home Page', "#{base_url}/" do
|
18
|
-
extract 'csrf-token', "content='(.+?)' name='csrf-token'"
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
transaction 'Login' do
|
23
|
-
submit 'Submit Form', "#{base_url}/login", {
|
24
|
-
:fill_in => {
|
25
|
-
:username => 'tim',
|
26
|
-
:password => 'password',
|
27
|
-
'csrf-token' => '${csrf-token}'
|
28
|
-
}
|
29
|
-
}
|
30
|
-
think_time 1000
|
31
|
-
end
|
32
|
-
|
33
|
-
transaction 'Check Mana' do
|
34
|
-
visit 'Rails Camp' , "#{base_url}/magic" do
|
35
|
-
assert "contains", "magic"
|
36
|
-
assert "not-contains", "unicorns"
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
end
|
41
|
-
|
42
|
-
end.jmx
|
43
|
-
# end.run(path: '/usr/share/jmeter/bin/')
|
44
|
-
# end.grid '4dy-zJLEIgpYkKe6p6JhSQ', { endpoint: endpoint }
|