Module: WSDirector
- Defined in:
- lib/wsdirector.rb,
lib/wsdirector/cli.rb,
lib/wsdirector/task.rb,
lib/wsdirector/utils.rb,
lib/wsdirector/client.rb,
lib/wsdirector/result.rb,
lib/wsdirector/runner.rb,
lib/wsdirector/version.rb,
lib/wsdirector/snapshot.rb,
lib/wsdirector/protocols.rb,
lib/wsdirector/ext/deep_dup.rb,
lib/wsdirector/clients_holder.rb,
lib/wsdirector/ext/formatting.rb,
lib/wsdirector/protocols/base.rb,
lib/wsdirector/results_holder.rb,
lib/wsdirector/scenario_reader.rb,
lib/wsdirector/protocols/phoenix.rb,
lib/wsdirector/protocols/action_cable.rb
Overview
Command line tool for testing websocket servers using scenarios.
Defined Under Namespace
Modules: Ext, Protocols, Utils Classes: CLI, Client, ClientsHolder, Error, Result, ResultsHolder, Runner, ScenarioReader, Snapshot, Task
Constant Summary collapse
- VERSION =
"1.1.0"
- ID2CLASS =
{ "base" => "Base", "action_cable" => "ActionCable", "phoenix" => "Phoenix" }.freeze
Class Method Summary collapse
Class Method Details
.run(scenario, scale: 1, connection_options: {}, locals: {}, **options) ⇒ Object
11 12 13 14 |
# File 'lib/wsdirector/runner.rb', line 11 def self.run(scenario, scale: 1, connection_options: {}, locals: {}, **) scenario = ScenarioReader.parse(scenario, scale:, connection_options:, locals:) Runner.new(scenario, scale:, **).execute end |