Amadis

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

In some debugging situations, it may be useful to be able to replay an EMV transaction without having the corresponding card. Replaying a transaction requires a specific GPI/DEVICE implementation. Make sure that your AVT uses that specific a GPI/DEVICE_REPLAY library having the exact same interface version as GPI/DEVICE_PCSC

Procedure to replay a transaction from ACE:

  a) From ACE, run a transaction with an actual device. Enable all traces, including APDU log
  b) From ACE, do an export
  c) Unzip the export file, and spot the signal file (signals.txt)
  d) In the AVT running directory, copy the signals.txt file, and rename it starting with "CL-" (example: "CL-replay"):
  c) From the AVT/agnos.ini file:
      - Set Replay = yes; (or set that specific mode from TMS/Administrative dialog: **Replay**).
      - Set ReaderCL = name_of_the_file_containing_APDU; Starting with ''CL-''
      - Set CL=yes
  d) From ACE, load the following files exported from ACE in b). This will restore the exact same pre-conditions to run the test case:
      - TRD
      - TERMINAL
      - PROCESSING
      - ENTRY POINT
  e) From ACE/Configuration/ENTRY POINT:
      - Open the contactless combination that will be replayed
      - Or, do step f) for all available combinations
  f) In Other TLVs section within an ENTRY POINT combination configuration, set 9F3704xxxxxxxx with xxxxxxxx set to the value corresponding to the transaction to be replayed
  g) Run the transaction

Trouble shooting:
When replaying CL transactions unsing the AVT, make sure that DOLs are in sync with the APDU traces fetched from the actual transaction execution. GPO, GenAC are - most of the time - the root of dysfunctional replays.

  • No labels