Run the neaPay ISO8583 converter to JSON, XML, SQL, in a test environment

Posted on 25th Jan 2019 7030 views

Once you have received and successfully downloaded your ISO8583 converter from neaPay, deploy and run is easy: use/deploy java 8; unpack delivered converter; start converter; start client simulator; run transaction and check response

Running transaction with the neaPay ISO8583 converter is as easy as running the simulator.

In test mode, you can enable the User Interface and you can do everything by mouse click.

Go to the deployment folder where you have unpacked your converter and make sure you have converter_ISO8583_JSON_XML_SQL_PRO

 

If you use a simulator, then you need to also have an instance of simulator_ACQUIRER_ISO8583_client_PRO

 

If you are using your locally installed java, make sure you have Oracle Java 8 installed. If you want to use our version download from here java 8 and place it next to the simulator and converter https://neapay.com/download.html . The folder will be named jre1.8

Your deployment folder should look like this:

jre1.8
simulator_ACQUIRER_ISO8583_client_PRO
converter_ISO8583_JSON_XML_SQL_PRO

 



Run in test mode

Go into the converter folder and execute start_neaPay.bat. For MAC and Linux use start_neaPay.sh. A new window called ISO8583 Converter will start. If you are using local java, adapt your startup script to point to the java location bin directory. Example below for windows

 ..jre1.8binjava -jar neaPayCorePro.jar 

 

If you are in console mode, the converter starts automatically. If you are in window mode, press the Start button at the top left of the converter (Green Play button) and wait until the Console shows a message ISS: Issuer starting, TCP Server startingYour Issuer/Converter has started. 

07:34:42:433:CNV: Converter starting, TCP Server starting
07:34:42:454:SYS:21/Server connection started on port:9009
07:34:42:454:SYS:Server Connections started:TCPChannel
07:34:42:456:
07:34:42:458:CNV: Start an ISO8583 Acquirer simulator [ neapay.com/iso8583simulator.html ] and connect it to port 9009
07:34:42:459:CNV: Waiting for incoming ISO8583 messages on port 9009
07:34:42:460:CNV: Converted HTTP JSON messages are sent to URL HOST :https://neapay.com/api/rest-host/

 

Start the neapay simulator for incoming ISO8583 messages. https://neapay.com/post/run-iso8583-simulator_7.html

Check the Issuer/Converter that it has accepted the connection "Server socket accepted on port ..."

 

Select a transaction from Acquirer simulator Transactions List and click the Send button.

Check the Acquirer Console that an ISO8583 message has been built and sent to the server.

Check the Converter logs that it has parsed the message successfully and built a response.

Check the Acquirer ISO8583 simulator that it has received the response.

Check the Acquirer test case results: 

ACQ: ************************** TEST PASS ************************** 
ACQ: RC Received:00 RC Expected:00 
ACQ: Tests Executed:1 
ACQ: Tests Passed :1 
ACQ: Tests Failed :0 
Congratulations! You have successfully simulated your first transaction with your converter!

If you manged to come this far, you are ready to continue to configure your converter to match your own specification or to do a test run for production, in Docker.

Run in Production

Docker 

For running in production we reccomend running the converter in headless mode inside a container.

Headless mode is achieved by disabling the UI in config.properties. If you add this line, you will disable the UI.

gui.disabled=true

By default the converter comes with a Dockerfile and also with a configuration parameter to switch off the UI.

Automatically all output goes to standard out, where it is captured by the container.

Cloud providers usually have solutions for these los, storage or export to data lake analytics.

 

Deploy with Docker to Test

1. Install docker.

Docker DESKTOP

Platformx86_64
Docker Desktop for Mac (macOS) yes
Docker Desktop for Windows (Microsoft Windows 10)

  

Deploy with Docker to Production

 

Step 0. Install tools.

Install unzip

sudo yum install unzip

unzip -v

Docker SERVER
Platformx86_64 / amd64ARMARM64 / AARCH64IBM Power (ppc64le)IBM Z (s390x)
CentOS yes   yes    
Debian yes yes yes    
Fedora yes   yes    
Ubuntu yes

yes

yes yes yes

Step 1. Deploy delivery

While on the VM, execute first OR second command, edit to match your delivery link:

wget -O /tmp/neapay_delivery.zip 'https://link_neapay_delivery.zip'

curl -o /tmp/neapay_delivery.zip 'https://link_neapay_delivery.zip'

Step 2. Unpack delivery to location

Assume the delivery is a zip file called neapay_delivery.zip. You need to unpack this

mkdir ~/neapay/

unzip /tmp/neapay_delivery.zip -d ~/neapay/

Step 3. Run server or several servers

Assume the converter was delivered in a folder called "neapayconverter". All you need to do is execute the script that starts it with Docker. 

cd ~/neapay/neapayconverter

./start_neaPay_Docker.sh

If you have several converters, you either have a composer file or you need to start manually each of the converters

