| Summary Item | Total | Failed |
|---|---|---|
| Requests | 8 | 0 |
| Prerequest Scripts | 0 | 0 |
| Test Scripts | 8 | 0 |
| Assertions | 23 | 4 |
| Skipped Tests | 0 | - |
expected null to be a number
expected response to have status code 200 but got 400
expected 'Failure' to deeply equal 'Success'
expected 'Insufficient Stock Available' to deeply equal 'Stock Account COS not found: Cash:Ass…'
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | db255ad9-9003-4849-bb7c-1741c32b52f3 |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:00 GMT |
| Content-Type | application/json |
| Content-Length | 5777 |
| Connection | keep-alive |
| Vary | Origin |
| Vary | Access-Control-Request-Method |
| Vary | Access-Control-Request-Headers |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"content":[{"id":61,"tradeId":null,"tan":"CA-00000073","orderId":"102","originalOrderId":"102","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":62,"tradeId":null,"tan":"CA-00000073","orderId":"103","originalOrderId":"103","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":63,"tradeId":null,"tan":"CA-00000073","orderId":"105","originalOrderId":"105","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":64,"tradeId":null,"tan":"CA-00000073","orderId":"107","originalOrderId":"107","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":66,"tradeId":null,"tan":"CA-00000073","orderId":"108","originalOrderId":"108","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":68,"tradeId":null,"tan":"CA-00000073","orderId":"109","originalOrderId":"109","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":70,"tradeId":null,"tan":"CA-00000073","orderId":"110","originalOrderId":"110","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":71,"tradeId":null,"tan":"CA-00000073","orderId":"111","originalOrderId":"111","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":73,"tradeId":null,"tan":"CA-00000073","orderId":"112","originalOrderId":"112","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":75,"tradeId":null,"tan":"CA-00000073","orderId":"113","originalOrderId":"113","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"},{"id":76,"tradeId":null,"tan":"CA-00000073","orderId":"122","originalOrderId":"122","orderType":"LIMIT_ORDER","lot":"BOARD","matchedQuantity":0,"earmarkedQuantity":10,"amendingQuantity":0,"earmarkedTotalPrice":10.0000000000000000,"matchedTotalPrice":0E-16,"amendingTotalPrice":0E-16,"earmarkedMiscCharged":1.0000000000000000,"matchedMiscCharged":0E-16,"amendingMiscCharged":0E-16,"orderAction":"BUY","marketCode":"SGX","stockCode":"STO","status":"CREATED","tradingDate":"2023-12-18","version":0,"rewardCode":"null"}],"pageNumber":0,"pageSize":20,"totalElements":11,"last":true,"first":true,"totalPages":1}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 200 | 1 | 0 | 0 |
| Check mesage response: success | 1 | 0 | 0 |
| data response is an object | 1 | 0 | 0 |
| Check orderId are unique | 1 | 0 | 0 |
| Test data type of the response | 0 | 1 | 0 |
| Count: 11 | 1 | 0 | 0 |
| Total | 5 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| Test data type of the response | |
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 07119627-e6c1-401f-bc6f-b37811359518 |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:00 GMT |
| Content-Type | application/json |
| Content-Length | 101 |
| Connection | keep-alive |
| Vary | Origin |
| Vary | Access-Control-Request-Method |
| Vary | Access-Control-Request-Headers |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"content":[],"pageNumber":0,"pageSize":20,"totalElements":0,"last":true,"first":true,"totalPages":1}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 200 | 1 | 0 | 0 |
| List is empty | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b4ab8379-688c-4cbc-8ab1-8b3e04c49a7d |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:01 GMT |
| Content-Type | application/json |
| Content-Length | 111 |
| Connection | keep-alive |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"messages":["405 METHOD_NOT_ALLOWED \"Request method 'PUT' is not supported.\""],"errorCode":null,"data":null}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 500 | 1 | 0 | 0 |
| Check message response: 405 METHOD_NOT_ALLOWED | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 639f0fb8-a5a0-48dd-9c6a-11cad30088dd |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 404 |
{
"accountNo": "CA-00000073",
"cif": "thaohtt_001",
"clordId": "122",
"orderSide": "BUY",
"orderQty": 10,
"exchangeCode": "SGX",
"stockCode": "STO",
"currencyCode": "SGD",
"orderValidity": "DAY",
"orderLot": "BOARD",
"orderType": "LIMIT_ORDER",
"rewardCode": "null",
"estimatedNetAmount": "10",
"fees": "1",
"orderDatetime": "2023-12-18T16:55:41.864275200"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:06 GMT |
| Content-Type | application/json |
| Content-Length | 610 |
| Connection | keep-alive |
| Vary | Origin |
| Vary | Access-Control-Request-Method |
| Vary | Access-Control-Request-Headers |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"result":"Failure","reason":"executeMany; SQL [INSERT INTO trade_order (tan, order_id, original_order_id, order_type, lot, matched_quantity, earmarked_quantity, earmarked_total_price, matched_total_price, earmarked_misc_charged, matched_misc_charged, order_action, stock_code, market_code, reward_code, trading_date, status, created_on, created_by, modified_on, modified_by, trace_id, span_id, version) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24)]; duplicate key value violates unique constraint \"original_order_id_pk\"","data":null}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 200 | 0 | 1 | 0 |
| Check message response: success | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| status code is 200 | |
| Check message response: success | |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 29881eaf-b868-483e-a7a4-99a04e573e1e |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 404 |
{
"accountNo": "CA-00000078",
"cif": "thaohtt_002",
"clordId": "125",
"orderSide": "BUY",
"orderQty": 10,
"exchangeCode": "SGX",
"stockCode": "STO",
"currencyCode": "SGD",
"orderValidity": "DAY",
"orderLot": "BOARD",
"orderType": "LIMIT_ORDER",
"rewardCode": "null",
"estimatedNetAmount": "10",
"fees": "1",
"orderDatetime": "2023-12-18T16:55:41.864275200"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:09 GMT |
| Content-Type | application/json |
| Content-Length | 71 |
| Connection | keep-alive |
| Vary | Origin |
| Vary | Access-Control-Request-Method |
| Vary | Access-Control-Request-Headers |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"result":"Failure","reason":"Insufficient amount of cash","data":null}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 400 | 1 | 0 | 0 |
| Check result response: Failure | 1 | 0 | 0 |
| Check reason response: Insufficient amount of cash | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0cfbd8c7-63d5-4b97-8698-ba93af44a979 |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 405 |
{
"accountNo": "CA-00000078",
"cif": "thaohtt_002",
"clordId": "121",
"orderSide": "SELL",
"orderQty": 10,
"exchangeCode": "SGX",
"stockCode": "STO",
"currencyCode": "SGD",
"orderValidity": "DAY",
"orderLot": "BOARD",
"orderType": "LIMIT_ORDER",
"rewardCode": "null",
"estimatedNetAmount": "10",
"fees": "1",
"orderDatetime": "2023-12-18T16:55:41.864275200"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:11 GMT |
| Content-Type | application/json |
| Content-Length | 72 |
| Connection | keep-alive |
| Vary | Origin |
| Vary | Access-Control-Request-Method |
| Vary | Access-Control-Request-Headers |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"result":"Failure","reason":"Insufficient Stock Available","data":null}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 400 | 1 | 0 | 0 |
| Check result response: Failure | 1 | 0 | 0 |
| Check reason response: Stock Account COS not found | 0 | 1 | 0 |
| Total | 2 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| Check reason response: Stock Account COS not found | |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2833b2ce-dd2a-41e3-bb18-eefe104100d0 |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 417 |
{
"accountNo": "CA-00000078453543535543",
"cif": "thaohtt_002",
"clordId": "155",
"orderSide": "SELL",
"orderQty": 10,
"exchangeCode": "SGX",
"stockCode": "STO",
"currencyCode": "SGD",
"orderValidity": "DAY",
"orderLot": "BOARD",
"orderType": "LIMIT_ORDER",
"rewardCode": "null",
"estimatedNetAmount": "10",
"fees": "1",
"orderDatetime": "2023-12-18T16:55:41.864275200"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:11 GMT |
| Content-Type | application/json |
| Content-Length | 49 |
| Connection | keep-alive |
| Vary | Origin |
| Vary | Access-Control-Request-Method |
| Vary | Access-Control-Request-Headers |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"result":"Failure","reason":"value","data":null}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 400 | 1 | 0 | 0 |
| Check result response: Failure | 1 | 0 | 0 |
| Check reason response:value | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1c6f6cbe-63cf-4f16-a0ac-d4166577193e |
| Host | cash-bo-api.dev.rakutentrade.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 413 |
{
"accountNo": "CA-00000078",
"cif": "thaohtt_002",
"clordId": "156",
"orderSide": "SELLrtyeryer",
"orderQty": 10,
"exchangeCode": "SGX",
"stockCode": "STO",
"currencyCode": "SGD",
"orderValidity": "DAY",
"orderLot": "BOARD",
"orderType": "LIMIT_ORDER",
"rewardCode": "null",
"estimatedNetAmount": "10",
"fees": "1",
"orderDatetime": "2023-12-18T16:55:41.864275200"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 21 Dec 2023 02:01:11 GMT |
| Content-Type | application/json |
| Content-Length | 108 |
| Connection | keep-alive |
| Vary | Origin |
| Vary | Access-Control-Request-Method |
| Vary | Access-Control-Request-Headers |
| Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
| Pragma | no-cache |
| Expires | 0 |
| X-Content-Type-Options | nosniff |
| X-Frame-Options | DENY |
| X-XSS-Protection | 0 |
| Referrer-Policy | no-referrer |
{"messages":["No enum constant rt.domain.enums.OrderType.Action.SELLrtyeryer"],"errorCode":null,"data":null}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| status code is 500 | 1 | 0 | 0 |
| Check messages response: Sai orderAction | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|