Closed PavelPolyakov closed 5 years ago
Hey! I do indeed expect it to work but I apologize if it does not. This sorta just started as a personal project. By example file I assume you mean the example I put in the repo? I will try to reproduce your issue.
@jbarabander thanks for the quick answer. I meant this piece of code: https://github.com/jbarabander/scouter#basic .
Sure thing! @PavelPolyakov looking at that basic example, it requires a targets.txt file to work. Do you have a targets file?
I did not, but I do have it right now. The result is the same. Here is the video: https://monosnap.com/file/YbvMvlyKhRXxjaxBnls2wI5Y4P6bt3 .
I'm not sure if it should throw the errors when something is not fine.
@PavelPolyakov error handling is something I will be tackling very soon especially in light of these issues. I am attempting to reproduce locally. I will get back to you shortly.
@PavelPolyakov after looking into it I believe I have found the issue. The example also seems to expect a body.json file. Try removing the .body('body.json')
portion of the command and see if then your file runs as expected.
@PavelPolyakov I will make sure to add more documentation and error handling shortly so that these kind of issues are more clear. Sorry for the confusion!
yes, without body.json
it seems to do something :) Thanks, will continue my journey tomorrow.
Thanks for the package!
You are very very welcome! :) Thanks for giving it a try!
I've just installed fresh
vegeta
andnode-vegate
. Put example into the file and executed with node - nothing happens, it just exits.vegeta version:
node version:
after I run - it just exists. Do you expect it to work?