-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): set nontemplated url as req name by default in metrics (#3264
- Loading branch information
1 parent
1f6e1c6
commit 5a01e36
Showing
6 changed files
with
263 additions
and
25 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
18 changes: 18 additions & 0 deletions
18
packages/artillery-plugin-metrics-by-endpoint/test/fixtures/scenario-templated-url.yml
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
config: | ||
target: http://asciiart.artillery.io:8080 | ||
phases: | ||
- duration: 2 | ||
arrivalRate: 2 | ||
plugins: | ||
metrics-by-endpoint: | ||
stripQueryString: true | ||
|
||
scenarios: | ||
- flow: | ||
- get: | ||
url: "/dino/{{ $randomString() }}?potato=1&tomato=2" | ||
name: "GET /dino" | ||
- get: | ||
url: "/armadillo/{{ $randomString() }}" | ||
- get: | ||
url: "/pony" |
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
Oops, something went wrong.