Hi,
Currently, I'm using ZAP by calling its APIs to create context, filter alerts, start scans, and generate reports - everything works just fine. I'm running it through CI/CD in Docker, and it's a fully automated process.
Now, I'm exploring the switch to the automation framework but have a question regarding the implementation. In my current setup, I run a Playwright script after the alert filters step to generate traffic, and once the Playwright part is done, I continue with ZAP APIs (to scan and generate reports). So, my question is: what is the best way to achieve the same using the automation framework? Should I use the script job (standalone) to add and run the Playwright part, or should I handle it by having multiple config files that would refer to the same session if possible (run config to create the environment and filter alerts, then run Playwright, and then run the ZAP config again referencing the same session to start scans and generate reports)? Is there any other, better approach?
Thank you in advance!
Best regards,
Asmir