I am trying to run OWASP ZAP automatically using command line. I have tried using the API as described here, but I am getting these errors.

I have also tried with zapr, but it's also showing error as set path while I have try to set it by every possible combination.

You have any way and their steps/tutorial (link, video) so I can achieve same.


1 Answer 1


I ran into a similar issue while trying it. Not sure if you found a way to set the ZAP home path for the zapr wrapper. This worked for me:

zapr --summary --debug --zap-path $/usr/share/zaproxy/zap.sh http://localhost:3000

Not the answer you're looking for? Browse other questions tagged .