Skip to content

Commit

Permalink
Merge pull request #389 from jeremyandrews/v0.15.1
Browse files Browse the repository at this point in the history
release 0.15.1
  • Loading branch information
jeremyandrews authored Nov 19, 2021
2 parents 0f119e7 + afec6b6 commit 3fe6682
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 0.15.1-dev
## 0.15.1 November 19, 2021
- [#374](https://github.com/tag1consulting/goose/pull/374) renamed `simple-with-session.rs` to `session.rs` and `simple-closure.rs` to `closure.rs` to avoid confusion with the `simple.rs` example as they all do different things
- [#385](https://github.com/tag1consulting/goose/pull/385) properly configure `--running-metrics VALUE` when set manually
- [#382](https://github.com/tag1consulting/goose/pull/382) set client timeout to 60 seconds by default, used for all requests made; introduce `--timeout VALUE` where VALUE is seconds as integer or a float; timeout can be configured programatically using `GooseDefault::Timeout`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "goose"
version = "0.15.1-dev"
version = "0.15.1"
authors = ["Jeremy Andrews <[email protected]>"]
edition = "2018"
description = "A load testing framework inspired by Locust."
Expand Down
2 changes: 1 addition & 1 deletion src/docs/goose-book/src/controller/telnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
goose> ?
goose 0.15.0 controller commands:
goose 0.15.1 controller commands:
help (?) this help
exit (quit) exit controller
start start an idle load test
Expand Down
5 changes: 3 additions & 2 deletions src/docs/goose-book/src/getting-started/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,13 @@ cargo run --release -- -t 30m

By default, Goose displays [text-formatted metrics](metrics.md) when a load test finishes. It can also optionally write an HTML-formatted report if you enable the `--report-file <NAME>` run-time option, where `<NAME>` is an absolute or relative path to the report file to generate. Any file that already exists at the specified path will be overwritten.

HTML report includes some graphs that rely on [eCharts JavaScript library](https://echarts.apache.org). HTML report loads the library via CDN, which means that the graphs won't be loaded correctly if the CDN is not accessible.
The HTML report includes some graphs that rely on the [eCharts JavaScript library](https://echarts.apache.org). The HTML report loads the library via CDN, which means that the graphs won't be loaded correctly if the CDN is not accessible.

![Requests per second graph](rps.png)

### Example
_Write an HTML-formatted report to `report.html` when the load test finishes._

```bash
cargo run --release -- --report-file report.html
```

4 changes: 2 additions & 2 deletions src/docs/goose-book/src/getting-started/creating.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ At this point it's possible to compile all dependencies, though the resulting bi
```bash
$ cargo run
Updating crates.io index
Downloaded goose v0.15.0
Downloaded goose v0.15.1
...
Compiling goose v0.15.0
Compiling goose v0.15.1
Compiling loadtest v0.1.0 (/home/jandrews/devel/rust/loadtest)
Finished dev [unoptimized + debuginfo] target(s) in 52.97s
Running `target/debug/loadtest`
Expand Down
2 changes: 1 addition & 1 deletion src/docs/goose-book/src/getting-started/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ All 1024 users hatched.
Running: 2021-08-12 10:55:42 - 2021-08-12 11:05:09 (duration: 00:10:00)
Stopping: 2021-08-12 11:05:09 - 2021-08-12 11:05:11 (duration: 00:00:02)

goose v0.15.0
goose v0.15.1
------------------------------------------------------------------------------
```

Expand Down
Binary file added src/docs/goose-book/src/getting-started/rps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/goose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2039,7 +2039,7 @@ impl GooseUser {
/// [`reqwest::Client`](https://docs.rs/reqwest/*/reqwest/struct.Client.html):
/// - reports itself as the
/// [`user_agent`](https://docs.rs/reqwest/*/reqwest/struct.ClientBuilder.html#method.user_agent)
/// requesting web pages (ie `goose/0.15.0`);
/// requesting web pages (ie `goose/0.15.1`);
/// - [stores cookies](https://docs.rs/reqwest/*/reqwest/struct.ClientBuilder.html#method.cookie_store),
/// generally necessary if you aim to simulate logged in users;
/// - enables
Expand Down

0 comments on commit 3fe6682

Please sign in to comment.