Enabling traces in the payments simulator

Posted on 9th Nov 2017 6844 views

 

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 additional data. This will, most of the times, show raw data (binary data is dumped as hex) for better understanding what is going on, what data is actually being used.

Most importantly, enabling traces shows dumps of TCP traffic or actual data being written to files, queries do database and so on. This is to verify that you are sending the correct data.

Enabling traces is done at script level, as everything else.

 

Enabling Acquirer traces

In the Acquirer Simulator, open script "script_acquirer.js".

or in script "script_logging.js".

 

In order to activate or deactivate them, lookup, the following two lines:

setTransmissionTrace(false);
setTransmissionTraceCsv(false);


It is ideal, in test situations, to have tracing off, so you can obtain better test logs.

In order to activate TCP tracing, set the parameter to true:

setTransmissionTrace(true);
setTransmissionTraceCsv(false);

In order to activate also test case tracing, set the parameter to true:
setTransmissionTrace(true);
setTransmissionTraceCsv(true);

Enabling Issuer traces

In the Acquirer Simulator, open script "script_issuer.js".

or in script "script_logging.js".

In order to activate or deactivate them, lookup, the following two lines:

setTransmissionTrace(false);
setTransmissionTraceCsv(false);

It is ideal, in test situations, to have tracing off, so you can obtain better test logs.

In order to activate TCP tracing, set the parameter to true:

setTransmissionTrace(true);
setTransmissionTraceCsv(false);

In order to activate also test case tracing, set the parameter to true:
setTransmissionTrace(true);
setTransmissionTraceCsv(true);

 

setTransmissionTrace

setTransmissionTrace(true); enables tracing for all transmission traffic.

setTransmissionTraceCsv

setTransmissionTraceCsv(false); forces an additional checks and can disable tracing for csv messages.

This is helpful when you do not want to see communication with test data files, but you are tracing only tcp/ip data.

 

Instances tracing

Instances of the Acquirer or Issuer (or, in general, of the simulator) have their own settings, so if you have an Acquirer, Switch, Issuer, Logger setup, you need to enable tracing in each of them separately, independently.

Traces are required to be active when asking for support.

 

Are traces enabled? 

The best way to check if you have traces enabled is to look up TCP raw traffic data. Any instance of the neaPay Core, may it be a simulator (Acquirer/Issuer/Switch), a message converter, a host for devices or a card Issuer, will output TCP traffic like this to the logging system:

SYS:Out:TCPChannel:017330313030463233433436443141384530423030303030...
SYS:Client listener received:017330313030463233433436443141384530423030303030...

In the Payments Simulator UI you should see it like this:

neapay tcp traffic


LinkedIn

Docs Home ISO8583 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 162161 views

ISO8583 Response Codes for Transaction processing 64939 views

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

ISO8583 Message Types for Transaction Processing 30681 views

ISO8583 Processing Codes for Transaction Processing 30538 views

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

Run the neaPay ISO8583 simulator 20711 views

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

ISO8583 payments message format, programmers guide 18245 views

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

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

ISO8583 Message Converter JSON and XML interface specification mapping 13732 views

Cards and Banks Training 13436 views

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

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

Log Files in BASE24 classic 9617 views

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

BASE24 classic vs BASE24-eps 8582 views

BASE24 documentation to read 8458 views

Deploy the neaPay ISO8583 simulator - video guide 8429 views

BASE24 classic interview questions 8404 views

EMV explained for programmers 8015 views

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

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

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

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

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

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

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

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

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

Enabling traces in the payments simulator 6845 views

BASE24 classic screens examples explained 6845 views

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

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

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

Altering test cases in Excel for the ISO8583 simulator 6839 views

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

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

BASE24-eps interview questions 6745 views

Deploy the neaPay HSM simulator in a test environment 6622 views

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

Deploy the Payments Switch Router in a test environment 6432 views

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

Add extra custom fields to the ISO8583 simulator 5982 views

BASE24 classic cards configuration tutorial with Examples 5945 views

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

PCI compliant with neapay switch 5611 views

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

BASE24-EPS ACI DESKTOP tutorial - Getting started 5390 views

BASE24 classic prefix configuration tutorial CPF with examples 3988 views

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

ACI BASE24 classic automatic extract configuration 3586 views

BASE24 classic Institution configuration Tutorial with example 3515 views

BASE24 classic balance file configuration PBF with example 3440 views

First steps with BASE24 Classic 3290 views

POS simulator format SPDH HPDH Verifone and custom 3252 views

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

ISO8583 simulator Visa MasterCard Amex CUP configuration demo video 84 views

Contact    

Iso8583 - articles


ISO8583 Converter

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

PCI compliant with neapay switch


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

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


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

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

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

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 Simulator

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


neapay ISO8583 simualtor is designed to Support your project in all stages and has 4 modes are available: RunOne - runs only the selected Test Case; R ...
ISO8583 Simulator

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

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


Everything is working fine in the test mode, with an Acquirer and a bank host both simulated by neaPay. You want to connect your Acquirer simulator to ...
ISO8583 Simulator

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

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 ...
ISO8583 Converter

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 ...

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