jmeter_perf 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +19 -0
- data/.standard.yml +4 -0
- data/CHANGELOG.md +18 -0
- data/DSL.md +235 -0
- data/README.md +24 -0
- data/Rakefile +12 -0
- data/example/Gemfile +39 -0
- data/example/Gemfile.lock +232 -0
- data/example/README.md +3 -0
- data/example/Rakefile +6 -0
- data/example/app/controllers/application_controller.rb +2 -0
- data/example/app/controllers/test_controller.rb +15 -0
- data/example/bin/bundle +109 -0
- data/example/bin/docker-entrypoint +8 -0
- data/example/bin/rails +4 -0
- data/example/bin/rake +4 -0
- data/example/bin/setup +33 -0
- data/example/config/application.rb +44 -0
- data/example/config/boot.rb +3 -0
- data/example/config/credentials.yml.enc +1 -0
- data/example/config/database.yml +25 -0
- data/example/config/environment.rb +5 -0
- data/example/config/environments/development.rb +64 -0
- data/example/config/environments/production.rb +82 -0
- data/example/config/environments/test.rb +61 -0
- data/example/config/initializers/cors.rb +16 -0
- data/example/config/initializers/filter_parameter_logging.rb +8 -0
- data/example/config/initializers/inflections.rb +16 -0
- data/example/config/locales/en.yml +31 -0
- data/example/config/puma.rb +35 -0
- data/example/config/routes.rb +5 -0
- data/example/config.ru +7 -0
- data/example/fast.log +49 -0
- data/example/jmeter.log +28 -0
- data/example/lib/tasks/test.rake +40 -0
- data/example/log/.keep +0 -0
- data/example/public/robots.txt +1 -0
- data/example/random.log +49 -0
- data/example/slow.log +49 -0
- data/example/vendor/.keep +0 -0
- data/lib/Rakefile +4 -0
- data/lib/jmeter_perf/dsl/access_log_sampler.rb +38 -0
- data/lib/jmeter_perf/dsl/aggregate_graph.rb +61 -0
- data/lib/jmeter_perf/dsl/aggregate_report.rb +61 -0
- data/lib/jmeter_perf/dsl/ajp13_sampler.rb +47 -0
- data/lib/jmeter_perf/dsl/assertion_results.rb +61 -0
- data/lib/jmeter_perf/dsl/bean_shell_assertion.rb +34 -0
- data/lib/jmeter_perf/dsl/bean_shell_listener.rb +34 -0
- data/lib/jmeter_perf/dsl/bean_shell_postprocessor.rb +34 -0
- data/lib/jmeter_perf/dsl/bean_shell_preprocessor.rb +34 -0
- data/lib/jmeter_perf/dsl/bean_shell_sampler.rb +34 -0
- data/lib/jmeter_perf/dsl/bean_shell_timer.rb +34 -0
- data/lib/jmeter_perf/dsl/bsf_assertion.rb +34 -0
- data/lib/jmeter_perf/dsl/bsf_listener.rb +34 -0
- data/lib/jmeter_perf/dsl/bsf_postprocessor.rb +34 -0
- data/lib/jmeter_perf/dsl/bsf_preprocessor.rb +34 -0
- data/lib/jmeter_perf/dsl/bsf_sampler.rb +34 -0
- data/lib/jmeter_perf/dsl/bsf_timer.rb +34 -0
- data/lib/jmeter_perf/dsl/compare_assertion.rb +33 -0
- data/lib/jmeter_perf/dsl/comparison_assertion_visualizer.rb +61 -0
- data/lib/jmeter_perf/dsl/constant_throughput_timer.rb +32 -0
- data/lib/jmeter_perf/dsl/constant_timer.rb +31 -0
- data/lib/jmeter_perf/dsl/counter.rb +37 -0
- data/lib/jmeter_perf/dsl/css_jquery_extractor.rb +37 -0
- data/lib/jmeter_perf/dsl/csv_data_set_config.rb +39 -0
- data/lib/jmeter_perf/dsl/debug_postprocessor.rb +34 -0
- data/lib/jmeter_perf/dsl/debug_sampler.rb +33 -0
- data/lib/jmeter_perf/dsl/distribution_graphalpha.rb +61 -0
- data/lib/jmeter_perf/dsl/duration_assertion.rb +31 -0
- data/lib/jmeter_perf/dsl/for_each_controller.rb +33 -0
- data/lib/jmeter_perf/dsl/ftp_request.rb +40 -0
- data/lib/jmeter_perf/dsl/ftp_request_defaults.rb +38 -0
- data/lib/jmeter_perf/dsl/gaussian_random_timer.rb +32 -0
- data/lib/jmeter_perf/dsl/generate_summary_results.rb +29 -0
- data/lib/jmeter_perf/dsl/graph_results.rb +61 -0
- data/lib/jmeter_perf/dsl/html_assertion.rb +36 -0
- data/lib/jmeter_perf/dsl/html_link_parser.rb +29 -0
- data/lib/jmeter_perf/dsl/html_parameter_mask.rb +38 -0
- data/lib/jmeter_perf/dsl/http_authorization_manager.rb +39 -0
- data/lib/jmeter_perf/dsl/http_cache_manager.rb +32 -0
- data/lib/jmeter_perf/dsl/http_cookie_manager.rb +34 -0
- data/lib/jmeter_perf/dsl/http_header_manager.rb +36 -0
- data/lib/jmeter_perf/dsl/http_request.rb +47 -0
- data/lib/jmeter_perf/dsl/http_request_defaults.rb +53 -0
- data/lib/jmeter_perf/dsl/http_url_rewriting_modifier.rb +36 -0
- data/lib/jmeter_perf/dsl/if_controller.rb +33 -0
- data/lib/jmeter_perf/dsl/include_controller.rb +31 -0
- data/lib/jmeter_perf/dsl/j_unit_request.rb +43 -0
- data/lib/jmeter_perf/dsl/java_request.rb +75 -0
- data/lib/jmeter_perf/dsl/java_request_defaults.rb +75 -0
- data/lib/jmeter_perf/dsl/jdbc_connection_configuration.rb +43 -0
- data/lib/jmeter_perf/dsl/jdbc_postprocessor.rb +39 -0
- data/lib/jmeter_perf/dsl/jdbc_preprocessor.rb +39 -0
- data/lib/jmeter_perf/dsl/jdbc_request.rb +39 -0
- data/lib/jmeter_perf/dsl/jms_pointto_point.rb +47 -0
- data/lib/jmeter_perf/dsl/jms_publisher.rb +49 -0
- data/lib/jmeter_perf/dsl/jms_subscriber.rb +41 -0
- data/lib/jmeter_perf/dsl/json_path_postprocessor.rb +33 -0
- data/lib/jmeter_perf/dsl/jsr223_assertion.rb +35 -0
- data/lib/jmeter_perf/dsl/jsr223_listener.rb +35 -0
- data/lib/jmeter_perf/dsl/jsr223_postprocessor.rb +35 -0
- data/lib/jmeter_perf/dsl/jsr223_preprocessor.rb +35 -0
- data/lib/jmeter_perf/dsl/jsr223_sampler.rb +35 -0
- data/lib/jmeter_perf/dsl/jsr223_timer.rb +35 -0
- data/lib/jmeter_perf/dsl/keystore_configuration.rb +34 -0
- data/lib/jmeter_perf/dsl/ldap_extended_request.rb +48 -0
- data/lib/jmeter_perf/dsl/ldap_extended_request_defaults.rb +48 -0
- data/lib/jmeter_perf/dsl/ldap_request.rb +41 -0
- data/lib/jmeter_perf/dsl/ldap_request_defaults.rb +45 -0
- data/lib/jmeter_perf/dsl/login_config_element.rb +32 -0
- data/lib/jmeter_perf/dsl/loop_controller.rb +32 -0
- data/lib/jmeter_perf/dsl/mail_reader_sampler.rb +43 -0
- data/lib/jmeter_perf/dsl/mailer_visualizer.rb +70 -0
- data/lib/jmeter_perf/dsl/md5_hex_assertion.rb +31 -0
- data/lib/jmeter_perf/dsl/module_controller.rb +31 -0
- data/lib/jmeter_perf/dsl/monitor_results.rb +61 -0
- data/lib/jmeter_perf/dsl/once_only_controller.rb +29 -0
- data/lib/jmeter_perf/dsl/os_process_sampler.rb +40 -0
- data/lib/jmeter_perf/dsl/poisson_random_timer.rb +32 -0
- data/lib/jmeter_perf/dsl/random_controller.rb +31 -0
- data/lib/jmeter_perf/dsl/random_order_controller.rb +29 -0
- data/lib/jmeter_perf/dsl/random_variable.rb +36 -0
- data/lib/jmeter_perf/dsl/recording_controller.rb +29 -0
- data/lib/jmeter_perf/dsl/reg_ex_user_parameters.rb +33 -0
- data/lib/jmeter_perf/dsl/regular_expression_extractor.rb +38 -0
- data/lib/jmeter_perf/dsl/response_assertion.rb +37 -0
- data/lib/jmeter_perf/dsl/response_time_graph.rb +61 -0
- data/lib/jmeter_perf/dsl/result_status_action_handler.rb +31 -0
- data/lib/jmeter_perf/dsl/runtime_controller.rb +31 -0
- data/lib/jmeter_perf/dsl/save_responses_to_a_file.rb +35 -0
- data/lib/jmeter_perf/dsl/simple_config_element.rb +29 -0
- data/lib/jmeter_perf/dsl/simple_controller.rb +29 -0
- data/lib/jmeter_perf/dsl/simple_data_writer.rb +61 -0
- data/lib/jmeter_perf/dsl/smime_assertion.rb +41 -0
- data/lib/jmeter_perf/dsl/smtp_sampler.rb +57 -0
- data/lib/jmeter_perf/dsl/soap_xml_rpc_request.rb +39 -0
- data/lib/jmeter_perf/dsl/spline_visualizer.rb +61 -0
- data/lib/jmeter_perf/dsl/summary_report.rb +61 -0
- data/lib/jmeter_perf/dsl/switch_controller.rb +31 -0
- data/lib/jmeter_perf/dsl/synchronizing_timer.rb +32 -0
- data/lib/jmeter_perf/dsl/tcp_sampler.rb +39 -0
- data/lib/jmeter_perf/dsl/tcp_sampler_config.rb +37 -0
- data/lib/jmeter_perf/dsl/test_action.rb +33 -0
- data/lib/jmeter_perf/dsl/test_fragment.rb +29 -0
- data/lib/jmeter_perf/dsl/test_plan.rb +37 -0
- data/lib/jmeter_perf/dsl/thread_group.rb +43 -0
- data/lib/jmeter_perf/dsl/throughput_controller.rb +38 -0
- data/lib/jmeter_perf/dsl/transaction_controller.rb +32 -0
- data/lib/jmeter_perf/dsl/uniform_random_timer.rb +32 -0
- data/lib/jmeter_perf/dsl/user_defined_variables.rb +39 -0
- data/lib/jmeter_perf/dsl/user_parameters.rb +36 -0
- data/lib/jmeter_perf/dsl/view_results_in_table.rb +61 -0
- data/lib/jmeter_perf/dsl/view_results_tree.rb +61 -0
- data/lib/jmeter_perf/dsl/while_controller.rb +31 -0
- data/lib/jmeter_perf/dsl/x_path_assertion.rb +37 -0
- data/lib/jmeter_perf/dsl/x_path_extractor.rb +37 -0
- data/lib/jmeter_perf/dsl/xml_assertion.rb +29 -0
- data/lib/jmeter_perf/dsl/xml_schema_assertion.rb +31 -0
- data/lib/jmeter_perf/extend/assertions/response_assertion.rb +38 -0
- data/lib/jmeter_perf/extend/config_elements/header_manager.rb +13 -0
- data/lib/jmeter_perf/extend/config_elements/http_cache_manager.rb +12 -0
- data/lib/jmeter_perf/extend/config_elements/http_cookie_manager.rb +39 -0
- data/lib/jmeter_perf/extend/config_elements/http_request_defaults.rb +55 -0
- data/lib/jmeter_perf/extend/config_elements/user_defined_variables.rb +13 -0
- data/lib/jmeter_perf/extend/config_elements/user_parameters.rb +31 -0
- data/lib/jmeter_perf/extend/controllers/foreach_controller.rb +31 -0
- data/lib/jmeter_perf/extend/controllers/loop_controller.rb +11 -0
- data/lib/jmeter_perf/extend/controllers/module_controller.rb +26 -0
- data/lib/jmeter_perf/extend/controllers/throughput_controller.rb +15 -0
- data/lib/jmeter_perf/extend/controllers/transaction_controller.rb +14 -0
- data/lib/jmeter_perf/extend/misc/exists.rb +13 -0
- data/lib/jmeter_perf/extend/misc/rsync.rb +24 -0
- data/lib/jmeter_perf/extend/misc/uuid.rb +12 -0
- data/lib/jmeter_perf/extend/misc/with_helpers.rb +27 -0
- data/lib/jmeter_perf/extend/plugins/jmeter_plugins.rb +124 -0
- data/lib/jmeter_perf/extend/processors/extract.rb +27 -0
- data/lib/jmeter_perf/extend/processors/regular_expression_extractor.rb +27 -0
- data/lib/jmeter_perf/extend/samplers/http_request.rb +66 -0
- data/lib/jmeter_perf/extend/samplers/jms_pointtopoint.rb +23 -0
- data/lib/jmeter_perf/extend/samplers/soapxmlrpc_request.rb +10 -0
- data/lib/jmeter_perf/extend/threads/thread_group.rb +19 -0
- data/lib/jmeter_perf/extend/timers/constant_throughput_timer.rb +11 -0
- data/lib/jmeter_perf/extend/timers/random_timer.rb +14 -0
- data/lib/jmeter_perf/helpers/dsl_generator.rb +157 -0
- data/lib/jmeter_perf/helpers/fallback_content_proxy.rb +96 -0
- data/lib/jmeter_perf/helpers/helper.rb +63 -0
- data/lib/jmeter_perf/helpers/parser.rb +143 -0
- data/lib/jmeter_perf/helpers/running_statistics.rb +62 -0
- data/lib/jmeter_perf/helpers/string.rb +60 -0
- data/lib/jmeter_perf/helpers/user-agents.rb +42 -0
- data/lib/jmeter_perf/plugins/active_threads_over_time.rb +59 -0
- data/lib/jmeter_perf/plugins/composite_graph.rb +77 -0
- data/lib/jmeter_perf/plugins/console_status_logger.rb +19 -0
- data/lib/jmeter_perf/plugins/dummy_sampler.rb +30 -0
- data/lib/jmeter_perf/plugins/jmx_collector.rb +74 -0
- data/lib/jmeter_perf/plugins/json_path_assertion.rb +23 -0
- data/lib/jmeter_perf/plugins/json_path_extractor.rb +22 -0
- data/lib/jmeter_perf/plugins/latencies_over_time.rb +53 -0
- data/lib/jmeter_perf/plugins/loadosophia_uploader.rb +66 -0
- data/lib/jmeter_perf/plugins/perfmon_collector.rb +87 -0
- data/lib/jmeter_perf/plugins/redis_data_set.rb +43 -0
- data/lib/jmeter_perf/plugins/response_codes_per_second.rb +53 -0
- data/lib/jmeter_perf/plugins/response_times_distribution.rb +53 -0
- data/lib/jmeter_perf/plugins/response_times_over_time.rb +53 -0
- data/lib/jmeter_perf/plugins/response_times_percentiles.rb +54 -0
- data/lib/jmeter_perf/plugins/stepping_thread_group.rb +34 -0
- data/lib/jmeter_perf/plugins/transactions_per_second.rb +53 -0
- data/lib/jmeter_perf/plugins/ultimate_thread_group.rb +28 -0
- data/lib/jmeter_perf/plugins/variable_throughput_timer.rb +35 -0
- data/lib/jmeter_perf/report/comparator.rb +258 -0
- data/lib/jmeter_perf/report/summary.rb +268 -0
- data/lib/jmeter_perf/tasks/dsl.rake +19 -0
- data/lib/jmeter_perf/version.rb +5 -0
- data/lib/jmeter_perf/views/report_template.html.erb +114 -0
- data/lib/jmeter_perf.rb +183 -0
- data/lib/specifications/idl.xml +1494 -0
- data/sig/jmeter_perf.rbs +195 -0
- data/sorbet/config +5 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/bump@0.10.0.rbi +169 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +3607 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3427 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
- data/sorbet/rbi/gems/docile@1.4.1.rbi +377 -0
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
- data/sorbet/rbi/gems/json@2.7.2.rbi +1562 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
- data/sorbet/rbi/gems/method_source@1.1.0.rbi +304 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/parser@3.3.5.0.rbi +5519 -0
- data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
- data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1151 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10076 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +162 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3074 -0
- data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
- data/sorbet/rbi/gems/rbtree3@0.7.1.rbi +9 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
- data/sorbet/rbi/gems/rexml@3.3.8.rbi +4858 -0
- data/sorbet/rbi/gems/rspec-core@3.13.1.rbi +11132 -0
- data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
- data/sorbet/rbi/gems/rspec-mocks@3.13.1.rbi +5341 -0
- data/sorbet/rbi/gems/rspec-support@3.13.1.rbi +1630 -0
- data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
- data/sorbet/rbi/gems/rubocop-ast@1.32.3.rbi +7054 -0
- data/sorbet/rbi/gems/rubocop-performance@1.21.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop@1.65.1.rbi +58182 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/simplecov-html@0.13.1.rbi +225 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
- data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
- data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +9 -0
- data/sorbet/rbi/gems/standard-performance@1.4.0.rbi +9 -0
- data/sorbet/rbi/gems/standard@1.40.0.rbi +926 -0
- data/sorbet/rbi/gems/tapioca@0.16.3.rbi +3596 -0
- data/sorbet/rbi/gems/tdigest@0.2.1.rbi +170 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +66 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
- data/sorbet/rbi/todo.rbi +31 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +15 -0
- data/tasks/dsl.rake +22 -0
- metadata +355 -0
data/sig/jmeter_perf.rbs
ADDED
@@ -0,0 +1,195 @@
|
|
1
|
+
module JmeterPerf
|
2
|
+
def self.test: (Hash[Symbol, untyped] params = {}) { () -> void } -> ExtendedDSL
|
3
|
+
|
4
|
+
class ExtendedDSL < DSL
|
5
|
+
include JmeterPerf::Helper::Parser
|
6
|
+
attr_accessor root: Nokogiri::XML::Document
|
7
|
+
|
8
|
+
def initialize: (Hash[Symbol, untyped]) -> void
|
9
|
+
|
10
|
+
def jmx: (out_jmx: String) -> void
|
11
|
+
def run: (
|
12
|
+
name: String,
|
13
|
+
jmeter_path: String?,
|
14
|
+
out_jmx: String,
|
15
|
+
out_jtl: String,
|
16
|
+
out_jmeter_log: String,
|
17
|
+
out_cmd_log: String
|
18
|
+
) -> Report::Summary
|
19
|
+
end
|
20
|
+
|
21
|
+
module Report
|
22
|
+
class Summary
|
23
|
+
attr_reader name: String
|
24
|
+
attr_reader avg: Float
|
25
|
+
attr_reader error_percentage: Float
|
26
|
+
attr_reader max: Integer
|
27
|
+
attr_reader min: Integer
|
28
|
+
attr_reader p10: Float
|
29
|
+
attr_reader p50: Float
|
30
|
+
attr_reader p95: Float
|
31
|
+
attr_reader requests_per_minute: Float
|
32
|
+
attr_reader response_codes: Hash[String, Integer]
|
33
|
+
attr_reader standard_deviation: Float
|
34
|
+
attr_reader total_bytes: Integer
|
35
|
+
attr_reader total_elapsed_time: Integer
|
36
|
+
attr_reader total_errors: Integer
|
37
|
+
attr_reader total_latency: Integer
|
38
|
+
attr_reader total_requests: Integer
|
39
|
+
attr_reader total_sent_bytes: Integer
|
40
|
+
|
41
|
+
alias rpm: requests_per_minute
|
42
|
+
alias std: standard_deviation
|
43
|
+
alias median: p50
|
44
|
+
|
45
|
+
def initialize: (String | Pathname, String?) -> void
|
46
|
+
def finish!: () -> void
|
47
|
+
def stream_jtl_async: () -> Thread
|
48
|
+
def summarize_data!: () -> void
|
49
|
+
end
|
50
|
+
|
51
|
+
class Comparator
|
52
|
+
attr_reader cohens_d: Float
|
53
|
+
attr_reader t_statistic: Float
|
54
|
+
attr_reader human_rating: String
|
55
|
+
attr_reader name: String
|
56
|
+
|
57
|
+
def initialize: (Summary, Summary, String?) -> void
|
58
|
+
def pass?: (Float?, Symbol, Symbol) -> bool
|
59
|
+
def generate_reports: (output_dir: String, output_format: Symbol) -> void
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class DSLGenerator
|
64
|
+
def initialize: (lib_dir: String, gem_dir: String, dsl_dir: String, idl_xml_path: String) -> void
|
65
|
+
def generate: () -> void
|
66
|
+
end
|
67
|
+
|
68
|
+
class DSL
|
69
|
+
def method_missing: (Symbol, *untyped, **untyped) { () -> void } -> void
|
70
|
+
def respond_to_missing?: (Symbol, bool) -> bool
|
71
|
+
|
72
|
+
# DSL Methods
|
73
|
+
## AUTOGENERATED - DSL methods RBS
|
74
|
+
|
75
|
+
def ajp13_sampler: (Hash[Symbol, untyped], &block) -> void
|
76
|
+
def access_log_sampler: (Hash[Symbol, untyped], &block) -> void
|
77
|
+
def aggregate_graph: (Hash[Symbol, untyped], &block) -> void
|
78
|
+
def aggregate_report: (Hash[Symbol, untyped], &block) -> void
|
79
|
+
def assertion_results: (Hash[Symbol, untyped], &block) -> void
|
80
|
+
def bsf_assertion: (Hash[Symbol, untyped], &block) -> void
|
81
|
+
def bsf_listener: (Hash[Symbol, untyped], &block) -> void
|
82
|
+
def bsf_postprocessor: (Hash[Symbol, untyped], &block) -> void
|
83
|
+
def bsf_preprocessor: (Hash[Symbol, untyped], &block) -> void
|
84
|
+
def bsf_sampler: (Hash[Symbol, untyped], &block) -> void
|
85
|
+
def bsf_timer: (Hash[Symbol, untyped], &block) -> void
|
86
|
+
def bean_shell_assertion: (Hash[Symbol, untyped], &block) -> void
|
87
|
+
def bean_shell_listener: (Hash[Symbol, untyped], &block) -> void
|
88
|
+
def bean_shell_postprocessor: (Hash[Symbol, untyped], &block) -> void
|
89
|
+
def bean_shell_preprocessor: (Hash[Symbol, untyped], &block) -> void
|
90
|
+
def bean_shell_sampler: (Hash[Symbol, untyped], &block) -> void
|
91
|
+
def bean_shell_timer: (Hash[Symbol, untyped], &block) -> void
|
92
|
+
def css_jquery_extractor: (Hash[Symbol, untyped], &block) -> void
|
93
|
+
def csv_data_set_config: (Hash[Symbol, untyped], &block) -> void
|
94
|
+
def compare_assertion: (Hash[Symbol, untyped], &block) -> void
|
95
|
+
def comparison_assertion_visualizer: (Hash[Symbol, untyped], &block) -> void
|
96
|
+
def constant_throughput_timer: (Hash[Symbol, untyped], &block) -> void
|
97
|
+
def constant_timer: (Hash[Symbol, untyped], &block) -> void
|
98
|
+
def counter: (Hash[Symbol, untyped], &block) -> void
|
99
|
+
def debug_postprocessor: (Hash[Symbol, untyped], &block) -> void
|
100
|
+
def debug_sampler: (Hash[Symbol, untyped], &block) -> void
|
101
|
+
def distribution_graphalpha: (Hash[Symbol, untyped], &block) -> void
|
102
|
+
def duration_assertion: (Hash[Symbol, untyped], &block) -> void
|
103
|
+
def ftp_request: (Hash[Symbol, untyped], &block) -> void
|
104
|
+
def ftp_request_defaults: (Hash[Symbol, untyped], &block) -> void
|
105
|
+
def for_each_controller: (Hash[Symbol, untyped], &block) -> void
|
106
|
+
def gaussian_random_timer: (Hash[Symbol, untyped], &block) -> void
|
107
|
+
def generate_summary_results: (Hash[Symbol, untyped], &block) -> void
|
108
|
+
def graph_results: (Hash[Symbol, untyped], &block) -> void
|
109
|
+
def html_assertion: (Hash[Symbol, untyped], &block) -> void
|
110
|
+
def html_link_parser: (Hash[Symbol, untyped], &block) -> void
|
111
|
+
def html_parameter_mask: (Hash[Symbol, untyped], &block) -> void
|
112
|
+
def http_authorization_manager: (Hash[Symbol, untyped], &block) -> void
|
113
|
+
def http_cache_manager: (Hash[Symbol, untyped], &block) -> void
|
114
|
+
def http_cookie_manager: (Hash[Symbol, untyped], &block) -> void
|
115
|
+
def http_header_manager: (Hash[Symbol, untyped], &block) -> void
|
116
|
+
def http_request: (Hash[Symbol, untyped], &block) -> void
|
117
|
+
def http_request_defaults: (Hash[Symbol, untyped], &block) -> void
|
118
|
+
def http_url_rewriting_modifier: (Hash[Symbol, untyped], &block) -> void
|
119
|
+
def if_controller: (Hash[Symbol, untyped], &block) -> void
|
120
|
+
def include_controller: (Hash[Symbol, untyped], &block) -> void
|
121
|
+
def jdbc_connection_configuration: (Hash[Symbol, untyped], &block) -> void
|
122
|
+
def jdbc_postprocessor: (Hash[Symbol, untyped], &block) -> void
|
123
|
+
def jdbc_preprocessor: (Hash[Symbol, untyped], &block) -> void
|
124
|
+
def jdbc_request: (Hash[Symbol, untyped], &block) -> void
|
125
|
+
def jms_pointto_point: (Hash[Symbol, untyped], &block) -> void
|
126
|
+
def jms_publisher: (Hash[Symbol, untyped], &block) -> void
|
127
|
+
def jms_subscriber: (Hash[Symbol, untyped], &block) -> void
|
128
|
+
def json_path_postprocessor: (Hash[Symbol, untyped], &block) -> void
|
129
|
+
def jsr223_assertion: (Hash[Symbol, untyped], &block) -> void
|
130
|
+
def jsr223_listener: (Hash[Symbol, untyped], &block) -> void
|
131
|
+
def jsr223_postprocessor: (Hash[Symbol, untyped], &block) -> void
|
132
|
+
def jsr223_preprocessor: (Hash[Symbol, untyped], &block) -> void
|
133
|
+
def jsr223_sampler: (Hash[Symbol, untyped], &block) -> void
|
134
|
+
def jsr223_timer: (Hash[Symbol, untyped], &block) -> void
|
135
|
+
def j_unit_request: (Hash[Symbol, untyped], &block) -> void
|
136
|
+
def java_request: (Hash[Symbol, untyped], &block) -> void
|
137
|
+
def java_request_defaults: (Hash[Symbol, untyped], &block) -> void
|
138
|
+
def keystore_configuration: (Hash[Symbol, untyped], &block) -> void
|
139
|
+
def ldap_extended_request: (Hash[Symbol, untyped], &block) -> void
|
140
|
+
def ldap_extended_request_defaults: (Hash[Symbol, untyped], &block) -> void
|
141
|
+
def ldap_request: (Hash[Symbol, untyped], &block) -> void
|
142
|
+
def ldap_request_defaults: (Hash[Symbol, untyped], &block) -> void
|
143
|
+
def login_config_element: (Hash[Symbol, untyped], &block) -> void
|
144
|
+
def loop_controller: (Hash[Symbol, untyped], &block) -> void
|
145
|
+
def md5_hex_assertion: (Hash[Symbol, untyped], &block) -> void
|
146
|
+
def mail_reader_sampler: (Hash[Symbol, untyped], &block) -> void
|
147
|
+
def mailer_visualizer: (Hash[Symbol, untyped], &block) -> void
|
148
|
+
def module_controller: (Hash[Symbol, untyped], &block) -> void
|
149
|
+
def monitor_results: (Hash[Symbol, untyped], &block) -> void
|
150
|
+
def os_process_sampler: (Hash[Symbol, untyped], &block) -> void
|
151
|
+
def once_only_controller: (Hash[Symbol, untyped], &block) -> void
|
152
|
+
def poisson_random_timer: (Hash[Symbol, untyped], &block) -> void
|
153
|
+
def random_controller: (Hash[Symbol, untyped], &block) -> void
|
154
|
+
def random_order_controller: (Hash[Symbol, untyped], &block) -> void
|
155
|
+
def random_variable: (Hash[Symbol, untyped], &block) -> void
|
156
|
+
def recording_controller: (Hash[Symbol, untyped], &block) -> void
|
157
|
+
def reg_ex_user_parameters: (Hash[Symbol, untyped], &block) -> void
|
158
|
+
def regular_expression_extractor: (Hash[Symbol, untyped], &block) -> void
|
159
|
+
def response_assertion: (Hash[Symbol, untyped], &block) -> void
|
160
|
+
def response_time_graph: (Hash[Symbol, untyped], &block) -> void
|
161
|
+
def result_status_action_handler: (Hash[Symbol, untyped], &block) -> void
|
162
|
+
def runtime_controller: (Hash[Symbol, untyped], &block) -> void
|
163
|
+
def smime_assertion: (Hash[Symbol, untyped], &block) -> void
|
164
|
+
def smtp_sampler: (Hash[Symbol, untyped], &block) -> void
|
165
|
+
def soap_xml_rpc_request: (Hash[Symbol, untyped], &block) -> void
|
166
|
+
def save_responses_to_a_file: (Hash[Symbol, untyped], &block) -> void
|
167
|
+
def simple_config_element: (Hash[Symbol, untyped], &block) -> void
|
168
|
+
def simple_controller: (Hash[Symbol, untyped], &block) -> void
|
169
|
+
def simple_data_writer: (Hash[Symbol, untyped], &block) -> void
|
170
|
+
def spline_visualizer: (Hash[Symbol, untyped], &block) -> void
|
171
|
+
def summary_report: (Hash[Symbol, untyped], &block) -> void
|
172
|
+
def switch_controller: (Hash[Symbol, untyped], &block) -> void
|
173
|
+
def synchronizing_timer: (Hash[Symbol, untyped], &block) -> void
|
174
|
+
def tcp_sampler: (Hash[Symbol, untyped], &block) -> void
|
175
|
+
def tcp_sampler_config: (Hash[Symbol, untyped], &block) -> void
|
176
|
+
def test_action: (Hash[Symbol, untyped], &block) -> void
|
177
|
+
def test_fragment: (Hash[Symbol, untyped], &block) -> void
|
178
|
+
def test_plan: (Hash[Symbol, untyped], &block) -> void
|
179
|
+
def thread_group: (Hash[Symbol, untyped], &block) -> void
|
180
|
+
def throughput_controller: (Hash[Symbol, untyped], &block) -> void
|
181
|
+
def transaction_controller: (Hash[Symbol, untyped], &block) -> void
|
182
|
+
def uniform_random_timer: (Hash[Symbol, untyped], &block) -> void
|
183
|
+
def user_defined_variables: (Hash[Symbol, untyped], &block) -> void
|
184
|
+
def user_parameters: (Hash[Symbol, untyped], &block) -> void
|
185
|
+
def view_results_in_table: (Hash[Symbol, untyped], &block) -> void
|
186
|
+
def view_results_tree: (Hash[Symbol, untyped], &block) -> void
|
187
|
+
def while_controller: (Hash[Symbol, untyped], &block) -> void
|
188
|
+
def xml_assertion: (Hash[Symbol, untyped], &block) -> void
|
189
|
+
def xml_schema_assertion: (Hash[Symbol, untyped], &block) -> void
|
190
|
+
def x_path_assertion: (Hash[Symbol, untyped], &block) -> void
|
191
|
+
def x_path_extractor: (Hash[Symbol, untyped], &block) -> void
|
192
|
+
|
193
|
+
## AUTOGENERATED - DSL methods RBS
|
194
|
+
end
|
195
|
+
end
|
data/sorbet/config
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
**/*.rbi linguist-vendored=true
|
@@ -0,0 +1,269 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This file was pulled from a central RBI files repository.
|
5
|
+
# Please run `bin/tapioca annotations` to update it.
|
6
|
+
|
7
|
+
module Rainbow
|
8
|
+
# @shim: https://github.com/sickill/rainbow/blob/master/lib/rainbow.rb#L10-L12
|
9
|
+
sig { returns(T::Boolean) }
|
10
|
+
attr_accessor :enabled
|
11
|
+
|
12
|
+
class Color
|
13
|
+
sig { returns(Symbol) }
|
14
|
+
attr_reader :ground
|
15
|
+
|
16
|
+
sig { params(ground: Symbol, values: T.any([Integer], [Integer, Integer, Integer])).returns(Color) }
|
17
|
+
def self.build(ground, values); end
|
18
|
+
|
19
|
+
sig { params(hex: String).returns([Integer, Integer, Integer]) }
|
20
|
+
def self.parse_hex_color(hex); end
|
21
|
+
|
22
|
+
class Indexed < Rainbow::Color
|
23
|
+
sig { returns(Integer) }
|
24
|
+
attr_reader :num
|
25
|
+
|
26
|
+
sig { params(ground: Symbol, num: Integer).void }
|
27
|
+
def initialize(ground, num); end
|
28
|
+
|
29
|
+
sig { returns(T::Array[Integer]) }
|
30
|
+
def codes; end
|
31
|
+
end
|
32
|
+
|
33
|
+
class Named < Rainbow::Color::Indexed
|
34
|
+
NAMES = T.let(nil, T::Hash[Symbol, Integer])
|
35
|
+
|
36
|
+
sig { params(ground: Symbol, name: Symbol).void }
|
37
|
+
def initialize(ground, name); end
|
38
|
+
|
39
|
+
sig { returns(T::Array[Symbol]) }
|
40
|
+
def self.color_names; end
|
41
|
+
|
42
|
+
sig { returns(String) }
|
43
|
+
def self.valid_names; end
|
44
|
+
end
|
45
|
+
|
46
|
+
class RGB < Rainbow::Color::Indexed
|
47
|
+
sig { returns(Integer) }
|
48
|
+
attr_reader :r, :g, :b
|
49
|
+
|
50
|
+
sig { params(ground: Symbol, values: Integer).void }
|
51
|
+
def initialize(ground, *values); end
|
52
|
+
|
53
|
+
sig { returns(T::Array[Integer]) }
|
54
|
+
def codes; end
|
55
|
+
|
56
|
+
sig { params(value: Numeric).returns(Integer) }
|
57
|
+
def self.to_ansi_domain(value); end
|
58
|
+
end
|
59
|
+
|
60
|
+
class X11Named < Rainbow::Color::RGB
|
61
|
+
include Rainbow::X11ColorNames
|
62
|
+
|
63
|
+
sig { params(ground: Symbol, name: Symbol).void }
|
64
|
+
def initialize(ground, name); end
|
65
|
+
|
66
|
+
sig { returns(T::Array[Symbol]) }
|
67
|
+
def self.color_names; end
|
68
|
+
|
69
|
+
sig { returns(String) }
|
70
|
+
def self.valid_names; end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
sig { returns(Wrapper) }
|
75
|
+
def self.global; end
|
76
|
+
|
77
|
+
sig { returns(T::Boolean) }
|
78
|
+
def self.enabled; end
|
79
|
+
|
80
|
+
sig { params(value: T::Boolean).returns(T::Boolean) }
|
81
|
+
def self.enabled=(value); end
|
82
|
+
|
83
|
+
sig { params(string: String).returns(String) }
|
84
|
+
def self.uncolor(string); end
|
85
|
+
|
86
|
+
class NullPresenter < String
|
87
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
88
|
+
def color(*values); end
|
89
|
+
|
90
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
91
|
+
def foreground(*values); end
|
92
|
+
|
93
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
94
|
+
def fg(*values); end
|
95
|
+
|
96
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
97
|
+
def background(*values); end
|
98
|
+
|
99
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
100
|
+
def bg(*values); end
|
101
|
+
|
102
|
+
sig { returns(NullPresenter) }
|
103
|
+
def reset; end
|
104
|
+
|
105
|
+
sig { returns(NullPresenter) }
|
106
|
+
def bright; end
|
107
|
+
|
108
|
+
sig { returns(NullPresenter) }
|
109
|
+
def faint; end
|
110
|
+
|
111
|
+
sig { returns(NullPresenter) }
|
112
|
+
def italic; end
|
113
|
+
|
114
|
+
sig { returns(NullPresenter) }
|
115
|
+
def underline; end
|
116
|
+
|
117
|
+
sig { returns(NullPresenter) }
|
118
|
+
def blink; end
|
119
|
+
|
120
|
+
sig { returns(NullPresenter) }
|
121
|
+
def inverse; end
|
122
|
+
|
123
|
+
sig { returns(NullPresenter) }
|
124
|
+
def hide; end
|
125
|
+
|
126
|
+
sig { returns(NullPresenter) }
|
127
|
+
def cross_out; end
|
128
|
+
|
129
|
+
sig { returns(NullPresenter) }
|
130
|
+
def black; end
|
131
|
+
|
132
|
+
sig { returns(NullPresenter) }
|
133
|
+
def red; end
|
134
|
+
|
135
|
+
sig { returns(NullPresenter) }
|
136
|
+
def green; end
|
137
|
+
|
138
|
+
sig { returns(NullPresenter) }
|
139
|
+
def yellow; end
|
140
|
+
|
141
|
+
sig { returns(NullPresenter) }
|
142
|
+
def blue; end
|
143
|
+
|
144
|
+
sig { returns(NullPresenter) }
|
145
|
+
def magenta; end
|
146
|
+
|
147
|
+
sig { returns(NullPresenter) }
|
148
|
+
def cyan; end
|
149
|
+
|
150
|
+
sig { returns(NullPresenter) }
|
151
|
+
def white; end
|
152
|
+
|
153
|
+
sig { returns(NullPresenter) }
|
154
|
+
def bold; end
|
155
|
+
|
156
|
+
sig { returns(NullPresenter) }
|
157
|
+
def dark; end
|
158
|
+
|
159
|
+
sig { returns(NullPresenter) }
|
160
|
+
def strike; end
|
161
|
+
end
|
162
|
+
|
163
|
+
class Presenter < String
|
164
|
+
TERM_EFFECTS = T.let(nil, T::Hash[Symbol, Integer])
|
165
|
+
|
166
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
167
|
+
def color(*values); end
|
168
|
+
|
169
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
170
|
+
def foreground(*values); end
|
171
|
+
|
172
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
173
|
+
def fg(*values); end
|
174
|
+
|
175
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
176
|
+
def background(*values); end
|
177
|
+
|
178
|
+
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
179
|
+
def bg(*values); end
|
180
|
+
|
181
|
+
sig { returns(Presenter) }
|
182
|
+
def reset; end
|
183
|
+
|
184
|
+
sig { returns(Presenter) }
|
185
|
+
def bright; end
|
186
|
+
|
187
|
+
sig { returns(Presenter) }
|
188
|
+
def faint; end
|
189
|
+
|
190
|
+
sig { returns(Presenter) }
|
191
|
+
def italic; end
|
192
|
+
|
193
|
+
sig { returns(Presenter) }
|
194
|
+
def underline; end
|
195
|
+
|
196
|
+
sig { returns(Presenter) }
|
197
|
+
def blink; end
|
198
|
+
|
199
|
+
sig { returns(Presenter) }
|
200
|
+
def inverse; end
|
201
|
+
|
202
|
+
sig { returns(Presenter) }
|
203
|
+
def hide; end
|
204
|
+
|
205
|
+
sig { returns(Presenter) }
|
206
|
+
def cross_out; end
|
207
|
+
|
208
|
+
sig { returns(Presenter) }
|
209
|
+
def black; end
|
210
|
+
|
211
|
+
sig { returns(Presenter) }
|
212
|
+
def red; end
|
213
|
+
|
214
|
+
sig { returns(Presenter) }
|
215
|
+
def green; end
|
216
|
+
|
217
|
+
sig { returns(Presenter) }
|
218
|
+
def yellow; end
|
219
|
+
|
220
|
+
sig { returns(Presenter) }
|
221
|
+
def blue; end
|
222
|
+
|
223
|
+
sig { returns(Presenter) }
|
224
|
+
def magenta; end
|
225
|
+
|
226
|
+
sig { returns(Presenter) }
|
227
|
+
def cyan; end
|
228
|
+
|
229
|
+
sig { returns(Presenter) }
|
230
|
+
def white; end
|
231
|
+
|
232
|
+
sig { returns(Presenter) }
|
233
|
+
def bold; end
|
234
|
+
|
235
|
+
sig { returns(Presenter) }
|
236
|
+
def dark; end
|
237
|
+
|
238
|
+
sig { returns(Presenter) }
|
239
|
+
def strike; end
|
240
|
+
end
|
241
|
+
|
242
|
+
class StringUtils
|
243
|
+
sig { params(string: String, codes: T::Array[Integer]).returns(String) }
|
244
|
+
def self.wrap_with_sgr(string, codes); end
|
245
|
+
|
246
|
+
sig { params(string: String).returns(String) }
|
247
|
+
def self.uncolor(string); end
|
248
|
+
end
|
249
|
+
|
250
|
+
VERSION = T.let(nil, String)
|
251
|
+
|
252
|
+
class Wrapper
|
253
|
+
sig { returns(T::Boolean) }
|
254
|
+
attr_accessor :enabled
|
255
|
+
|
256
|
+
sig { params(enabled: T::Boolean).void }
|
257
|
+
def initialize(enabled = true); end
|
258
|
+
|
259
|
+
sig { params(string: String).returns(T.any(Rainbow::Presenter, Rainbow::NullPresenter)) }
|
260
|
+
def wrap(string); end
|
261
|
+
end
|
262
|
+
|
263
|
+
module X11ColorNames
|
264
|
+
NAMES = T.let(nil, T::Hash[Symbol, [Integer, Integer, Integer]])
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
sig { params(string: String).returns(Rainbow::Presenter) }
|
269
|
+
def Rainbow(string); end
|
@@ -0,0 +1 @@
|
|
1
|
+
**/*.rbi linguist-generated=true
|