The NDM Simulator is recommended to be run on a Linux/Unix based operating system. E.g.
It's possible to run the NDM Simulator on Windows. However, you will have to write your own scripts to control (i.e. start/stop) the NDM Simulator instance. Alternatively you can install Bash and additional tools (rm, dirname, tail, less) on Windows (e.g. via Cygwin) to run the 3dsdemoctl script shipped with the NDM Simulator.
Unzip the NDM Simulator package (ndm-simulator-<version>.zip) to a directory of your choice.
This will create the following directory structure rooted at $NDM_SIMULATOR_HOME:
Directory structure ------------------- $NDM_SIMULATOR_HOME/ <-- The unzipped directory contained in the ndm-simulator-package zip file (ndm-simulator-package-<version>). | +-- docs/ <-- Netcetera NDM Simulator documentation | | | | +-- ... | | | +-- bin/ | | | +-- 3dsdemoctl.sh <-- Script to start/stop Netcetera Demo Merchant Simulator. | +-- conf/ <-- Sample (default) configurations used by the 3dsdemoctl script and the Netcetera Demo Merchant Simulator application. | | | +-- application.properties <-- Sample configuration settings | | | +-- cardholder-numbers-simulated-message-types.properties <- Netcetera Demo Merchant Simulator configuration settings | | | +-- simulated-card-range-data.properties <- Netcetera Demo Merchant Simulator configuration for simulated card range data | | | +-- simulated-otp-responses.properties <- Netcetera Demo Merchant Simulator configuration for simulated Result Request depending on OTP input | +-- lib/ <-- The Netcetera Demo Merchant Simulator jar file. | | | +-- ndm-simulator.jar | | ------------------- |
In order to configure the NDM Simulator, set the configuration properties in the $NDM_SIMULATOR_HOME/conf/application.properties. For details on the available configuration properties consult the NDM Simulator Configuration Properties documentation.
You can start the NDM Simulator using the 3dsdemoctl script:
$ $NDM_SIMULATOR_HOME/bin/3dsdemoctl.sh -c $NDM_SIMULATOR_CONFIG_HOME start
Optionally, java parameters can be passed.
Similarly you can stop the NDM Simulator using the following command:
$ $NDM_SIMULATOR_HOME/bin/3dsdemoctl.sh stop