There has been some interest in jPOS-Users mailing list regarding how to setup the Client Simulator module from jPOS-EE.
I’ll show you here how to use it using the jPOS-template.
git clone https://github.com/jpos/jPOS-template.git or download a copy of it.
Let’s call it ‘clientsimulator’. After renaming it,
Add a line inside the dependencies block
compile group:'org.jpos.ee', name:'jposee-client-simulator', version:'2.2.1-SNAPSHOT'
Please note when I say
gradle, you can either use your locally installed
gradle, or the
gradlew wrapper available in the jPOS template that you just downloaded.
This will copy some sample client simulator configuration from the client-simulator.jar to your local
After running that, you’ll see a few new files in
- 25_clientsimulator_ui.xml # remove it if you’re running headless
- echo_s and echo_r in the
As an alternative, you can navigate to your
build/install/clientsimulator directory and call
bin\q2.bat if you’re on Windows).
As next step, you can edit your
src/dist/deploy/10_clientsimulator.xml file and change it to use your selected packager.