Documentation for a newer release is available. View Latest

Handle Invalid Payment Status Report.story

Scenario: Handling of invalid payment status request from SIC5 when msgId is unset

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

When ⦅the Payment Service⦆ sends a Clear And Settle Request

Then ⦅the CSM⦆ receives a Customer Credit Transfer

When the ⦅CSM⦆ sends a Payment Status Report with values:
| FIToFIPmtStsRpt.grpHdr.msgId | NOT_SET |

Then the ⦅Payment Service⦆ receives a System Event using predicate:
| level | ERROR |
| name | InboundMessageFailed |
| type | TECHNICAL |

Then the ⦅Payment Service⦆ receives a Dead Letter Message using predicate:
| error.receivedMessage.message.targetMessage | NOT_SET |
| error.receivedMessage.message.transportMessage.payload.contains(#PaymentStatusReport.FIToFIPmtStsRpt.TxInf*And*Sts[0].OrgnlTxId) | true |

Then the ⦅Payment Service⦆ receives a System Event using predicate:
| level | ERROR |
| name | MessageSentToDeadletter |
| type | TECHNICAL |

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()