Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosborges committed Nov 4, 2021
1 parent c1507f9 commit 9434c21
Showing 4 changed files with 11 additions and 43 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -5,8 +5,6 @@ This module proposes a simple and uncomplicated way to run your load tests creat

![bp](https://raw.githubusercontent.com/marcosborges/terraform-aws-loadtest-distribuited/v0.0.7-alpha/assets/blueprint.png)

---


## Basic usage with JMeter

@@ -20,7 +18,7 @@ module "loadtest" {
executor = "jmeter"
loadtest_dir_source = "./assets"
loadtest_entrypoint = "jmeter -n -t -R \"{NODES_IPS}\" *.jmx"
nodes_size = 3
nodes_size = 2
subnet_id = data.aws_subnet.current.id
}
@@ -33,16 +31,12 @@ data "aws_subnet" "current" {
}
```

![bp](https://github.com/marcosborges/terraform-aws-loadtest-distribuited/raw/feat/bzt/assets/example-basic.png)
![bp](https://github.com/marcosborges/terraform-aws-loadtest-distribuited/raw/master/assets/example-basic.png)


![bp](https://github.com/marcosborges/terraform-aws-loadtest-distribuited/raw/feat/bzt/assets/jmeter-dashboard.png)
![bp](https://github.com/marcosborges/terraform-aws-loadtest-distribuited/raw/master/assets/jmeter-dashboard.png)





---

@@ -60,7 +54,7 @@ module "loadtest" {
executor = "bzt"
loadtest_dir_source = "./load-test-plan"
loadtest_entrypoint = "bzt -q -o execution.0.distributed=\"{NODES_IPS}\" *.yml"
nodes_size = 3
nodes_size = 2
subnet_id = data.aws_subnet.current.id
}
7 changes: 7 additions & 0 deletions examples/basic/README.md
Original file line number Diff line number Diff line change
@@ -20,4 +20,11 @@ module "loadtest-distribuited" {
}
```


![bp](https://github.com/marcosborges/terraform-aws-loadtest-distribuited/raw/master/assets/example-basic.png)


![bp](https://github.com/marcosborges/terraform-aws-loadtest-distribuited/raw/master/assets/jmeter-dashboard.png)


---
1 change: 0 additions & 1 deletion executor.tf
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@ locals {
nodes_ips = join(",",aws_instance.nodes.*.private_ip)
leader_ip = local.leader_private_ip
}

k6 = {
waiting = "#"
nodes_ips = ""
32 changes: 0 additions & 32 deletions security.tf
Original file line number Diff line number Diff line change
@@ -13,38 +13,6 @@ resource "aws_security_group" "loadtest" {
self = true
}

# ingress {
# description = "JMeter Server Port"
# from_port = 1099
# to_port = 1099
# protocol = "TCP"
# cidr_blocks = [data.aws_vpc.current.cidr_block]
# }

# ingress {
# description = "JMeter Port"
# from_port = 4445
# to_port = 4445
# protocol = "TCP"
# cidr_blocks = [data.aws_vpc.current.cidr_block]
# }

# ingress {
# description = "JMeter RMI Server Ports"
# from_port = 50000
# to_port = 50000
# protocol = "TCP"
# cidr_blocks = [data.aws_vpc.current.cidr_block]
# }

# ingress {
# description = "JMeter RMI Server Ports2"
# from_port = 60000
# to_port = 60000
# protocol = "TCP"
# cidr_blocks = [data.aws_vpc.current.cidr_block]
# }

ingress {
description = "HTTP"
from_port = 80

0 comments on commit 9434c21

Please sign in to comment.