Serenity BDD Report
Home > Cash-bo-api > Create Order Buy > TC 35: create order with validity = GTD
Report generated 21-05-2024 03:53
Steps Outcome
Before
SUCCESS
Given I want to verify if the customer below can create a new order:
{
"cif": "TT10000001",
"orderType": "LIMIT",
"fees": 5.0,
"tradingBoard": "",
"executedPrice": 10.0,
"avgPrice": 10.0,
"orderStatus": "NEW",
"ltpPrice": 10.0,
"orderChannel": "",
"referenceId": "",
"account": "CA-00005116",
"estimatedNetAmt": 10.0,
"earmarkflag": true,
"expiryDate": "",
"tradeTerm": "NORMAL",
"orderDatetime": 1709022351142,
"stockName": "",
"timeInForce": "GTD",
"orderQty": 10.0,
"id": 1,
"origclordId": "",
"limitPrice": 10.0,
"accountType": "Cashupfront",
"orderSide": "BUY",
"stockCode": "1F3",
"marketState": "",
"exchangeId": "SES",
"transactionType": "",
"orderLot": "ODD_LOT",
"stopPrice": 10.0,
"marketPhase": "",
"clordId": "",
"exchangeName": "",
"currencyCode": "SGD",
"rewardCode": "",
"walletCurrency": "SGD",
"rtPtsFlag": true,
"multiplier": "1.0"
}
SUCCESS 001ms
SUCCESS 070ms
FAILURE 024ms
Then I want to display the current wallet detail in my world
SKIPPED
When cashBoApi calls api order creation
SKIPPED 001ms
Then cashBoApi should get response status 200
SKIPPED
When cashBoApi calls api to Calculate Earmark Cash
SKIPPED
Then cashBoApi should get response status 200
SKIPPED 001ms
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
Then I want to display the new wallet detail before created order
SKIPPED
Then I verify that the result should be
SKIPPED 001ms
FAILURE 0.11s
Serenity BDD version 4.0.48