You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/java/resources/identityMapperTest.feature
+9-7
Original file line number
Diff line number
Diff line change
@@ -236,21 +236,23 @@ Feature: Identity Account Mapper Api Test
236
236
And I will assert the fields from fetch beneficiary response
237
237
@gov@ext
238
238
Scenario: Batch Account Lookup Integration Test
239
-
Given I create an IdentityMapperDTO for Register Beneficiary from csv file
240
-
When I call the register beneficiary API with expected status of 202 and stub "/registerBeneficiaryApiTest"
241
-
# And I will sleep for 3000 millisecond
242
-
Given I have tenant as "paymentBB1"
243
-
And I have the demo csv file "ph-ee-bulk-demo-7.csv"
239
+
Given I have tenant as "paymentbb1"
240
+
And I have the demo csv file "bulk_payment.csv"
241
+
And I create a list of payee identifiers from csv file
242
+
And I can register the stub with "/registerBeneficiary" endpoint for "PUT" request with status of 200
243
+
And I create a IdentityMapperDTO for registering beneficiary
244
+
Then I call the register beneficiary API with expected status of 202 and stub "/registerBeneficiary"
245
+
And I should be able to verify that the "PUT" method to "/registerBeneficiary" endpoint received a request with successfull registration
244
246
And I create a new clientCorrelationId
245
247
And I have private key
246
248
And I generate signature
247
249
When I call the batch transactions endpoint with expected status of 202
248
250
And I am able to parse batch transactions response
249
251
And I fetch batch ID from batch transaction API's response
250
252
# Then I will sleep for 10000 millisecond
251
-
And I call the payment batch detail API with expected status of 200 with total 3 txns
253
+
And I call the payment batch detail API with expected status of 200 with total 6 txns
252
254
Then I am able to parse payment batch detail response
253
-
And I should assert total txn count and successful txn count in payment batch detail response for batch account lookup
255
+
And I should assert total txn count and successful txn count with 6 txns in payment batch detail response for batch account lookup
254
256
255
257
@gov
256
258
Scenario: RB-011 Attempt to Register a 5 Beneficiary - 4 with a valid RegistrationInstitution and 1 with a invalid RegistrationInstitution not available in PayBB
0 commit comments