update Umami README with task -> transaction
@@ -12,21 +12,21 @@ By default it will try and load pages from https://drupal-9.ddev.site/. Use the
The load test is split into the following files:
- `main.rs`: This file contains the main() function and defines the actual load test;
- - `common.rs`: This file contains helper functions used by the task functions;
- - `english.rs`: This file contains all task functions loading pages in English;
- - `spanish.rs`: This file contains all task functions loading pages in Spanish;
- - `admin.rs`: This file contains all task functions specific to simulating an admin user.
+ - `common.rs`: This file contains helper functions used by the transaction functions;
+ - `english.rs`: This file contains all transaction functions loading pages in English;
+ - `spanish.rs`: This file contains all transaction functions loading pages in Spanish;
+ - `admin.rs`: This file contains all transaction functions specific to simulating an admin user.
## Load Test Features
The load test defines the following users:
- - Anonymous English user: this user performs all tasks in English, it has a weight of 40, and randomly pauses for 0 to 3 seconds after each task;
- - Anonymous Spanish user: this user performs all tasks in Spanish, it has a weight of 9, and randomly pauses for 0 to 3 seconds after each task;
- - Admin user: this user logs into the website, it has a weight of 1, and randomly pauses for 3 to 10 seconds after each task.
+ - Anonymous English user: this user performs all transactions in English, it has a weight of 40, and randomly pauses for 0 to 3 seconds after each transaction;
+ - Anonymous Spanish user: this user performs all transactions in Spanish, it has a weight of 9, and randomly pauses for 0 to 3 seconds after each transaction;
+ - Admin user: this user logs into the website, it has a weight of 1, and randomly pauses for 3 to 10 seconds after each transaction.
Due to user weighting, the load test should simulate at least 50 users when it runs. If you simulate 100 users (with the `-u 100` run time option) then 80 anonymous English users, 18 anonymous Spanish users, and 2 admin users will be simulated.
-Each anonymous load test user runs the following tasks in their own language, and also loads all static elements on any pages loaded:
+Each anonymous load test user runs the following transactions in their own language, and also loads all static elements on any pages loaded:
- Loads the front page;
- Loads a "basic page";
- Loads the article listing page;
@@ -38,7 +38,7 @@ Each anonymous load test user runs the following tasks in their own language, an
- Performs a search using a random word from a random node's title;
- Submits website feedback through the contact form.
-Each admin load test user logs in one time in English, and then runs the following tasks and also loads all static elements on any pages loaded:
+Each admin load test user logs in one time in English, and then runs the following transactions and also loads all static elements on any pages loaded:
- Loads the front page;
- Loads the article listing page;
- Loads an "article", edits (not making any actual changes), and saves it (flushing all caches).
