Thanks Simon. Can we use the GraalVM engines for the same scripts?
When I am trying to use the httpSender scripts for API scanning (Alert_on_Unexpected_Content_Types.js) and use "EMCAscript: Graal.js" script engine to execute them, I am getting the following error in console:
java.lang.IllegalStateException: Multi threaded access requested by thread Thread[ZAP-ActiveScanner-1,3,main] but is not allowed for language(s) js.
The error gets fixed when I choose "EMCAScript: Oracle Nashorn"
Thanks,
Kamalpreet