Serenity BDD Report
Home > Cash-bo-api > Create Order Buy > TC 62: enter exchangeid that does not exist
Report generated 09-05-2024 08:08

Create Order Buy

  Create Order Buy (feature)   Cash-Bo-Api (capability)   Under 1 Second (Duration)

TC_62: Enter exchangeId that does not exist
Steps Outcome
Before
SUCCESS
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": "HII",
"transactionType": "",
"orderLot": "ODD_LOT",
"stopPrice": 10.01,
"marketPhase": "",
"clordId": "",
"exchangeName": "",
"currencyCode": "SGD",
"rewardCode": "",
"walletCurrency": "SGD",
"rtPtsFlag": true,
"multiplier": "1.0"
}
SUCCESS
SUCCESS 056ms
FAILURE 025ms
Then I want to display the current wallet detail in my world
SKIPPED 001ms
When cashBoApi calls api order creation
SKIPPED
Then cashBoApi should get response status 200
SKIPPED
Then I want to wait for 5 seconds
SKIPPED
When gcwBoApi calls api to get wallet detail before created order
SKIPPED
Then gcwBoApi should get response status 200
SKIPPED 001ms
Then I want to display the new wallet detail before created order
SKIPPED 001ms
Then I verify that the result
SKIPPED
FAILURE 0.1s
Serenity BDD version 4.0.48