MashZone NextGen 10.2 | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Mashup Utilities | Testing Mashup Scripts from the Command Line
 
Testing Mashup Scripts from the Command Line
All of the component mashables you invoke in a mashup script must be registered and activated in MashZone NextGen to successfully test the mashup.
* To test a mashup script from the command line
1. Open a command window and move to the MashZoneNG-install/prestocli/bin folder.
Tip: You may wish to put a copy of the mashup script in this directory to simplify paths.
2. Enter the emml command in this form:
emml -f mashup-script-file-name -u user-name -p password [-D params - url presto-url -V -silent]
*Use your user name and password for MashZone NextGen.
*Use the -D option to specify any input parameters for the mashup. Enter parameters as:
-Dparam-name=value [-D...]
*The URL is optional. It defaults to http://localhost:app-server-port/mashzone/edge/api where app-server-port is the port you defined during installation.
Use the -url option, if you need to test this mashup on a remote server or the default host or port is incorrect.
*Use the -V option if you only want to validate your mashup script. This option does not actually execute the mashup.
*Use the -silent option to skip the output from any <display> statements.
The mashup script is processed. Any debugging messages in <display> statements will display in the command window in addition to being logged.
Note: Occasionally you may see an error message Invalid parameter Q when you test mashup scripts. This error has no effect on processing and can safely be ignored.
You can also receive errors that must be corrected if the names of the mashables that are invokved within the mashup script are not valid for the MashZone NextGen Server used in the test.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release