HI Simon,
Thank you for you guidance. Yes my main aim is to include many "openapi" jobs in an AF plan and create one single report. Also I really appreciate for providing me with the script, it will give some heads-up to achieve my goal.
however, currently I'm running ZAP from command line:
java %jvmopts% -jar zap-2.12.0.jar -port 8090 -silent
-openapifile /Users/xxxxx/Downloads/yyyy.openapi.yaml
-openapifile /Users/xxxxx/Downloads/bbb.openapi.yaml ^
-config
script.scripts.name="Authentication" ^
-config script.scripts.engine="Graal.js" ^
-config script.scripts.type=httpsender ^
-config script.scripts.enabled=true ^
-config script.scripts.file="C:\Users\xxxxx\OWASP ZAP\scripts\scripts\httpsender\Authentication.js" ^
-config reports.template="modern" ^
-quickurl
https://pxxxxxxxx -quickout /Users/xxxxxx/Desktop/myresult.html -quickprogress -cmd
and in my terminal, I can see some error:
1688338408210 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of 'abcabcabc'.
1688338408526 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of '
abcabcabc '.
1688338408863 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of '
abcabcabc '.
JavaScript error: , line 0: NotSupportedError: Window protocol 'NetError' doesn't match uri
https://pxxxxxxxx /yyyy/zzzz/login?loginFailed=true?1688338410702 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of '
abcabcabc '.
1688338410757 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of '
abcabcabc '.
1688338410814 Marionette WARN Ignoring event 'pageshow' because document has an invalid readyState of '
abcabcabc '.
Could please enlighten me for the above error and is something related to ZAP or the Script I have configured.