Execution of JavaScript Response Handler Failed: Cannot find engine to execute JavaScript.

Was trying out http client finally and was testing out the response object I get

Execution of JavaScript Response Handler Failed: Cannot find engine to execute JavaScript.

I've selected various javascript engines from the settings dialog under languages and frameworks

I added the project directory and select ECMA 5.1 invalidated caches and restarted and still the same message.

Built a couple of new projects, tried with and without setting the folder

I must be missing something simple, critcal, and in a fully featured project like this, somewhere subtle.

This is the new 2019.1

 

Oh, and if you are curious, in the end I whittled it down to this

 

> {%

client.log("wth")

%}
1 comment
Hi Andrew, Unfortunately, JDK 11 has Nashhorn, so you'll only be able to use response handler scripts when running PyCharm on JDK 8. https://youtrack.jetbrains.com/issue/WI-45704
0

Please sign in to leave a comment.