Hello friends,
We have a set of API based automation tests, where we are calling our API. I want to run these tests with ZAP Proxy receiving the requests and their payloads, so that we can get accurate Payload to ZAP, which we can use for attacks later.
I see browser-based plugins like FoxyProxy, which allows us to pass traffic from certain sites/api to ZAP Proxy. However, my automation tests are not browser based. From java code, we are directly calling those API and verifying. What is the approach for capturing non-browser based traffic?
I tried to setup proxy in Mac by going to System Preferences -> Network. But still, ZAP Proxy is not getting the API traffic.
Thanks
Rami Reddy