Serenity BDD Report
Home > Cash-bo-api > Create Order SELL > TC 85: leave 1 required field blank: stockcode
Report generated 24-04-2024 10:32

Create Order SELL

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

TC_85: Leave 1 required field blank: stockCode
Steps Outcome
Before
SUCCESS 001ms
Given I want to verify if the customer below can create a new order:
{
"cif": "TT10000002",
"orderType": "LIMIT",
"fees": 5.01,
"tradingBoard": "",
"executedPrice": 10.01,
"avgPrice": 10.01,
"orderStatus": "NEW",
"ltpPrice": 10.01,
"orderChannel": "",
"referenceId": "",
"account": "CA-00005149",
"estimatedNetAmt": 10.01,
"earmarkflag": true,
"expiryDate": "",
"tradeTerm": "",
"orderDatetime": 1709022351142,
"stockName": "",
"timeInForce": "DAY",
"orderQty": 10.01,
"id": 1,
"origclordId": "",
"limitPrice": 10.01,
"accountType": "Cashupfront",
"orderSide": "SELL",
"stockCode": "",
"marketState": "",
"exchangeId": "SES",
"transactionType": "",
"orderLot": "ODD_LOT",
"stopPrice": 10.01,
"marketPhase": "",
"clordId": "BB021",
"exchangeName": "",
"currencyCode": "SGD",
"rewardCode": "",
"walletCurrency": "SGD",
"rtPtsFlag": true,
"multiplier": "1.0"
}
SUCCESS 001ms
SUCCESS 059ms
FAILURE 025ms
Then I want to display the current stock Trading Limit
SKIPPED 001ms
When cashBoApi calls api order creation
SKIPPED
Then cashBoApi should get response status 200
SKIPPED
When cashBoApi calls api to get Stock Trading Limit before created order
SKIPPED
Then cashBoApi should get response status 200
SKIPPED 001ms
Then I want to display the new stock Trading Limit before created order
SKIPPED 001ms
Then I verify stock Trading Limit
SKIPPED
FAILURE 0.1s
Serenity BDD version 4.0.48