cd ~/neapay/neapayconverter2

./start_neaPay_Docker.sh

The same package can be deployed to the test environment. So it is likely that teh delivery also contains other folders, for example simulators for triggering transactions or web servers in case the converter converts to a web host format. 

They get unpacked anyway. Do not start them, they are not needed. If you do though, nothing bad will happen

Step 4. Redeploys, changes

In case of a redeploy, the procedure can be repeated from start

In case of a configuration change, the script "start_neaPay_Docker.sh" can be run again.

The script will automatically find the running container, kill it, remove it, then find the image, remove it, rebuild a new container, and start it. No need to take care of anything about that.&nbsp

Step 5. Container Logs

Run the following command to see the logs of the converter that is called "neapayconverter"

docker logs neapayconverter

If you do not know how your running container is called, run the following command to see running containers

docker ps

Logging options

The converter by default runs in several ways and logging options are available for all.

1. Standalone on windows. Ideal for test situations.

The logs are displayed in standard to the UI console, if activated, or to standard out, if UI is disabled. 

Enhanced logs below can be generated.

2. Standalone on Mac or Linux. This can apply to Test or Production situations

The logs are displayed in standard to the UI console, if activated, or to standard out, if UI is disabled. 

Enhanced logs below can be generated.

UI mode is not suitable for production situations.

3. Container on any platform

All output to system.out

Enhanced logs below can be generated.

Enhanced logs generated automatically

Options to generate HTML or CSV reports are available, as well as sending transactions live (real-time) to another ISO8583 host (warehouse), SQL database or a HTTP host.


LinkedIn

Docs Home ISO8583 Simulator Simulator Tutorials ISO8583 Converter Cards Issuer BASE24 Base24-eps Reference Guide ISO8583 Switch HSM Simulator POS Simulator Products


Top Read Articles


BIN List & Range for MasterCard, Visa, Amex, Diners, Discover, JCB, CUP 165544 views

ISO8583 Response Codes for Transaction processing 67224 views

Read smart card chip data with APDU commands ISO 7816 63815 views

ISO8583 Processing Codes for Transaction Processing 31397 views

ISO8583 Message Types for Transaction Processing 31375 views

Deploy, run and generate with neaPay Card Data Generator 21439 views

MCC Codes - Merchant Category Codes to use in ISO8583 Field 18 20986 views

Run the neaPay ISO8583 simulator 20908 views

ISO8583 payments message format, programmers guide 18436 views

ISO8583 message: The list of ISO 4217 currency codes for data elements 49 and 52 17582 views

ISO8583 ATM POS Crypto API integration with exchanges like Coinbase or Binance 17060 views

ISO8583 Message Converter JSON and XML interface specification mapping 14009 views

Cards and Banks Training 13627 views

Java version for neapay products Simulator Converter Switch Authorization Cards Issuer 10696 views

Support for the neaPay products: Authorization, Switch, Converter, Simulator, Issuer 10119 views

Log Files in BASE24 classic 9826 views

Create a new test case in the neaPay ISO8583 simulator Video guide 9092 views

BASE24 classic vs BASE24-eps 8785 views

BASE24 documentation to read 8629 views

BASE24 classic interview questions 8559 views

Deploy the neaPay ISO8583 simulator - video guide 8499 views

EMV explained for programmers 8190 views

ISO8583 Simulator neapay- Performance testing at 500, 1000 and 1500 Transactions per second 8114 views

ISO8583 converter to JSON XML SQL to HTTP host - message flow - video guide - Part.2 7774 views

ISO8583 converter to JSON XML SQL to HTTP Host - host unavailable - video guide- Part.3 7299 views

Adding your own card to the Payments simulator to test your system 7146 views

ISO8583 converter to JSON XML SQL to HTTP host - start& run - video guide - Part.1 7146 views

Card readers supported by neaPay payments simulator, CHIP and NFC 7073 views

Changing fields definitions in the ISO8583 simulator and message converter 7057 views

Connect the neaPay ISO8583 Acquirer simulator to your own host or Issuer 7031 views

Run the neaPay ISO8583 converter to JSON, XML, SQL, in a test environment 7031 views

BASE24 classic screens examples explained 7021 views

Run One, Run Scenario, Run All, Run Load in the neaPay ISO8583 Simulator - Use guide 6975 views

Load Test enabling and performance testing at 1TPS and 100TPS 6973 views

Sample Recommended design for an Acquirer test cases suite, Scenarios and Regression 6966 views

Enabling traces in the payments simulator 6959 views

How the fingerprint reader works in the ISO8583 payments simulator 6951 views

Altering test cases in Excel for the ISO8583 simulator 6944 views

Deploy the neaPay ISO8583 Payments converter in a test environment 6940 views

BASE24-eps interview questions 6881 views

Deploy the neaPay HSM simulator in a test environment 6798 views

