Cargo https://www.tag1consulting.com/ en A working Gaggle in the Goose Load Testing Framework https://www.tag1consulting.com/blog/show-me-how-flock-flies-working-gaggle-goose <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>We’re going to dig into the process of a working Gaggle, so you can see how it runs, and how to deal with some of the errors you might encounter as you start working with this feature of <a href="https://github.com/tag1consulting/goose" title="Goose">Goose</a>. Goose does not currently have a UI; this example expects you to be familiar with the command line interface (CLI). This example uses one Manager and two Workers, so there are three different things going on at the same time. ### Leading the Gaggle: Starting the Manager As explained in the README for Goose, <a href="https://github.com/tag1consulting/goose/blob/master/README.md#getting-started">Cargo is the Rust package manager</a>. We're using it to run an <code>example</code> from the Goose codebase. We do this primarily because these examples are included in the Goose codebase and therefore are available to everyone for review and experimentation. When starting a Gaggle, you must start a Goose application <a href="https://github.com/tag1consulting/goose/blob/master/README.md#gaggle-manager">in Manager mode</a>. Adding the <code>--manager</code> flag isn't enough; a Manager requires other configuration. The error generated explains that the <code>--manager</code> flag expects some number of defined workers from the <code>--expect-workers</code> option: $ cargo run --example drupal_loadtest --release -- --manager Finished release [optimized] target(s) in 0.10s Running <code>target/release/examples/drupal_loadtest --manager</code> Error: InvalidOption { option: "--expect-workers", value: "0"...</p> <div class="more-link"><a href="/blog/show-me-how-flock-flies-working-gaggle-goose" class="more-link" aria-label="Read more about A working Gaggle in the Goose Load Testing Framework" hreflang="en">Read more</a></div> </div> <span><a title="View user profile." href="/user/lynette-miles">lynette@tag1co…</a></span> <span><time datetime="2020-10-22T05:33:18-07:00" title="Thursday, October 22, 2020 - 05:33">Thu, 10/22/2020 - 05:33</time> </span> Thu, 22 Oct 2020 12:33:18 +0000 lynette@tag1consulting.com 227 at https://www.tag1consulting.com