zapproxy cmd line > How to add some custom rate-limit options ?

65 views
Skip to first unread message

Brice

unread,
Jun 30, 2025, 7:59:28 AM6/30/25
to ZAP User Group
Hi all
I'm new to zapproxy (2.16.1), and I'm using it in command line like this :
 ./zap.sh -cmd -quickurl https://www.example.fr -quickout /tmp/zap_exemple.md

related doc is : 

Now I reach 429 for my target and I would like to apply some kind of rate limits
According to "network addon", doc https://www.zaproxy.org/docs/desktop/addons/network/options/ratelimit/ , it seems possible to do that per rule and per host
But I didnt find the way to inject a proper additionnal configuration options to command line to do that.

Is it possible to point me the right doc ? 
or else (it would be great to improve it :p) 
then show me a quick sample on how to  use quickurl option and using a rate limite of max 5 request per second for "example.fr" host

Best regards

It w
Message has been deleted

Simon Bennetts

unread,
Jul 1, 2025, 11:23:12 AM7/1/25
to ZAP User Group
The quick start command line option is _very_ limited.
Normally if you want more flexibility then I'd recommend the Automation Framework, but that doesnt support rate limiting directly yet either :/

Right now your best option to support rate limiting is via the "config" options.
They are not officially documented but we do provide a FAQ to help you work out what values to use: https://www.zaproxy.org/faq/how-do-you-find-out-what-key-to-use-to-set-a-config-value-on-the-command-line/

Cheers,

Simon
Reply all
Reply to author
Forward
0 new messages