Regression Testing in 1 click with instant Analytics and CSV report 6656 views

Deploy the Payments Switch Router in a test environment 6538 views

BASE24 classic ATM configuration Tutorial in ATD and XPNET with examples 6242 views

Add extra custom fields to the ISO8583 simulator 6150 views

BASE24 classic cards configuration tutorial with Examples 6140 views

Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer 6117 views

PCI compliant with neapay switch 5728 views

ISO8583 Message Converter to XML SQL CSV interface specification mapping 5691 views

BASE24-EPS ACI DESKTOP tutorial - Getting started 5525 views

BASE24 classic prefix configuration tutorial CPF with examples 4092 views

BASE24 classic tracing of transactions. Audits, configuration, enabling and opening 3951 views

ACI BASE24 classic automatic extract configuration 3645 views

BASE24 classic Institution configuration Tutorial with example 3609 views

BASE24 classic balance file configuration PBF with example 3522 views

POS simulator format SPDH HPDH Verifone and custom 3469 views

First steps with BASE24 Classic 3369 views

Getting started with using Prognosis for BASE24 and BASE24-eps 3088 views

ISO8583 simulator Visa MasterCard Amex CUP configuration demo video 315 views

Swift Message Structure ISO 15022 and ISO 20022 73 views

ISO8583 simulator scheduling tasks and test regressions 73 views

SWIFT Message types complete list reference 72 views

POS Transaction types explained 67 views

SWIFT Common Message Type List with examples 64 views

Contact    

Iso8583 - articles


ISO8583 Simulator   73 views

ISO8583 simulator scheduling tasks and test regressions


The neaPay ISO8583 simulator improves automated testing with full capabilities for scheduling minutely message exchanges, duration tests, nightly or w ...
ISO8583 Converter   5691 views

ISO8583 Message Converter to XML SQL CSV interface specification mapping


ISO8583 Converter creating an XML,  SQL and CSV object from an incoming TCP/IP ISO8583 binary message, and then sending it to a HTTP host as ...
ISO8583 Switch   5728 views

PCI compliant with neapay switch


PCI compliant with neapay switch Steps and procedure: Configuration parameters to acheive service PCI DSS compliance   ...
Products   6117 views

Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer


Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer ...
ISO8583 Simulator   6150 views

Add extra custom fields to the ISO8583 simulator


Adding extra, custom fields to the ISO8583 simulator in 3 simple steps is as easy as running the tests: Edit the spreadsheet and save it; Edit th ...
ISO8583 Switch   6538 views

Deploy the Payments Switch Router in a test environment


Deploy then neaPay Payments switch router to easily route transactions based on BIN/prefix, amount, merchant, originating or destination insytitution, ...
ISO8583 Simulator   6656 views

Regression Testing in 1 click with instant Analytics and CSV report


The neaPay Payments simulator is designed from the start to follow the life of a project, and therefore, after all testing has been completed, we need ...
ISO8583 Converter   6940 views

Deploy the neaPay ISO8583 Payments converter in a test environment


When you receive a delivery from neaPay for an iso8583 convertor, you will get 1 zip file.  This step by step guide will guide you through ...
ISO8583 Simulator   6944 views

Altering test cases in Excel for the ISO8583 simulator


When you need to customize your own test case, you need to follow some simple steps all the time.In order to obtain this, you need to alter test data ...
ISO8583 Simulator   6951 views

How the fingerprint reader works in the ISO8583 payments simulator


Step by step guide to enable and disable fingerprint reading, enrollment and verification with the neapay Simulator is pretty straight forward and ass ...
ISO8583 Simulator   6959 views

Enabling traces in the payments simulator


Enabling traces in the ISO8583 Payments Simulator, just like the ISO8583 message converter and the ISO8583 Host, is a call to the system core to write ...
ISO8583 Simulator   6966 views

Sample Recommended design for an Acquirer test cases suite, Scenarios and Regression


A test suit is composed of different scenarios which follow in a functional (or another) way in order to cover the full, or as much as possible, of th ...

Choose the product you need



ISO8583 Converter

Convert ISO8583 to JSON XML SQL


ISO8583 Interface

ISO8583 Interface Handler


ISO20022 Converter

Convert ISO20022 to ISO8583 ...


ISO8583 Builder

Build ISO8583 from scratch


ISO8583 Switch

ISO8583 Router by criteria


ISO8583 Authorization

Authorize cards and ledger


Payments Acquirer

Acquiring host from devices


Cards Issuing

Generate and issue cards


ISO8583 Simulator

ISO8583 HISO98 HISO87 simulator


ISO20022 Simulator

ISO20022 & SWIFT simulator


POS Simulator

POS protocols simulator


Web Api Simulator

Web API tester Performance

 

Get a free quote, Ask for details
Get help

Contact us

Try the software yourself
Download

Download software

Read Documentation and Start guides

Documentation

Online Tools Overview

Online Tools