chaperon v0.3.1 Chaperon.API.OptionParser behaviour View Source
HTTP API option parser behaviour that can be implemented to customize, extend
and modify any incoming web request options to be used when scheduling new
load tests.
Is expected to return a load test configuration to be run and used by
Chaperon.Master.schedule_load_test/1
.
Link to this section Summary
Link to this section Callbacks
Link to this callback
parse_options(%{})
View Sourceparse_options(%{options: Map.t(), test: String.t()}) :: {:ok, Chaperon.LoadTest.lt_conf(), Map.t()} | {:ok, [{Chaperon.LoadTest.lt_conf(), Map.t()}]} | {:error, String.t()}