Thank you. So, I tried to set up Selenium for JuiceShop using the documentation you provided after correctly configuring the paths, and now I'm encountering the following error with the Oracle Nashorn engine.
C:\Program Files\OWASP\Zed Attack Proxy>if exist "C:\Users\***\OWASP ZAP\.ZAP_JVM.properties" (set /p jvmopts= 0<"C:\Users\***\OWASP ZAP\.ZAP_JVM.properties" ) else (set jvmopts=-Xmx512m )
C:\Program Files\OWASP\Zed Attack Proxy>java -Xmx512m -jar zap-2.12.0.jar -cmd -port 8090 -autorun juiceshop-test.yaml
Job authentication set method = script
Job authentication set parameters = {script=JuiceShopAuthentication.js, scriptEngine=Oracle Nashorn}
Job verification set method = poll
Job verification set loggedInRegex = \Q{"user":{"id":\E
Job verification set pollFrequency = 60
Job verification set pollUnits = requests
Job verification set pollUrl =
http://localhost:3000/rest/user/whoami
Job verification set pollPostData =
Job sessionManagement set method = script
Job sessionManagement set parameters = {script=JuiceShopSession.js, scriptEngine=Oracle Nashorn}
Job users set name = test
Job passiveScan-config set scanOnlyInScope = true
Job passiveScan-config set enableTags = false
Job script set action = add
Job script set type = httpsender
Unrecognised parameter for job script : scriptEngine
Job script set name = JuiceShopHttpSender.js
Job script set file = JuiceShopHttpSender.js
Job script set target =
Job script set action = add
Job script set type = selenium
Unrecognised parameter for job script : scriptEngine
Job script set name = JuiceShopSelenium.js
Job script set file = JuiceShopSelenium.js
Job script set target =
Job request - check auth works set user = test
Job request - check auth works set url =
http://localhost:3000/Job request - check auth works/stats set onFail = Erreur
Job request - check auth works/stats set statistic = stats.auth.success
Job request - check auth works/stats set site =
http://localhost:3000Job request - check auth works/stats set operator = >=
Job request - check auth works/stats set value = 1
Job request - check auth works/stats set name = At least 1 successful login
Job request - check auth works/stats set type = stats
Job requestor adding test of type stats : At least 1 successful login
Job request - check auth works/stats set onFail = Erreur
Job request - check auth works/stats set statistic = stats.auth.failure
Job request - check auth works/stats set site =
http://localhost:3000Job request - check auth works/stats set operator = <=
Job request - check auth works/stats set value = 0
Job request - check auth works/stats set name = No login failures
Job request - check auth works/stats set type = stats
Job requestor adding test of type stats : No login failures
Unexpected error accessing file C:\Program Files\OWASP\Zed Attack Proxy\juiceshop-test.yaml : No such engine: Oracle Nashorn - see log for details
Cannot invoke "org.zaproxy.addon.automation.AutomationProgress.hasErrors()" because "progress" is null
Do you have any idea what could be causing the problem?