diff --git a/vegeta_test.go b/vegeta_test.go index 24e776b..a9493d3 100644 --- a/vegeta_test.go +++ b/vegeta_test.go @@ -3,5 +3,20 @@ package bluma import "testing" func TestAttack(t *testing.T) { - + t.Run("Attack", func(t *testing.T) { + atk := Attacker{ + path: Path{ + path: "http://localhost:8080/health", + method: []Method{ + { + method: "GET", + }, + }, + }, + methodIndex: 0, + frequency: 10, + duration: 1, + } + atk.Attack() + }) }