-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse Breaking Changes, Introduce beforeTemplate
#544
Comments
Thanks @erikerikson! We will need to consider the options. Simply reversing the change runs the risk of breaking a lot of scripts out there that have come to rely on the current behavior of |
It's a tricky circumstance for sure with bad results regardless of choice. Those newer script creators may be more invested in updating them but aside from that I'd think that the size of the investment over time prior to this relatively recent change would outweigh the post-change investment. I don't have data to back that up on hand and it's clearly not my call to make. FWIW, given our prior investments, this occurrence calls to question the prudence of or stability of our investments. I personally liked the semantics of the I suppose if you are asking for recommendations on the name for a re-introduction of the old semantics, something like |
Thanks for reporting this. Had to pin previous artillery:
In order to solve this error:
|
This is still not working for me, can't add any variables to the request. Have tried @elgalu's comment above, also I've tried @galvinhsiu's fork. Nothing works. The beforeRequest is being run before the variables hence signature mismatch. |
Hi - I'm having the same issue where I have installed the aws-sigv4 plugin and added the lines in my script. However, on executing using debug mode I get '"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.\n\nThe Canonical String for this request should have been' Can anyone help me with this please? step by step instructions on how to resolve this issue as I have been struggling with this for several days. Thanks in advance |
@Lillypot please go to the https://github.com/Nordstrom/artillery-plugin-aws-sigv4 repo. The instructions there should help but it not feel free to open an issue. |
Hi @erikerikson -- yes I have used the instruction from these sites but the problem I have is that I connect via command line and assume my role and then when I run my script using debug mode I get mismatch of signatures. I have installed the plugin as per the instructions in the document link and add the plugin into the script. |
As noted in the deprecated
artillery-core
repository (and antecedent of~/core
here), the change to the ordering of templating was breaking.I recognize the importance of pre-templating customization/logic needs (it would have made
artillery-core-uuid
to produce variable values far easier to use and implement). However, it was a breaking change. Please reverse the breaking change.To maintain support for the use cases you enabled with this change, I advise adding a
beforeTemplate
hook that appropriately names the timing and facilitates those use cases.If you prefer not to retract the change, perhaps you can re-enable the ability to execute logic after templating but before request sending via a different hook.
The text was updated successfully, but these errors were encountered: