Skip to content

v0.16.0

Compare
Choose a tag to compare
@jeremyandrews jeremyandrews released this 01 May 05:59
· 213 commits to main since this release

This release includes some significant changes. See tag1consulting/goose-eggs#45 for an example of how to update from 0.15.2 to 0.16.0.

0.16.0 May 1, 2022

  • #431 rename --no-granular-data to --no-granular-report
  • #415 display granular data in HTML graphs, introduce --no-granular-data to disable it and display graphs as they were until this change
  • #406 make sure that the graphs are built correctly if the load test is interrupted during the starting phase
  • #408 update 'Running the load test' page in the Goose book to show HTML report
  • #411 API change: some public APIs have been made private or removed
    o util::MovingAverage structure and all related functions have been moved to a different namespace and made private
    o GooseRequestMetricAggregate::requests_per_second, GooseRequestMetricAggregate::errors_per_second and GooseRequestMetricAggregate::average_response_time_per_second have been removed
    o GooseTaskMetricAggregate::tasks_per_second has been removed
    o GooseMetrics::users_per_second has been removed
    o formerly public methods report::task_metrics_template() and report::errors_template() have been made private
    o report::graph_rps_template(), report::graph_eps_template(), report::graph_average_response_time_template(), report::graph_users_per_second_template() and report::graph_tasks_per_second_template() have been removed
  • #379 API change: default to INFO level verbosity, introduce -q to reduce Goose verbosity
    o note: -v now sets Goose to DEBUG level verbosity which when enabled will negatively impact load test performance; set -q to restore previous level of verbosity
  • #379 API change: remove .print() which is no longer required to display metrics after a load test, disable with --no-print-metrics or GooseDefault::NoPrintMetrics
  • #422 API change: introduce --test-plan and GooseDefault::TestPlan
    o internally represent all load tests as Vec<(usize, usize)>l test plan
    o use [FromStr] to auto convert --test-plan "{users},{timespan};{users},{timespan}", where {users} must be an integer, ie "100", and {timespan} can be integer seconds or "30s", "20m", "3h", "1h30m", etc, to internal Vec<(usize, usize)> representation
    o don't allow --test-plan together with --users, --startup-time, --hatch-rate, --run-time, --no-reset-metrics, --manager and --worker
    o internal AttackPhases renamed: Starting -> Increase, Running -> Maintain, Stopping -> Decrease
  • #449 API change: rename GooseTaskSet -> Scenario, GooseTask -> Transaction, GooseTaskResult -> TransationResult, GooseTaskEror -> TransactionError, WeightedGooseTasks -> WeightedTransactions, GooseTaskFunction -> TransactionFunction, test_start_task -> test_start_transaction, test_stop_task -> test_stop_transaction, register_task -> register_transaction, task! -> transaction!, --no-task-metrics -> --no-transaction-metrics, GooseTaskError -> TransactionError
  • #450 add support for variable speed and multiple decrease AttackPhases
  • #452 API change: rename --status-codes to --no-status-codes and enable collecation and summary of status codes by default