JavaScript Response View

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.

1 Like

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).

1 Like

I am sorry but the answer does not solve the issue, it is general info