Step by step testing

Prev Next
This content is currently unavailable in French. You are viewing the default (English) version.

#

Steps

Result

#1

Open connection

  1. Open connection to terminal

ECR connects to terminal.

#2

Terminal first activation

  1. Open connection

  2. Send Activation message

ECR triggers activation and Terminal activates and connection is on.

#3

Perform transaction

  1. Perform a transaction

Transaction is approved.

#4

Terminal update

  1. Trigger an update of terminal

Terminal updates and comes back.

#5

Perform failed transaction

  1. Perform a failed transaction with amount 9116

Transaction is declined with response code 116 (insufficient funds), connection is on.

#6

Perform Close-Open

  1. Close terminal session

  2. Open new terminal session

After Open, terminal should be ready to operate.

#7

Perform transaction

  1. Close terminal session

  2. Open new terminal session

  3. Immediately after, trigger a transaction

At step 3, terminal should return error message “busy”.

#8

Perform transaction

  1. Perform transaction

  2. Trigger new transaction during authorization

At step 2, ECR should handle busy response from terminal correctly.

#9

Reboot terminal

  1. Reboot terminal

  2. Test connection

  3. Close-Open message

ECR should detect loss connection with terminal and trigger a Close-Open.

#10

Two transactions in a row

  1. Perform transaction

  2. Right after result, trigger new transaction

Terminal should either reply “busy” or accept new transaction.

#11

Refund transaction

  1. Perform a refund

#12

Abort transaction from ECR

  1. Trigger transaction

  2. Abort transaction from ECR

#13

Abort transaction from terminal

  1. Trigger transaction

  2. Abort transaction from terminal

#14

Timeout management

  1. Trigger transaction and wait for timeout (don’t present card)

  2. Trigger transaction, insert card and wait for PIN timeout

  3. Perform transaction and wait for result screen timeout

All timeout should be handled with no connection loss from ECR.

#15

Cancel transaction

  1. Cancel a previous transaction

Selected transaction should be cancelled, no need to use card.

#16

Connection loss with terminal

  1. Trigger transaction

  2. Break connection between ECR and Terminal during authorization

  3. Reconnect ECR and Terminal

  4. Trigger Close-Open

  5. Trigger getlasttransaction

  6. Based on result, trigger next action (basket validation, cancellation…)

When connection with terminal is lost, Close-Open should be performed. Getlasttransaction should follow to know transaction status of previous transaction if was ongoing.

#17

Special character

  1. Change ECR language to Polish (PL)

  2. Perform transaction

Check receipt is printed as expected and connection with terminal is not loss.

If you implement optional features, you should test these features too (dual mode, loyalty management, offline...).