Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
Layer7 API Management
Private Community
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
JS Functions list for the "Execute JavaScript assertion"?
Jump to
Best Answer
Yeswin Raj
Jul 09, 2019 02:44 PM
Does anyone have the list of JS functions which can used in the "Execute JavaScript" assertions? ------------------------------ ...
Leandro Dantas
Jul 16, 2019 10:16 AM
Best Answer
Hi. Since Gateway 9.4 uses JDK Nashorn engine configured as ECMAScript 5, with Java and extensions disabled. ...
1.
JS Functions list for the "Execute JavaScript assertion"?
0
Recommend
Yeswin Raj
Posted Jul 09, 2019 02:44 PM
Reply
Reply Privately
Options Dropdown
Does anyone have the list of JS functions which can used in the "Execute JavaScript" assertions?
------------------------------
Regards,
Yeswin
------------------------------
2.
RE: JS Functions list for the "Execute JavaScript assertion"?
Best Answer
2
Recommend
Leandro Dantas
Posted Jul 16, 2019 10:16 AM
Reply
Reply Privately
Options Dropdown
Hi. Since Gateway 9.4 uses JDK Nashorn engine configured as ECMAScript 5, with Java and extensions disabled.
It supports most ECMAScript5 built in functions and objects. Follow some documentation:
https://es5.github.io/
While Nashorn runs ECMA-compliant JavaScript, it is important to note that objects normally accessible in a web browser are not available, for example, console, window, and so on. More on Nashorn and how to test it on command line
https://www.oracle.com/technetwork/articles/java/jf14-nashorn-2126515.html
------------------------------
Sr. Consultant Services
HCL Enterprise Studio
------------------------------
Original Message
Original Message:
Sent: 07-09-2019 02:43 PM
From: Yeswin Raj
Subject: JS Functions list for the "Execute JavaScript assertion"?
Does anyone have the list of JS functions which can used in the "Execute JavaScript" assertions?
------------------------------
Regards,
Yeswin
------------------------------
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic