-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example of usage with Taurus BZT (#13)
# Taurus Basic Configuration In its basic use it is necessary to provide information about which network will be used, where are your test plan scripts and finally define the number of nodes needed to carry out the desired load. ```hcl module "loadtest" { source = "../../" name = "nome-da-implantacao-taurus" executor = "bzt" loadtest_dir_source = "../plan/" loadtest_entrypoint = "bzt -q -o execution.0.distributed=\"{NODES_IPS}\" taurus/*.yml" nodes_size = 2 subnet_id = data.aws_subnet.current.id } data "aws_subnet" "current" { filter { name = "tag:Name" values = ["subnet-prd-a"] } } ``` ---
- Loading branch information
1 parent
cfbbc57
commit 2d8e4ee
Showing
11 changed files
with
80 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,37 @@ | ||
execution: | ||
- concurrency: 10 | ||
ramp-up: 1m | ||
hold-for: 5m | ||
scenario: quick-test | ||
- concurrency: 10 | ||
ramp-up: 1m | ||
hold-for: 5m | ||
scenario: quick-test | ||
|
||
scenarios: | ||
quick-test: | ||
#data-sources: | ||
# - path: /loadtest/data/users.csv | ||
# delimiter: ',' | ||
# quoted: true | ||
# encoding: "utf-8" | ||
# loop: true | ||
# variable-names: name,email,password | ||
# random-order: false | ||
requests: | ||
|
||
- label: Google | ||
url: https://google.com | ||
|
||
- label: Microsoft | ||
url: https://microsoft.com | ||
|
||
- label: Facebook | ||
url: https://facebook.com | ||
- label: Google | ||
url: https://google.com | ||
- label: Microsoft | ||
url: https://microsoft.com | ||
- label: Facebook | ||
url: https://facebook.com | ||
properties: | ||
server.rmi.ssl.disable: true | ||
|
||
modules: | ||
jmeter: | ||
gui: false | ||
version: 5.4.1 | ||
properties: | ||
mode: StrippedBatch | ||
memory-xmx: 10G | ||
cmdline: -l /loadtest/logs -e -o /var/www/html/taurus | ||
|
||
settings: | ||
verbose: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,9 +45,3 @@ resource "aws_instance" "leader" { | |
} | ||
) | ||
} | ||
|
||
|
||
resource "null_resource" "push_key_pair_to_leader" { | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters