Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Before/AfterResponse Hooks not triggering #5

Open
ChappieG opened this issue Dec 16, 2019 · 0 comments
Open

Before/AfterResponse Hooks not triggering #5

ChappieG opened this issue Dec 16, 2019 · 0 comments

Comments

@ChappieG
Copy link

I have been attempting to implement the beforeRequest and afterRequest hooks into my test suite however they have not been triggering. I have implement the hooks exactly as you have in your unit test.

{ "config": { "target": "my_lambda_name", "lambda": { "region": "eu-west-2" }, "plugins": { "cloudwatch": { "namespace": "namespace" } }, "processor": "../../functions.js", "engines": { "lambda": {} }, "phases": [{ "arrivalRate": "10", "duration": "10" }] }, "scenarios": [{ "name": "Invoke Archive function", "engine": "lambda", "beforeResponse": "beforeResponse", "afterResponse": "AfterResponse", "flow": [{ "invoke": { "logType": "Tail", "invocationType": "Event", "payload": { "param1": "testdata", "param2": "testdata" } } } ] }] }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant