-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Run beforeRequest hooks before templating request params
This change allows beforeRequest hooks to create context vars, which will then be used in the templates of the current request as expected.
- Loading branch information
Showing
1 changed file
with
65 additions
and
66 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
405b78e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Hassy. This change broke plugins such as artillery-plugin-aws-sigv4 which expects the template logic to have replaced variables so that it can sign the request using the final url.
Are there affordances for running code after template execution? If not, ideas?
Ref: Nordstrom/artillery-plugin-aws-sigv4#13