Skip to content

Commit

Permalink
Update stress-testing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Nov 27, 2023
1 parent 6716485 commit f94664d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions stress-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,12 @@ The concurrency value represents the number of concurrent requests that will be

You may want to be mindful of the number of concurrent requests you configure. If you configure too many concurrent requests, you may overwhelm your application, server or hit rate limits / firewalls.

If you want to specify the http method used for the stress test, you can use the provided `get` and `post` options.

```bash
./vendor/bin/pest stress example.com --get
```

or
If you want to specify the http method used for the stress test, you can use the provided `get` and `post` options. Using the `--post` option, you can specify as argument the payload to be used in the requests:

```bash
./vendor/bin/pest stress example --post='{"name": "Nuno"}'
```

Using the `--post` option, you can specify as argument the payload to be used in the requests.

Once the stress test is completed, Pest will display a summary of the stress test result.

<a name="the-stress-function"></a>
Expand Down

0 comments on commit f94664d

Please sign in to comment.