We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 747b32c + ea62d7f commit 97d471cCopy full SHA for 97d471c
src/Plugin.php
@@ -48,6 +48,10 @@ public function handleArguments(array $arguments): array
48
$run = stress($domain);
49
50
foreach ($arguments as $argument) {
51
+ if (str_starts_with($argument, '--headers=')) {
52
+ $run->headers($this->extractPayload('headers', $argument));
53
+ }
54
+
55
if (str_starts_with($argument, '--duration=')) {
56
$run->duration((int) str_replace('--duration=', '', $argument));
57
}
0 commit comments