Blog Home

Enabling traces in the payments simulator

Posted on 9th Nov 2017 4453 views

ISO8583 message building traces

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

Top Read Articles


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

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

ISO8583 Response Codes for Transaction processing
25997 views

ISO8583 Message Types for Transaction Processing
17416 views

ISO8583 Processing Codes for Transaction Processing
15464 views

Run the neaPay ISO8583 simulator
15323 views

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

ISO8583 payments message format, programmers guide
13625 views

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

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

ISO8583 Message Converter JSON and XML interface specification mapping
9365 views

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

Deploy the neaPay ISO8583 simulator - video guide
6665 views

Log Files in BASE24 classic
6326 views

Cards and Banks Training
5834 views

BASE24 documentation to read
5699 views

BASE24 classic interview questions
5661 views

Performance testing at 500, 1000 and 1500 TPS
5626 views

BASE24 classic vs BASE24-eps
5607 views

Asking for defects support for the neaPay products: converter, switch, issuer, simulator
5043 views

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

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

EMV explained for programmers
4713 views

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

BASE24 classic screens examples explained
4553 views

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

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

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

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

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

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

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

Enabling traces in the payments simulator
4454 views

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

Altering test cases in Excel for the ISO8583 simulator
4451 views

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

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

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

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

Deploy the Payments Switch Router in a test environment
4370 views

BASE24-eps interview questions
4225 views

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

Deploy the neaPay HSM simulator in a test environment
4022 views

Add extra custom fields to the ISO8583 simulator
3875 views

BASE24 classic cards configuration tutorial with Examples
3441 views

BASE24-EPS ACI DESKTOP tutorial - Getting started
3147 views

Getting started with BASE24. Compiling your first TAL program
2640 views

BASE24 classic prefix configuration tutorial CPF with examples
2547 views

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

PCI compliant with neapay switch
2491 views

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

ACI BASE24 classic automatic extract configuration
2469 views

Getting started with Base24 development. TAL tutorial
2405 views

BASE24 classic interchange configuration with examples
2327 views

BASE24 classic balance file configuration PBF with example
2272 views

BASE24 classic Institution configuration Tutorial with example
2238 views

First steps with BASE24 Classic
2051 views

Base24-eps how to create journals with esbldjnl
1870 views

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

BASE24 classic External Message File configuration EMF with examples
1759 views

BASE24 classic host configuration tutorial HCF with examples
1659 views

Java version for neapay products
1022 views

POS simulator format SPDH HPDH Verifone and custom
694 views

Iso8583 - articles


Are you ready to start or need help?


Ready to start your next project with us? Give us a call or send us an email and we will get back to you as soon as possible!

Download and Use the software yourself


Download software

Read Documentation and Start guides


Get started