nexl server hosts JavaScript files and exposes them via HTTP protocol.
JavaScript files contain JavaScript variables.
Arguments allow temporarily attach new ( or override existing )
JavaScript variables to JavaScript file via HTTP request to nexl server.
Arguments are just query string
key=value pairs in HTTP request.
To provide arguments in nexl application click on "Arguments" button or press
F8 ( see screenshot and explanation
here
).
The URL located under the nexl expression field is automatically updated according
to arguments you are entering in "Arguments" dialog window:
http://localhost:8080/myConf.js?expression=${test}&length=100&brand=X
Here the
length=100 and
brand=X
are arguments. They reflect as JavaScript string variables in the
myConf.js file.
If the
myConf.js file contains those variables
their values will be overridden.
If this file doesn't contain them they will be attached to the file.
File will remain unchanged, this action is stateless and affects only for the HTTP
request.