HOW can I enable the javascript on response view
JavaScript is automatically enabled for all responses. The JavaScript you put into โtestโ panel for each request is executed for each response, and the results are displayed as Test Results", or via the โVisualizeโ tabs for the response.
See Test Script and Visualizer in the Postman Learning Center for more.
Adding to @kinlaneโs answer, that you can utilize the visualizer in order to get JS running but thatโll require some tweaking to achieve it.
Also, I am guessing you want to enable javascript in the โPreviewโ mode, but that has been intentionally blocked due to sandbox restrictions and security concerns, so JS wonโt be executed there hence your noscript
tags will be getting displayed (if they exist).
I am sorry but the answer does not solve the issue, it is general info