| Rule: Order Match success | |||
| Scenario: Test |
|
||
Before
Given I want to verify if the customer below can create a new order:
{
"cif": "TT10000001",
"orderType": "LIMIT",
"fees": 5.01,
"tradingBoard": "",
"executedPrice": 10.01,
"avgPrice": 10.01,
"orderStatus": "NEW",
"ltpPrice": 10.01,
"orderChannel": "",
"referenceId": "",
"account": "CA-00005116",
"estimatedNetAmt": 10.01,
"earmarkflag": true,
"expiryDate": "",
"tradeTerm": "NORMAL",
"orderDatetime": 1709022351142,
"stockName": "",
"timeInForce": "DAY",
"orderQty": 10.01,
"id": 1,
"origclordId": "",
"limitPrice": 10.01,
"accountType": "Cashupfront",
"orderSide": "BUY",
"stockCode": "1F3",
"marketState": "",
"exchangeId": "SES",
"transactionType": "",
"orderLot": "ODD_LOT",
"stopPrice": 10.01,
"marketPhase": "",
"clordId": "",
"exchangeName": "",
"currencyCode": "SGD",
"rewardCode": "",
"walletCurrency": "SGD",
"rtPtsFlag": true,
"multiplier": "1.0"
}
And I have a request order match:
| ordStatus | |
|---|---|
| executedPrice | 100.2001 |
| cumQty | 10.01 |
| leavesQty | 0.1 |
| partyIdSource | |
| orderSide | BUY |
| execId | |
| avgPx | 10.01 |
| clordId | |
| partyRole | |
| orderQty | 5.01 |
| origclordId | |
| execType | |
| partyId |
When cashBoApi calls api order creation
Then cashBoApi should get response status 200
Then I want to wait for 5 seconds
When cashBoApi gets Trade Order by trading date
Then I verify result
When cashBoApi calls api order match
Then cashBoApi should get response status 200
Then I want to wait for 5 seconds
When cashBoApi gets Trade Order
Then I verify new trade order
| Number of Scenarios | 1 | Total Duration | 5s |
| Total Number of Test Cases | 1 | Fastest Test | 5s |
| Number of Manual Test Cases | 0 | Slowest Test | 5s |
| Tests Started | May 09, 2024 08:08:27 | Average Execution Time | 5s |
| Tests Finished | May 09, 2024 08:08:33 | Total Execution Time | 5s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Order Match | Test | 13 | 08:08:27 | 5s 252ms |