'permission denied for 'hey' snap with file request

Make a request to load test with request body from a file in 'hey', But its shows error.

Request: sudo hey -z 30s -c 5 -m POST -host ${HOSTNAME} -D ./input.json http://localhost:8080/some-enpoint

Faced Error: open ./input.json: permission denied



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source