Hi,
(spent a couple hours before posting this question... but no clear response)

*Howto declare a specific JavaScript, and then use it ?*

e.g :
[...]
function getSomething(myParameter) {
   // code here
   return smthg;
}
[...]

/*1) Howto declare a script this script ?*/

"sebb" started to respond to this question in :
http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200810.mbox/browser
see : "/please help with a javascript error/"


/*2) Howto use/address it (and pass parameters) ?*/

"Sebb" said :

${__javascript(${SCRIPT})}
or more probably: ${__javascript(${SCRIPT}, myParameter)}

...ok, but where EXACTLY the script is defined ? And how ?


Thanks in advance
An help would be greatly appreciated
;-)


Reply via email to