Hi,
That's an error caused by your script:
ReferenceError: java is not defined
(Which means the Graal JS engine is executing your script, which
wouldn't before.)
What are you trying to do?
Note that Zest runs the scripts (regardless of the engine) in its own
context not ZAP's one, so you will not be able to do everything that can
be done when running a script directly from ZAP.
(We could change that I guess, but at the moment that's the expected
behaviour.)
Best regards.
>>>>> ZAP <
https://www.zaproxy.org/> Project leader
>>>>>
>>>>
>