Execute JavaScript
Note: Please follow ES5.1 syntax, Rules, and Functions for writing javascript code.Contents
Math operation
var executeJs = function(response,headers){ var x = 10; var y = 20; var z = x * y; return z; }200.0var executeJs = function(response,headers){ var x = 10; var y = 20; var z = x * y; return z.toFixed(0); }200var executeJs = function(response,headers){ //your JavaScript code here }var testing= function(test1, test2, test3){ //your JavaScript code here } var myJsFunction= function(){ //your JavaScript code here }
String operation
Using Json paths
Math operation input :
String operation input :
Steps to test Execute JavaScript:



Code
Related topics
Last updated