Open artieghosh99 opened 1 year ago
hi @artieghosh99 👋 The custom JS looks good. Can you check to make sure that the file is called send50mbTiff.js
and that it's in the same directory as the Artillery YAML script? Is the other function (logHeaders
) being called successfully?
Thanks for the response - the file is named correctly, but logHeaders is also not being called. If i change the passed file name in the script, it throws the right error telling me that file can't be found.
Hey @artieghosh99 👋 , one thing I noticed is you have a typo in your script:
afterRequest
is not a valid hook, it should be afterResponse
. Can you try changing that and seeing if the logHeaders
then gets called?
This is likely not the source of the original issue, but it may help get ahead with the debugging :).
Hi, thanks in advance for the help.
I'm trying to conduct a load test against a simple web service that processes image files. When I run the test on my local machine I see the following error: "WARNING: custom function setJSONBody could not be found.". It's totally possible that I've done something wrong, but I've tried and failed to find other documentation on this.
My config file:
my processor file: