| 用例 | 耗时 | 失败原因 |
|---|---|---|
| 无失败用例 | ||
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证广告列表接口功能 | PASS | 1.30 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/ad/list | 200 | None |
{
"code": 0,
"data": [],
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593043534
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证应用分享信息接口功能 | PASS | 0.96 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/app/share/info | 200 | None |
{
"code": 0,
"data": {
"path": "/account/register",
"host": "https://www.bitradex-test.com"
},
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593044393
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证应用版本信息接口功能 | PASS | 1.03 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/app-info/version?client=ios-test-flight&build=7034 | 200 | None |
{
"code": 0,
"data": {
"alertType": 2,
"build": 6115,
"description": "1",
"version": "v1.1.2",
"url": "itms-services://?action=download-manifest&url=https://download.bitradex.com/test-app/IOS/manifest.plist"
},
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593045423
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证Banner列表接口功能 | PASS | 1.02 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/banner/listByApp?type=2 | 200 | None |
{
"code": 0,
"data": [],
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593046484
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证验证码请求接口功能 | PASS | 1.04 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/captcha/apply?type=2 | 200 | None |
{
"code": 0,
"data": {
"code": "",
"sdkKey": "b7ec2ff3d4562f9c471212339ab1d94d",
"enabled": true
},
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593047534
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证开屏广告列表接口功能 | PASS | 0.70 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/open-screen/list | 200 | None |
{
"code": 0,
"data": {},
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593048366
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证开屏广告语言列表接口功能 | PASS | 0.65 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/open-screen/list/lang | 200 | None |
{
"code": 0,
"data": [
{
"maxImpressions": 2,
"visibilityScope": "ALL",
"link": "https://www.bitradex-test.com/battle/spinnerPhase2",
"domesticLink": "https://www.bitradex-test.com/battle/spinnerPhase2",
"templateCode": "app_popup",
"type": 1,
"priority": 99,
"title": "",
"url": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410-1768964905160.png",
"content": "",
"blackUrl": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410-1768964909361.png",
"isNeedLogin": 1,
"whiteUrl": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410-1768964905160.png",
"timeInterval": 4,
"id": 23,
"lang": "cn"
},
{
"maxImpressions": 2,
"visibilityScope": "ALL",
"link": "https://www.bitradex-test.com/battle/spinnerPhase2",
"domesticLink": "https://www.bitradex-test.com/battle/spinnerPhase2",
"templateCode": "app_popup",
"type": 1,
"priority": 222,
"title": "",
"url": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410x340-1768964431319.png",
"content": "",
"blackUrl": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410x340-1768964435175.png",
"isNeedLogin": 1,
"whiteUrl": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410x340-1768964431319.png",
"timeInterval": 4,
"id": 28,
"lang": "cn"
},
{
"maxImpressions": 2,
"visibilityScope": "ALL",
"link": "https://www.bitradex-test.com/battle/seckill?activityId=P6GTDP9FHXTY",
"domesticLink": "https://www.bitradex-test.com/battle/seckill?activityId=P6GTDP9FHXTY",
"templateCode": "app_popup",
"type": 1,
"priority": 999,
"title": "",
"url": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410x340-1768839098019.png",
"content": "邀请好友,最高享受30%返佣!",
"blackUrl": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410x340-1768839102436.png",
"isNeedLogin": 1,
"whiteUrl": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/app/410x340-1768839098019.png",
"timeInterval": 4,
"id": 37,
"lang": "cn"
}
],
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593049023
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证Vajra District列表接口功能 | PASS | 0.92 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/app/public/vajra-district/list?version=new | 200 | None |
{
"code": 0,
"data": [
{
"sonList": [
{
"isNeedLogin": 1,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/cb16dc4c500f452d802d97395a8e9c35.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/2cc807475a304083b6ad3a09ef61f833.png",
"nameAll": {
"kk": "事件合约en",
"mn": "事件合约en",
"ru": "事件合约en",
"tw": "事件合约en",
"ko": "事件合约en",
"pt": "事件合约en",
"ms": "事件合约en",
"en": "事件合约en",
"cn": "事件合约",
"pt_br": "事件合约en",
"es": "事件合约en",
"vi": "事件合约en",
"th": "事件合约en",
"ja": "事件合约en",
"az": "事件合约en",
"id": "事件合约en"
},
"name": "事件合约",
"link": "noahex://app.com/trade/event-contract",
"id": 147,
"label": 0
},
{
"isNeedLogin": 1,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/8004516043604c0caba5ed1629cbe670.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/5e779eb20d9a4cbdb1892c16f80c5633.png",
"nameAll": {
"kk": "BXC",
"mn": "BXC",
"ru": "BXC",
"tw": "BXC",
"ko": "BXC",
"pt": "BXC",
"ms": "BXC",
"en": "BXC",
"cn": "BXC",
"pt_br": "BXC",
"es": "BXC",
"vi": "BXC",
"th": "BXC",
"ja": "BXC",
"az": "BXC",
"id": "BXC"
},
"name": "BXC",
"link": "noahex://app.com/token/bxc",
"id": 146,
"label": 0
},
{
"isNeedLogin": 0,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/ba87be22637a47299788f08e31b2dac3.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/32f6123dbd344e89b465a7d2deee4e30.png",
"nameAll": {
"kk": "AI Trading",
"hi": "AI earn",
"mn": "AI Trading",
"hk": "AI earn",
"ru": "AI earnru",
"tw": "AI Trading",
"ko": "AI 트레이딩",
"ms": "AI earn ms",
"en": "AI Trading",
"cn": "AI智投",
"fr": "AI earn",
"es": "AI earn",
"vi": "Giao dịch AI",
"th": "AI earn",
"ja": "AI知能投資",
"az": "AI Trading",
"id": "AI earn",
"pt ": "AI Trading",
"tr": "AI earn"
},
"name": "AI智投",
"link": "noahex://app.com/noah/ai/home",
"id": 132,
"label": 0
},
{
"isNeedLogin": 1,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/d4b39053538348f5b704aed8f0abd17a.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/09d17ce5c870480c8d5a8314ecdf823f.png",
"nameAll": {
"kk": "月进斗金",
"mn": "月进斗金",
"ru": "月进斗金",
"tw": "月进斗金",
"ko": "月进斗金",
"pt": "月进斗金",
"ms": "月进斗金",
"en": "月进斗金",
"cn": "月进斗金",
"pt_br": "月进斗金",
"es": "月进斗金",
"vi": "月进斗金",
"th": "月进斗金",
"ja": "月进斗金",
"az": "月进斗金",
"id": "月进斗金"
},
"name": "月进斗金",
"link": "https://www.bitradex-test.com/battle/seckill?activityId=6AOFRDZYHWFU",
"id": 144,
"label": 0
},
{
"isNeedLogin": 1,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/feaa1c2c1c8548558594b9536fdf0008.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/5055b73afbf2471d9c1b116ad4874858.png",
"nameAll": {
"kk": "new user",
"mn": "new user",
"ru": "new user",
"tw": "new user",
"ko": "new user",
"pt": "new user",
"ms": "new user",
"en": "new user",
"cn": "新手礼包",
"es": "new user",
"vi": "new user",
"th": "new user",
"ja": "new user",
"az": "新手礼包",
"id": "new user"
},
"name": "新手礼包",
"link": "/battle/newUser",
"id": 137,
"label": 0
},
{
"isNeedLogin": 1,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/dbf4252dd1c2490ba021aee1ab2face2.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/61c72364d8844c69ad8a9e47f30f58d9.png",
"nameAll": {
"kk": "Team",
"hi": "Invite Friends",
"mn": "Team",
"hk": "Invite Friends",
"ru": "Invite Friends",
"tw": "Team",
"ko": "노드 계획",
"pt": "Team",
"ms": "Invite Friends",
"en": "Team",
"cn": "节点计划",
"pt_br": "Team",
"fr": "Invite Friends",
"es": "Invite Friends",
"vi": "kế hoạch nút",
"th": "Invite Friends",
"ja": "ノード計画",
"az": "Team",
"id": "Invite Friends",
"pt ": "Team",
"tr": "Invite Friends"
},
"name": "节点计划",
"link": "/activitycenter/home",
"id": 122,
"label": 0
},
{
"isNeedLogin": 0,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/dcf64ec6cca04e1e8584e2db3d88e26b.jpg",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/fd26ef7967b9405cb35aabb77245d347.jpg",
"nameAll": {
"kk": "巅峰邀请赛EN",
"ptbr": "活动中心",
"hi": "shequn",
"mn": "巅峰邀请赛EN",
"hk": "shequn",
"ru": "巅峰邀请赛EN",
"tw": "巅峰邀请赛EN",
"ko": "巅峰邀请赛EN",
"pt": "巅峰邀请赛EN",
"ms": "巅峰邀请赛EN",
"en": "巅峰邀请赛EN",
"cn": "巅峰邀请赛CN",
"pt_br": "巅峰邀请赛EN",
"fr": "shequn",
"es": "巅峰邀请赛EN",
"vi": "巅峰邀请赛EN",
"th": "巅峰邀请赛EN",
"ja": "巅峰邀请赛EN",
"az": "巅峰邀请赛",
"id": "巅峰邀请赛EN",
"tr": "shequn"
},
"name": "巅峰邀请赛CN",
"link": "https://www.bitradex-test.com/zh-CN/battle/peakInvitationalTournament/internal",
"id": 145,
"label": 0
},
{
"isNeedLogin": 1,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/53220d07505e40ba9900ccf462c79830.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/d77aa9bea17c4555835f287afb2bc4e4.png",
"nameAll": {
"kk": "redPackage",
"ptbr": "redPackage",
"mn": "redPackage",
"ru": "redPackage",
"tw": "redPackage",
"ko": "redPackage",
"pt": "redPackage",
"ms": "redPackage",
"pt-br": "yingwen",
"en": "redPackage",
"cn": "红包",
"es": "redPackage",
"vi": "redPackage",
"th": "redPackage",
"ja": "redPackage",
"az": "redPackage",
"id": "redPackage"
},
"name": "红包",
"link": "noahex://app.com/redPackage",
"id": 140,
"label": 0
},
{
"isNeedLogin": 0,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/63da535f5a18457d99f8ddee0c46d7a4.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/4b56027e33f84d9ba79dbd167aa7638b.png",
"nameAll": {
"kk": "Help Center",
"hi": "Help Center",
"mn": "Help Center",
"hk": "Help Center",
"ru": "Help Center",
"tw": "Help Center",
"ko": "Help Center",
"ms": "Help Center",
"en": "Help Center",
"cn": "帮助中心",
"fr": "Help Center",
"es": "Help Center",
"vi": "Help Center",
"th": "Help Center",
"ja": "Help Center",
"az": "Help Center",
"id": "Help Center",
"pt ": "Help Center",
"tr": "Help Center"
},
"name": "帮助中心",
"link": "helplook.com",
"id": 130,
"label": 0
},
{
"isNeedLogin": 0,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/3c4f9e772a9b48ad915d30be37bf5445.jpeg",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/453e1f721ae54b799dcef1e4987842af.jpeg",
"nameAll": {
"kk": "visa card",
"hi": "Help Center",
"mn": "visa card",
"hk": "Help Center",
"ru": "visa card",
"tw": "visa card",
"ko": "visa card",
"pt": "visa card",
"ms": "visa card",
"en": "visa card",
"cn": "visa",
"pt_br": "visa card",
"fr": "Help Center",
"es": "visa card",
"vi": "visa card",
"th": "visa card",
"ja": "visa card",
"az": "visa",
"id": "visa card",
"pt ": "visa card",
"tr": "Help Center"
},
"name": "visa",
"link": "/btxCard/home",
"id": 135,
"label": 0
},
{
"isNeedLogin": 0,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/82476e9bcd7f42a38e0bf28b44db2de8.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/dd9268feca134003a09fafc04a673b0f.png",
"nameAll": {
"kk": "Community",
"ptbr": "活动中心",
"hi": "shequn",
"mn": "Community",
"hk": "shequn",
"ru": "shequn",
"tw": "Community",
"ko": "커뮤니티",
"pt": "Community",
"ms": "shequn",
"en": "活动中心",
"cn": "活动中心",
"fr": "shequn",
"es": "shequn",
"vi": "Cộng đồng",
"th": "shequn",
"ja": "コミュニティ",
"az": "活动中心",
"id": "shequn",
"tr": "shequn"
},
"name": "活动中心",
"link": "/battle/doubleFestival",
"id": 133,
"label": 0
},
{
"isNeedLogin": 1,
"nightIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/24cb0b342190474aad36ab5845afa594.png",
"dayIcon": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/c4ca4238a0b923820dcc509a6f75849b/public/app/12a48720d7a84c3aa8a33e955d503619.png",
"nameAll": {
"kk": "IM 英语跳转",
"ptbr": "IM 英语跳转",
"mn": "IM 英语跳转",
"ru": "IM 英语跳转",
"tw": "IM 英语跳转",
"ko": "IM 英语跳转",
"pt": "IM 英语跳转",
"ms": "IM 英语跳转",
"en": "IM 英语跳转",
"cn": "IM 跳转",
"es": "IM 英语跳转",
"vi": "IM 英语跳转",
"th": "IM 英语跳转",
"ja": "IM 英语跳转",
"az": "IM1",
"id": "IM 英语跳转",
"pt ": "IM 英语跳转"
},
"name": "IM 跳转",
"link": "noahex://app.com/home/message/messageList",
"id": 134,
"label": 1
}
]
}
],
"msg": "Success.",
"msgInfo": {
"template": "Success."
},
"ts": 1776593049956
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位交易对详情接口功能 | PASS | 0.83 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/symbol/detail?symbol=btc_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"id": 1,
"symbol": "btc_usdt",
"symbolGroupId": 1,
"pair": "btc_usdt",
"contractType": "PERPETUAL",
"productType": "perpetual",
"predictEventType": null,
"predictEventParam": null,
"predictEventSort": null,
"underlyingType": "U_BASED",
"contractSize": "0.0001",
"tradeSwitch": true,
"openSwitch": true,
"isDisplay": true,
"isOpenApi": true,
"state": 0,
"initLeverage": 5,
"initPositionType": "CROSSED",
"baseCoin": "btc",
"quoteCoin": "usdt",
"baseCoinPrecision": 8,
"baseCoinDisplayPrecision": 4,
"quoteCoinPrecision": 8,
"quoteCoinDisplayPrecision": 4,
"quantityPrecision": 0,
"pricePrecision": 2,
"supportOrderType": "LIMIT,MARKET",
"supportTimeInForce": "GTC,FOK,IOC,GTX",
"supportEntrustType": "TAKE_PROFIT,STOP,TAKE_PROFIT_MARKET,STOP_MARKET,TRAILING_STOP_MARKET",
"supportPositionType": "CROSSED,ISOLATED",
"minQty": "2",
"minNotional": "5",
"maxNotional": "10000000000",
"multiplierDown": "0.5",
"multiplierUp": "0.5",
"maxOpenOrders": 20000000,
"maxEntrusts": 20000000,
"makerFee": "0.1",
"takerFee": "0.1",
"liquidationFee": "0.015",
"marketTakeBound": "0.05",
"depthPrecisionMerge": 5,
"labels": [
"HOT",
"NEW"
],
"onboardDate": 1651327201000,
"enName": "BTCUSDT",
"cnName": "BTCUSDT ",
"minStepPrice": "0.01",
"minPrice": null,
"maxPrice": null,
"deliveryDate": 1667819989000,
"deliveryPrice": null,
"deliveryCompletion": false,
"cnDesc": "cn",
"enDesc": "en en",
"cnRemark": null,
"enRemark": null,
"plates": [
1,
2
]
},
"ts": 1776593050673
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位其他交易对详情接口功能 | PASS | 0.23 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/symbol/detail?symbol=eth_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"id": 2,
"symbol": "eth_usdt",
"symbolGroupId": 2,
"pair": "eth_usdt",
"contractType": "PERPETUAL",
"productType": "perpetual",
"predictEventType": null,
"predictEventParam": null,
"predictEventSort": null,
"underlyingType": "U_BASED",
"contractSize": "0.01",
"tradeSwitch": true,
"openSwitch": true,
"isDisplay": true,
"isOpenApi": false,
"state": 0,
"initLeverage": 20,
"initPositionType": "CROSSED",
"baseCoin": "eth",
"quoteCoin": "usdt",
"baseCoinPrecision": 8,
"baseCoinDisplayPrecision": 4,
"quoteCoinPrecision": 8,
"quoteCoinDisplayPrecision": 4,
"quantityPrecision": 0,
"pricePrecision": 2,
"supportOrderType": "LIMIT,MARKET",
"supportTimeInForce": "GTC,FOK,IOC,GTX",
"supportEntrustType": "TAKE_PROFIT,STOP,TAKE_PROFIT_MARKET,STOP_MARKET,TRAILING_STOP_MARKET",
"supportPositionType": "CROSSED,ISOLATED",
"minQty": "2",
"minNotional": "5",
"maxNotional": "1000000000",
"multiplierDown": "0.5",
"multiplierUp": "0.9",
"maxOpenOrders": 400,
"maxEntrusts": 120,
"makerFee": "0.0002",
"takerFee": "0.0065",
"liquidationFee": "0.0001",
"marketTakeBound": "0.05",
"depthPrecisionMerge": 5,
"labels": [
"NEW",
"HOT"
],
"onboardDate": 1651327319000,
"enName": "ETHUSDT",
"cnName": "ETHUSDT ",
"minStepPrice": "0.01",
"minPrice": null,
"maxPrice": null,
"deliveryDate": null,
"deliveryPrice": null,
"deliveryCompletion": false,
"cnDesc": "",
"enDesc": "",
"cnRemark": null,
"enRemark": null,
"plates": []
},
"ts": 1776593051031
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位深度数据接口功能(BTC/USDT) | PASS | 0.62 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/depth?symbol=btc_usdt&level=100 | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"t": 1776593051678,
"s": "btc_usdt",
"u": 1423187495931,
"b": [
[
"75023.4",
"22468"
],
[
"75023.3",
"25324"
],
[
"75023",
"6751"
],
[
"75022.6",
"40458"
],
[
"75022.5",
"165304"
],
[
"75022.4",
"160940"
],
[
"75022.3",
"131160"
],
[
"75022.1",
"8475"
],
[
"75022",
"2582"
],
[
"75021.5",
"28559"
],
[
"75021.3",
"27456"
],
[
"75020.5",
"22644"
],
[
"75020.2",
"5993"
],
[
"75020",
"29767"
],
[
"75019.6",
"3345"
],
[
"75019.4",
"3815"
],
[
"75019.1",
"21495"
],
[
"75018.7",
"2327"
],
[
"75017.5",
"4261"
],
[
"75016.4",
"14173"
],
[
"75016.1",
"2477"
],
[
"75016",
"6780"
],
[
"75015.1",
"20420"
],
[
"75014.6",
"6999"
],
[
"75013.9",
"4502"
],
[
"75013.3",
"3502"
],
[
"75012.8",
"3478"
],
[
"75012.1",
"3956"
],
[
"75010.3",
"10898"
],
[
"75009.9",
"20577"
],
[
"75009.6",
"3517"
],
[
"75007.9",
"18968"
],
[
"75005.8",
"1112"
],
[
"75005",
"32974"
],
[
"75004.4",
"9577"
],
[
"75004.2",
"2951"
],
[
"75003.1",
"13317"
],
[
"75002.8",
"23508"
],
[
"75001.6",
"5989"
],
[
"75001.1",
"14566"
],
[
"74999.2",
"5598"
],
[
"74998.6",
"3669"
],
[
"74997.4",
"17065"
],
[
"74996.6",
"22619"
],
[
"74996.2",
"3737"
],
[
"74995.6",
"2455"
],
[
"74994.2",
"26244"
],
[
"74994.1",
"15231"
],
[
"74992.3",
"4770"
],
[
"74991.8",
"3603"
],
[
"74990.6",
"23000"
],
[
"74989.1",
"3723"
],
[
"74986.9",
"4224"
],
[
"74986.8",
"3234"
],
[
"74984.5",
"26719"
],
[
"74984",
"16421"
],
[
"74981.4",
"2232"
],
[
"74978.2",
"2816"
],
[
"74974.7",
"2320"
],
[
"74974.5",
"7266"
],
[
"74973.8",
"25811"
],
[
"74972.7",
"3026"
],
[
"74966.8",
"5788"
],
[
"74964.5",
"2403"
],
[
"74964.4",
"31270"
],
[
"74963.8",
"20050"
],
[
"74962.2",
"5615"
],
[
"74961.7",
"4912"
],
[
"74961.4",
"38646"
],
[
"74960.3",
"2687"
],
[
"74959.6",
"29637"
],
[
"74955.1",
"9094"
],
[
"74954.8",
"32440"
],
[
"74954.5",
"1919"
],
[
"74953.8",
"27190"
],
[
"74953.7",
"5513"
],
[
"74952.9",
"12287"
],
[
"74951.8",
"2988"
],
[
"74950.9",
"4591"
],
[
"74948.9",
"3059"
],
[
"74945.2",
"2935"
],
[
"74942.5",
"2842"
],
[
"74941.6",
"3467"
],
[
"74939.9",
"3379"
],
[
"74932.6",
"21133"
],
[
"74929.2",
"16136"
],
[
"74925.9",
"6353"
],
[
"74925.3",
"3631"
],
[
"74925",
"3267"
],
[
"74924.6",
"4203"
],
[
"74923",
"61867"
],
[
"74918.4",
"20191"
],
[
"74918",
"3021"
],
[
"74914.6",
"38878"
],
[
"74913.7",
"4945"
],
[
"74913.3",
"18161"
],
[
"74913",
"4200"
],
[
"74907",
"25181"
],
[
"74904.4",
"12021"
],
[
"74899.2",
"29323"
]
],
"a": [
[
"75023.5",
"19924"
],
[
"75023.6",
"23236"
],
[
"75023.7",
"54600"
],
[
"75023.8",
"3131"
],
[
"75024",
"24932"
],
[
"75024.1",
"22200"
],
[
"75024.5",
"3568"
],
[
"75024.7",
"5468"
],
[
"75024.8",
"131436"
],
[
"75024.9",
"311700"
],
[
"75025.1",
"3351"
],
[
"75025.7",
"26031"
],
[
"75026.2",
"13424"
],
[
"75026.7",
"5947"
],
[
"75027.6",
"20904"
],
[
"75027.7",
"4896"
],
[
"75028.7",
"5013"
],
[
"75028.8",
"18508"
],
[
"75029.8",
"16602"
],
[
"75029.9",
"4841"
],
[
"75030.6",
"5832"
],
[
"75030.8",
"12138"
],
[
"75031.5",
"3292"
],
[
"75032.1",
"2784"
],
[
"75033.2",
"5105"
],
[
"75033.5",
"3113"
],
[
"75033.9",
"35230"
],
[
"75035.3",
"15882"
],
[
"75035.5",
"10350"
],
[
"75036.7",
"32929"
],
[
"75037",
"16361"
],
[
"75037.2",
"7357"
],
[
"75038",
"4674"
],
[
"75038.2",
"47261"
],
[
"75039.8",
"3290"
],
[
"75040.7",
"12980"
],
[
"75040.8",
"4948"
],
[
"75041.5",
"5032"
],
[
"75043",
"32027"
],
[
"75044.2",
"2130"
],
[
"75045",
"3810"
],
[
"75045.5",
"20887"
],
[
"75045.9",
"3850"
],
[
"75050.3",
"10803"
],
[
"75050.8",
"12166"
],
[
"75052.6",
"3246"
],
[
"75053.4",
"2763"
],
[
"75054",
"5015"
],
[
"75054.2",
"2309"
],
[
"75056.7",
"18451"
],
[
"75058.9",
"5384"
],
[
"75059.5",
"1829"
],
[
"75059.6",
"3960"
],
[
"75060.5",
"31768"
],
[
"75063.4",
"24814"
],
[
"75063.6",
"3143"
],
[
"75064",
"11030"
],
[
"75065.1",
"17205"
],
[
"75066.9",
"6714"
],
[
"75068.9",
"3862"
],
[
"75070.1",
"11456"
],
[
"75073.2",
"5914"
],
[
"75074.1",
"4002"
],
[
"75074.8",
"10725"
],
[
"75075",
"13031"
],
[
"75079.8",
"1667"
],
[
"75080.8",
"2119"
],
[
"75082",
"9091"
],
[
"75084",
"21983"
],
[
"75085.9",
"2234"
],
[
"75086.9",
"5132"
],
[
"75088.4",
"39010"
],
[
"75088.6",
"13513"
],
[
"75092.9",
"3889"
],
[
"75095",
"4577"
],
[
"75095.7",
"17417"
],
[
"75096.7",
"3450"
],
[
"75096.8",
"80097"
],
[
"75100.4",
"14974"
],
[
"75101.1",
"1591"
],
[
"75101.7",
"27968"
],
[
"75102",
"4777"
],
[
"75103.7",
"22142"
],
[
"75107.7",
"4441"
],
[
"75113.6",
"16114"
],
[
"75113.8",
"4095"
],
[
"75114",
"37013"
],
[
"75115.8",
"3995"
],
[
"75117.3",
"3815"
],
[
"75118.7",
"2368"
],
[
"75118.8",
"3607"
],
[
"75124.1",
"36074"
],
[
"75128.3",
"16569"
],
[
"75129.4",
"10216"
],
[
"75130.3",
"4382"
],
[
"75130.6",
"3421"
],
[
"75133.3",
"15453"
],
[
"75134.3",
"12155"
],
[
"75142.6",
"3058"
],
[
"75146.3",
"2339"
]
]
},
"ts": 1776593051678
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${data['s']}, btc_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位深度数据接口功能(ETH/USDT) | PASS | 0.36 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/depth?symbol=eth_usdt&level=100 | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"t": 1776593052040,
"s": "eth_usdt",
"u": 1423125091543,
"b": [],
"a": []
},
"ts": 1776593052040
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${data['s']}, eth_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位深度数据接口功能(SOL/USDT) | PASS | 0.32 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/depth?symbol=sol_usdt&level=100 | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"t": 1776593052272,
"s": "sol_usdt",
"u": 1423125089152,
"b": [
[
"29.85",
"335"
],
[
"26.57",
"646"
],
[
"21.36",
"2902"
],
[
"21.25",
"2"
],
[
"16.57",
"2910"
],
[
"11.99",
"3968"
],
[
"11.30",
"496"
],
[
"7.55",
"2117"
],
[
"4.71",
"2065"
]
],
"a": [
[
"85.80",
"19536"
],
[
"85.81",
"19020"
],
[
"85.83",
"19505"
],
[
"85.85",
"9591"
],
[
"85.90",
"3464"
],
[
"85.91",
"10102"
],
[
"85.92",
"23059"
],
[
"85.98",
"4445"
],
[
"86.00",
"3360"
],
[
"86.13",
"3021"
],
[
"86.15",
"20910"
],
[
"86.20",
"3676"
],
[
"86.25",
"12917"
],
[
"86.26",
"9337"
],
[
"86.44",
"15749"
],
[
"86.46",
"3796"
],
[
"86.49",
"2705"
],
[
"86.52",
"2065"
],
[
"86.55",
"1068"
],
[
"86.61",
"27390"
],
[
"86.67",
"3774"
],
[
"86.88",
"4119"
],
[
"87.20",
"16737"
],
[
"87.21",
"3161"
],
[
"87.32",
"1913"
],
[
"87.44",
"28701"
],
[
"87.58",
"2532"
],
[
"87.84",
"22096"
],
[
"87.85",
"4419"
],
[
"87.89",
"2109"
],
[
"87.94",
"21171"
],
[
"88.43",
"3448"
],
[
"88.52",
"5096"
],
[
"88.63",
"4825"
],
[
"88.75",
"9667"
],
[
"88.83",
"1080"
],
[
"89.08",
"3106"
],
[
"89.10",
"3261"
],
[
"89.24",
"10663"
],
[
"89.63",
"3277"
],
[
"90.08",
"1630"
],
[
"90.15",
"2860"
],
[
"90.16",
"9196"
],
[
"90.43",
"12855"
],
[
"90.75",
"7281"
],
[
"90.91",
"21271"
],
[
"91.80",
"19689"
],
[
"91.94",
"1261"
],
[
"92.02",
"2322"
],
[
"92.23",
"2553"
],
[
"92.39",
"7431"
],
[
"92.53",
"2369"
],
[
"92.67",
"3842"
],
[
"92.74",
"1611"
],
[
"92.89",
"20218"
],
[
"93.24",
"3087"
],
[
"93.33",
"1427"
],
[
"93.37",
"16921"
],
[
"93.45",
"2230"
],
[
"93.66",
"38420"
],
[
"94.14",
"13849"
],
[
"94.41",
"3047"
],
[
"94.79",
"1487"
],
[
"94.82",
"14997"
],
[
"94.92",
"25764"
],
[
"95.13",
"3940"
],
[
"95.40",
"4309"
],
[
"96.67",
"9164"
],
[
"97.51",
"2668"
],
[
"97.76",
"6394"
],
[
"97.77",
"3239"
],
[
"98.04",
"2988"
],
[
"98.39",
"13757"
],
[
"98.52",
"38641"
],
[
"98.65",
"12816"
],
[
"99.29",
"4689"
],
[
"99.35",
"13150"
],
[
"99.50",
"19449"
],
[
"100.42",
"12043"
],
[
"100.43",
"1153"
],
[
"100.85",
"21820"
],
[
"101.26",
"2661"
],
[
"101.78",
"2699"
],
[
"102.25",
"2125"
],
[
"102.33",
"2388"
],
[
"102.67",
"5134"
],
[
"103.24",
"4973"
],
[
"103.31",
"18106"
],
[
"103.80",
"2168"
],
[
"104.21",
"19219"
],
[
"104.51",
"2137"
],
[
"105.52",
"14876"
],
[
"106.56",
"3387"
],
[
"106.92",
"8681"
],
[
"106.95",
"3091"
],
[
"107.06",
"3487"
],
[
"107.66",
"3930"
],
[
"108.78",
"1171"
],
[
"108.82",
"19712"
],
[
"109.67",
"3910"
]
]
},
"ts": 1776593052272
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${data['s']}, sol_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位深度数据接口不同深度级别功能 | PASS | 0.23 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/depth?symbol=btc_usdt&level=1000 | 200 | None |
{"code":0,"msg":"success","msgInfo":null,"data":{"t":1776593052597,"s":"btc_usdt","u":1423187495931,"b":[["75023.4","22468"],["75023.3","25324"],["75023","6751"],["75022.6","40458"],["75022.5","165304"],["75022.4","160940"],["75022.3","131160"],["75022.1","8475"],["75022","2582"],["75021.5","28559"],["75021.3","27456"],["75020.5","22644"],["75020.2","5993"],["75020","29767"],["75019.6","3345"],["75019.4","3815"],["75019.1","21495"],["75018.7","2327"],["75017.5","4261"],["75016.4","14173"],["75016.1","2477"],["75016","6780"],["75015.1","20420"],["75014.6","6999"],["75013.9","4502"],["75013.3","3502"],["75012.8","3478"],["75012.1","3956"],["75010.3","10898"],["75009.9","20577"],["75009.6","3517"],["75007.9","18968"],["75005.8","1112"],["75005","32974"],["75004.4","9577"],["75004.2","2951"],["75003.1","13317"],["75002.8","23508"],["75001.6","5989"],["75001.1","14566"],["74999.2","5598"],["74998.6","3669"],["74997.4","17065"],["74996.6","22619"],["74996.2","3737"],["74995.6","2455"],["74994.2","26244"],["74994.1","15231"],["74992.3","4770"],["74991.8","3603"],["74990.6","23000"],["74989.1","3723"],["74986.9","4224"],["74986.8","3234"],["74984.5","26719"],["74984","16421"],["74981.4","2232"],["74978.2","2816"],["74974.7","2320"],["74974.5","7266"],["74973.8","25811"],["74972.7","3026"],["74966.8","5788"],["74964.5","2403"],["74964.4","31270"],["74963.8","20050"],["74962.2","5615"],["74961.7","4912"],["74961.4","38646"],["74960.3","2687"],["74959.6","29637"],["74955.1","9094"],["74954.8","32440"],["74954.5","1919"],["74953.8","27190"],["74953.7","5513"],["74952.9","12287"],["74951.8","2988"],["74950.9","4591"],["74948.9","3059"],["74945.2","2935"],["74942.5","2842"],["74941.6","3467"],["74939.9","3379"],["74932.6","21133"],["74929.2","16136"],["74925.9","6353"],["74925.3","3631"],["74925","3267"],["74924.6","4203"],["74923","61867"],["74918.4","20191"],["74918","3021"],["74914.6","38878"],["74913.7","4945"],["74913.3","18161"],["74913","4200"],["74907","25181"],["74904.4","12021"],["74899.2","29323"],["74897.5","3187"],["74897.3","29544"],["74897","3493"],["74896.6","11927"],["74895.8","3455"],["74892.6","2501"],["74891.2","33494"],["74890.2","25692"],["74888.7","3660"],["74886.9","9122"],["74879.7","4249"],["74878.7","35842"],["74878.5","31307"],["74877.8","4030"],["74872.9","37600"],["74870.5","25127"],["74856.4","2883"],["74855.7","2729"],["74854.3","9771"],["74854.2","38700"],["74849.5","23389"],["74844.8","1938"],["74843.9","5248"],["74843.3","3653"],["74842","6625"],["74833.6","39589"],["74831.2","4512"],["74829.8","27811"],["74826.4","370"],["74825.3","24313"],["74824.1","3937"],["74823.3","4460"],["74822.8","15524"],["74816.5","20398"],["74815.4","2488"],["74812.6","29641"],["74810.9","3635"],["74807.7","12571"],["74805.1","4972"],["74804","36711"],["74800.7","4388"],["74799.4","4714"],["74799.3","4865"],["74794.2","25044"],["74791","3915"],["74787.8","8737"],["74782.4","18141"],["74770.8","3789"],["74766.3","5293"],["74762","9770"],["74752.7","13800"],["74751.5","26543"],["74744.1","3827"],["74742.1","4399"],["74741.9","2189"],["74739.7","6600"],["74737.2","3996"],["74736.4","2481"],["74734.8","3730"],["74732.4","1739"],["74729.8","19926"],["74728.8","3098"],["74726","4190"],["74725.9","4366"],["74721.5","3586"],["74720.2","1490"],["74719.4","23816"],["74716","26191"],["74715.1","3374"],["74711","35629"],["74710.9","5737"],["74708.4","4528"],["74706.1","12398"],["74703.9","3084"],["74701.8","14993"],["74700.2","4066"],["74691.2","27850"],["74681.5","3205"],["74676.4","4121"],["74674.8","9274"],["74672.9","43277"],["74670.7","2559"],["74667.9","3858"],["74667.7","12552"],["74659.9","44015"],["74658.3","25436"],["74653.7","3820"],["74653.1","3240"],["74642.3","20083"],["74639.4","2656"],["74638.7","27357"],["74623.5","4487"],["74616.4","35037"],["74616","2760"],["74609.7","3901"],["74595.8","4084"],["74594.5","19742"],["74590.4","2756"],["74587.2","20393"],["74571.9","14054"],["74568.1","7797"],["74564.9","4387"],["74558.6","20692"],["74548.4","4321"],["74540.7","11761"],["74538.6","5024"],["74536.3","4449"],["74529.9","19102"],["74527","4592"],["74514.6","18592"],["74507.2","16621"],["74481.9","23936"],["74481.5","18252"],["74478.5","13662"],["74478.3","25719"],["74470.2","2560"],["74466.2","29990"],["74461.2","5597"],["74460.9","11598"],["74455.8","17582"],["74448.1","16458"],["74446.4","26738"],["74441","3563"],["74436.5","4607"],["74435","6057"],["74433.2","10245"],["74426.1","3381"],["74425.6","21078"],["74425.4","17060"],["74409.1","22068"],["74408.9","1129"],["74407.8","3430"],["74403.3","28686"],["74402.7","3457"],["74402","3048"],["74401.8","6651"],["74398.3","34097"],["74384.9","2627"],["74378.7","4479"],["74374.8","3339"],["74363.9","35643"],["74362.4","3224"],["74357.5","53978"],["74354.7","3089"],["74352.4","4993"],["74351.1","3188"],["74350.3","5835"],["74347.5","37527"],["74342","60219"],["74341.2","3023"],["74341","5050"],["74339","9326"],["74334.7","7969"],["74333.2","33783"],["74329.5","5933"],["74326.9","2384"],["74324.7","2796"],["74322.8","14738"],["74317.3","30292"],["74300.8","13778"],["74300.3","15074"],["74299.2","19930"],["74298.6","5254"],["74290.5","29096"],["74287.6","7270"],["74281.9","2763"],["74276.7","24154"],["74275.5","7871"],["74273.2","4862"],["74271","3117"],["74269.4","22628"],["74268.8","2062"],["74267.4","3348"],["74254.3","1876"],["74252.8","36227"],["74245.6","4261"],["74245.4","37673"],["74242.6","1914"],["74237.9","20283"],["74236.7","23572"],["74235.9","26421"],["74230.5","33864"]],"a":[["75023.5","19924"],["75023.6","23236"],["75023.7","54600"],["75023.8","3131"],["75024","24932"],["75024.1","22200"],["75024.5","3568"],["75024.7","5468"],["75024.8","131436"],["75024.9","311700"],["75025.1","3351"],["75025.7","26031"],["75026.2","13424"],["75026.7","5947"],["75027.6","20904"],["75027.7","4896"],["75028.7","5013"],["75028.8","18508"],["75029.8","16602"],["75029.9","4841"],["75030.6","5832"],["75030.8","12138"],["75031.5","3292"],["75032.1","2784"],["75033.2","5105"],["75033.5","3113"],["75033.9","35230"],["75035.3","15882"],["75035.5","10350"],["75036.7","32929"],["75037","16361"],["75037.2","7357"],["75038","4674"],["75038.2","47261"],["75039.8","3290"],["75040.7","12980"],["75040.8","4948"],["75041.5","5032"],["75043","32027"],["75044.2","2130"],["75045","3810"],["75045.5","20887"],["75045.9","3850"],["75050.3","10803"],["75050.8","12166"],["75052.6","3246"],["75053.4","2763"],["75054","5015"],["75054.2","2309"],["75056.7","18451"],["75058.9","5384"],["75059.5","1829"],["75059.6","3960"],["75060.5","31768"],["75063.4","24814"],["75063.6","3143"],["75064","11030"],["75065.1","17205"],["75066.9","6714"],["75068.9","3862"],["75070.1","11456"],["75073.2","5914"],["75074.1","4002"],["75074.8","10725"],["75075","13031"],["75079.8","1667"],["75080.8","2119"],["75082","9091"],["75084","21983"],["75085.9","2234"],["75086.9","5132"],["75088.4","39010"],["75088.6","13513"],["75092.9","3889"],["75095","4577"],["75095.7","17417"],["75096.7","3450"],["75096.8","80097"],["75100.4","14974"],["75101.1","1591"],["75101.7","27968"],["75102","4777"],["75103.7","22142"],["75107.7","4441"],["75113.6","16114"],["75113.8","4095"],["75114","37013"],["75115.8","3995"],["75117.3","3815"],["75118.7","2368"],["75118.8","3607"],["75124.1","36074"],["75128.3","16569"],["75129.4","10216"],["75130.3","4382"],["75130.6","3421"],["75133.3","15453"],["75134.3","12155"],["75142.6","3058"],["75146.3","2339"],["75146.7","2865"],["75146.9","3776"],["75150.7","5520"],["75154","2645"],["75154.1","15194"],["75154.8","1517"],["75155.2","14501"],["75163","29791"],["75168","9741"],["75170.8","32983"],["75175.6","3587"],["75177.4","32797"],["75177.6","14517"],["75179.7","2157"],["75180.8","3153"],["75183.9","3260"],["75185.6","1741"],["75187.8","20840"],["75188.7","7152"],["75190.6","4712"],["75192.6","26774"],["75198.8","3724"],["75202.6","45154"],["75206","3067"],["75209.9","3279"],["75211.9","4391"],["75212.1","3476"],["75212.2","5545"],["75213.7","5168"],["75215.5","4048"],["75219.5","28137"],["75224.1","17343"],["75227","18576"],["75227.9","2217"],["75228.4","8551"],["75229.8","9535"],["75233.2","2503"],["75241.8","2395"],["75242.5","19420"],["75244.3","4037"],["75249.4","3520"],["75253.8","3130"],["75260.4","24420"],["75262","17901"],["75266.3","4464"],["75270.9","12828"],["75273.6","3223"],["75281.4","4319"],["75284.5","6945"],["75291.3","65371"],["75291.7","4196"],["75294.7","21974"],["75298.7","60536"],["75301.3","41879"],["75302.8","19363"],["75304.6","4503"],["75305","34497"],["75305.4","13176"],["75307.2","5687"],["75315.6","2964"],["75316.3","4372"],["75316.5","2120"],["75317.8","3755"],["75318","3799"],["75322.1","3266"],["75326.4","5212"],["75335.9","30618"],["75337.4","8268"],["75344.9","8702"],["75345.6","45570"],["75346.7","2780"],["75350.5","5114"],["75363.8","4518"],["75366.3","3438"],["75368.8","58130"],["75380.9","35426"],["75386.7","13291"],["75399.2","6334"],["75401","5798"],["75401.5","7774"],["75401.6","14309"],["75402.2","28332"],["75402.3","2980"],["75409.9","2810"],["75411.2","1174"],["75411.9","16284"],["75418.4","5177"],["75420.4","50013"],["75423.6","5330"],["75424.6","3431"],["75425.3","2034"],["75428.2","7249"],["75429.7","9395"],["75431.6","9539"],["75432.2","12542"],["75435.3","18868"],["75436.7","24015"],["75439.8","4005"],["75445","10580"],["75447.7","2537"],["75461.9","4758"],["75466.6","1734"],["75467.2","2888"],["75468.3","5819"],["75471.9","4969"],["75480.7","19308"],["75485.4","5427"],["75490.1","2933"],["75490.3","3747"],["75491.1","2855"],["75492.1","35855"],["75505.3","2797"],["75506.3","3975"],["75512.7","3165"],["75514","3738"],["75519.9","1267"],["75521.8","7205"],["75521.9","23080"],["75523","4151"],["75525.6","14959"],["75525.8","5633"],["75528.9","19235"],["75535","4399"],["75542.1","9788"],["75546.6","2776"],["75547.7","4347"],["75557","19558"],["75557.6","2749"],["75561.2","19246"],["75569.2","20167"],["75569.9","10009"],["75576.4","17372"],["75587.8","17... (set the log level to DEBUG or TRACE to see the full content) |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${data['s']}, btc_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位深度数据接口错误处理(无效交易对) | PASS | 0.28 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/depth?symbol=invalid_pair&level=100 | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": []
},
"data": null,
"ts": 1776593052832
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 未捕获到断言关键字 | |||
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位深度数据接口参数验证(缺少symbol参数) | PASS | 0.22 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/depth?level=100 | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": [
"symbol"
]
},
"data": null,
"ts": 1776593053114
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 未捕获到断言关键字 | |||
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位资金费率接口功能(BTC/USDT) | PASS | 0.63 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/funding-rate?symbol=btc_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"symbol": "btc_usdt",
"fundingRate": -0.000452,
"nextCollectionTime": 1776596400000,
"collectionInternal": 1
},
"ts": 1776593053755
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${data['symbol']}, btc_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位资金费率接口功能(ETH/USDT) | PASS | 0.24 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/funding-rate?symbol=eth_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"symbol": "eth_usdt",
"fundingRate": 0.00016,
"nextCollectionTime": 1776614400000,
"collectionInternal": 8
},
"ts": 1776593053992
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${data['symbol']}, eth_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位资金费率接口功能(SOL/USDT) | PASS | 0.22 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/funding-rate?symbol=sol_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"symbol": "sol_usdt",
"fundingRate": -0.002625,
"nextCollectionTime": 1776614400000,
"collectionInternal": 8
},
"ts": 1776593054218
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${data['symbol']}, sol_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位资金费率接口错误处理(无效交易对) | PASS | 0.24 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/funding-rate?symbol=invalid_symbol | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": []
},
"data": null,
"ts": 1776593054445
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 未捕获到断言关键字 | |||
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位资金费率接口参数验证(缺少symbol参数) | PASS | 0.21 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/funding-rate | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": [
"symbol"
]
},
"data": null,
"ts": 1776593054684
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 未捕获到断言关键字 | |||
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 测试获取所有期货U本位指数价格 | PASS | 0.89 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/index-price | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": [
{
"s": "trb_usdt",
"p": "15.164",
"t": 1776061641025
},
{
"s": "xrp_usdt",
"p": "1.8284",
"t": 1744189287376
},
{
"s": "eth_usdt",
"p": "2312.42",
"t": 1776593055207
},
{
"s": "sol_usdt",
"p": "84.64",
"t": 1776593055209
},
{
"s": "bnb_usdt",
"p": "599.36",
"t": 1776061637754
},
{
"s": "ordi_usdt",
"p": "2.256",
"t": 1776061643383
},
{
"s": "btc_usdt",
"p": "75061.3",
"t": 1776593055206
},
{
"s": "1000shib_usdt",
"p": "0.0058",
"t": 1776061707972
},
{
"s": "ada_usdt",
"p": "0.2394",
"t": 1776061663345
},
{
"s": "arb_usdt",
"p": "0.11",
"t": 1776061665430
},
{
"s": "doge_usdt",
"p": "0.09365",
"t": 1776593055210
},
{
"s": "raysol_usdt",
"p": "3.3966",
"t": 1747980978061
},
{
"s": "btx_usdt",
"p": "0.0445",
"t": 1776061697756
},
{
"s": "btc_usdc",
"p": "75074.0115",
"t": 1776593055212
},
{
"s": "xaut_usdt",
"p": "4703.4",
"t": 1776061848683
}
],
"ts": 1776593055403
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 测试获取单个期货U本位指数价格 | PASS | 0.23 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/index-price?symbol=btc_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": [
{
"s": "btc_usdt",
"p": "75061.3",
"t": 1776593055206
}
],
"ts": 1776593055796
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Integers | PASS | ${list_length}, 1, 单个指数价格查询应该只返回一个结果 |
- |
| Should Be Equal | PASS | ${index_price_list[0]['s']}, ${expected_symbol}, 返回的指数价格符号应该匹配查询参数 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 测试获取BTC期货U本位符号指数价格 | PASS | 0.23 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-index-price?symbol=btc_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"s": "btc_usdt",
"p": "75061.3",
"t": 1776593055206
},
"ts": 1776593056026
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal | PASS | ${symbol}, ${expected_symbol}, 返回的符号应该匹配查询参数 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 测试获取ETH期货U本位符号指数价格 | PASS | 0.22 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-index-price?symbol=eth_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"s": "eth_usdt",
"p": "2312.42",
"t": 1776593056221
},
"ts": 1776593056255
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal | PASS | ${symbol}, ${expected_symbol}, 返回的符号应该匹配查询参数 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 测试获取SOL期货U本位符号指数价格 | PASS | 0.31 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-index-price?symbol=sol_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"s": "sol_usdt",
"p": "84.64",
"t": 1776593056222
},
"ts": 1776593056471
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal | PASS | ${symbol}, ${expected_symbol}, 返回的符号应该匹配查询参数 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 测试获取无效交易对的符号指数价格 | PASS | 0.22 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-index-price?symbol=invalid_pair | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": []
},
"data": null,
"ts": 1776593056786
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200, HTTP状态码应该是200 |
- |
| Should Be Equal As Integers | PASS | ${response_data['code']}, 1, 无效交易对应该返回错误码1 |
- |
| Should Be Equal | PASS | ${response_data['msg']}, failure, 错误消息应该是failure |
- |
| Should Be Equal | PASS | ${response_data['data']}, ${None}, 错误情况下data应该为null |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 测试缺少symbol参数的符号指数价格请求 | PASS | 0.30 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-index-price | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": [
"symbol"
]
},
"data": null,
"ts": 1776593057000
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200, HTTP状态码应该是200 |
- |
| Should Be Equal As Integers | PASS | ${response_data['code']}, 1, 缺少参数应该返回错误码1 |
- |
| Should Be Equal | PASS | ${response_data['msg']}, failure, 错误消息应该是failure |
- |
| Should Be Equal | PASS | ${response_data['data']}, ${None}, 错误情况下data应该为null |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位标记价格接口功能 | PASS | 0.91 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/mark-price | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": [
{
"s": "trb_usdt",
"p": "44.994",
"t": 1776061641025
},
{
"s": "xrp_usdt",
"p": "1.8795",
"t": 1744189287376
},
{
"s": "eth_usdt",
"p": "3600",
"t": 1776593057250
},
{
"s": "sol_usdt",
"p": "84.46",
"t": 1776593057240
},
{
"s": "bnb_usdt",
"p": "2085",
"t": 1776593057250
},
{
"s": "ordi_usdt",
"p": "2.256",
"t": 1776061643383
},
{
"s": "btc_usdt",
"p": "75023.5",
"t": 1776593057236
},
{
"s": "1000shib_usdt",
"p": "0.0058",
"t": 1776061707972
},
{
"s": "ada_usdt",
"p": "0.2394",
"t": 1776061663345
},
{
"s": "arb_usdt",
"p": "0.11",
"t": 1776061665430
},
{
"s": "doge_usdt",
"p": "0.09362",
"t": 1776593057243
},
{
"s": "raysol_usdt",
"p": "3.3966",
"t": 1747980978061
},
{
"s": "btx_usdt",
"p": "0.0445",
"t": 1776061697756
},
{
"s": "btc_usdc",
"p": "75074.0115",
"t": 1776593057245
},
{
"s": "xaut_usdt",
"p": "4703.4",
"t": 1776061848683
}
],
"ts": 1776593057942
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位单个交易对标记价格接口功能 | PASS | 0.86 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-mark-price?symbol=btc_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"s": "btc_usdt",
"p": "75019.4",
"t": 1776593058253
},
"ts": 1776593058870
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${symbol_lower}, ${expected_lower}, 返回的交易对符号应与请求的符号匹配 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位ETH交易对标记价格接口功能 | PASS | 0.31 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-mark-price?symbol=eth_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"s": "eth_usdt",
"p": "3600",
"t": 1776593058264
},
"ts": 1776593059112
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal As Strings | PASS | ${symbol_lower}, ${expected_lower}, 返回的交易对符号应与请求的符号匹配 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位标记价格接口对无效交易对的处理 | PASS | 0.24 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-mark-price?symbol=invalid_symbol | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": []
},
"data": null,
"ts": 1776593059430
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200, HTTP状态码应为200 |
- |
| Should Be Equal As Integers | PASS | ${code}, 1, 业务错误码应为1 |
- |
| Should Be Equal As Strings | PASS | ${msg}, failure, 错误消息应为failure |
- |
| Should Be Equal | PASS | ${response_data}, ${None}, 错误情况下data应为null |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位标记价格接口对缺少参数的处理 | PASS | 0.28 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-mark-price | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": [
"symbol"
]
},
"data": null,
"ts": 1776593059664
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200, HTTP状态码应为200 |
- |
| Should Be Equal As Integers | PASS | ${code}, 1, 业务错误码应为1 |
- |
| Should Be Equal As Strings | PASS | ${msg}, failure, 错误消息应为failure |
- |
| Should Be Equal | PASS | ${response_data}, ${None}, 错误情况下data应为null |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位标记价格接口对大写交易对的处理(应返回错误) | PASS | 0.24 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/symbol-mark-price?symbol=BTC_USDT | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": []
},
"data": null,
"ts": 1776593059948
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200, HTTP状态码应为200 |
- |
| Should Be Equal As Integers | PASS | ${code}, 1, 业务错误码应为1 |
- |
| Should Be Equal As Strings | PASS | ${msg}, failure, 错误消息应为failure |
- |
| Should Be Equal | PASS | ${response_data}, ${None}, 错误情况下data应为null |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位单个Ticker接口功能(BTC交易对) | PASS | 0.81 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/ticker?symbol=btc_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"t": 1776593059322,
"s": "btc_usdt",
"c": "75019.30",
"h": "76400.00",
"l": "74828.10",
"a": "63350983",
"v": "479623742",
"o": "76368.70",
"r": "-0.0176"
},
"ts": 1776593060641
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal | PASS | ${ticker_data['s']}, btc_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位单个Ticker接口功能(ETH交易对) | PASS | 0.25 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/ticker?symbol=eth_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"t": 1771066847342,
"s": "eth_usdt",
"c": "2076.94",
"h": "2090.30",
"l": "1945.28",
"a": "26772406",
"v": "543280201",
"o": "1953.68",
"r": "0.0630"
},
"ts": 1776593060999
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal | PASS | ${ticker_data['s']}, eth_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位单个Ticker接口功能(SOL交易对) | PASS | 0.28 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/ticker?symbol=sol_usdt | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": {
"t": 1771066846936,
"s": "sol_usdt",
"c": "85.79",
"h": "86.36",
"l": "79.68",
"a": "15823628",
"v": "131982690",
"o": "80.13",
"r": "0.0706"
},
"ts": 1776593061246
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| Should Be Equal | PASS | ${ticker_data['s']}, sol_usdt |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位单个Ticker接口对无效交易对的处理 | PASS | 0.21 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/ticker?symbol=invalid_symbol | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": []
},
"data": null,
"ts": 1776593061521
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位单个Ticker接口对缺少symbol参数的处理 | PASS | 0.28 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/ticker | 200 | None |
{
"code": 1,
"msg": "failure",
"msgInfo": {
"code": "invalid_symbol",
"template": "无效交易对",
"args": [
"symbol"
]
},
"data": null,
"ts": 1776593061736
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位Tickers接口功能 | PASS | 0.91 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/tickers?isPredict=true&isDelivery=true | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": [
{
"t": 1776593061919,
"s": "btc_usdt",
"c": "75005.60",
"h": "76400.00",
"l": "74828.10",
"a": "63352266",
"v": "479633366",
"o": "76368.70",
"r": "-0.0178"
},
{
"t": 1771066847342,
"s": "eth_usdt",
"c": "2076.94",
"h": "2090.30",
"l": "1945.28",
"a": "26772406",
"v": "543280201",
"o": "1953.68",
"r": "0.0630"
},
{
"t": 1771066846936,
"s": "sol_usdt",
"c": "85.79",
"h": "86.36",
"l": "79.68",
"a": "15823628",
"v": "131982690",
"o": "80.13",
"r": "0.0706"
},
{
"t": 1776593060776,
"s": "doge_usdt",
"c": "0.09363",
"h": "0.09677",
"l": "0.09341",
"a": "36322568",
"v": "34525103",
"o": "0.09665",
"r": "-0.0312"
}
],
"ts": 1776593062669
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位Tickers接口功能(仅预测交易对) | PASS | 0.39 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/tickers?isPredict=true&isDelivery=false | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": [
{
"t": 1776593061919,
"s": "btc_usdt",
"c": "75005.60",
"h": "76400.00",
"l": "74828.10",
"a": "63352266",
"v": "479633366",
"o": "76368.70",
"r": "-0.0178"
},
{
"t": 1771066847342,
"s": "eth_usdt",
"c": "2076.94",
"h": "2090.30",
"l": "1945.28",
"a": "26772406",
"v": "543280201",
"o": "1953.68",
"r": "0.0630"
},
{
"t": 1771066846936,
"s": "sol_usdt",
"c": "85.79",
"h": "86.36",
"l": "79.68",
"a": "15823628",
"v": "131982690",
"o": "80.13",
"r": "0.0706"
},
{
"t": 1776593060776,
"s": "doge_usdt",
"c": "0.09363",
"h": "0.09677",
"l": "0.09341",
"a": "36322568",
"v": "34525103",
"o": "0.09665",
"r": "-0.0312"
}
],
"ts": 1776593063055
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证期货U本位Tickers接口功能(仅交割交易对) | PASS | 0.32 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/future-u/market/public/q/tickers?isPredict=false&isDelivery=true | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": null,
"data": [
{
"t": 1776593061919,
"s": "btc_usdt",
"c": "75005.60",
"h": "76400.00",
"l": "74828.10",
"a": "63352266",
"v": "479633366",
"o": "76368.70",
"r": "-0.0178"
},
{
"t": 1771066847342,
"s": "eth_usdt",
"c": "2076.94",
"h": "2090.30",
"l": "1945.28",
"a": "26772406",
"v": "543280201",
"o": "1953.68",
"r": "0.0630"
},
{
"t": 1771066846936,
"s": "sol_usdt",
"c": "85.79",
"h": "86.36",
"l": "79.68",
"a": "15823628",
"v": "131982690",
"o": "80.13",
"r": "0.0706"
},
{
"t": 1776593060776,
"s": "doge_usdt",
"c": "0.09363",
"h": "0.09677",
"l": "0.09341",
"a": "36322568",
"v": "34525103",
"o": "0.09665",
"r": "-0.0312"
}
],
"ts": 1776593063334
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证获取用户收益信息接口功能 | SKIP | 0.99 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/invite/public/user-team/profit/user?user-id=65340186169 | 200 | None |
{
"code": 401,
"msg": "登录失效,请重试",
"msgInfo": {
"template": "Token expire."
},
"ts": 1776593064104
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | NOT RUN | ${response} |
- |
| 验证响应字段值 | NOT RUN | ${response}, code, ${0} |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证余额货币列表接口功能 | PASS | 0.85 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/balance/public/currencies?version=4a2bb64c7fc890df605105b750aac8b3 | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": [],
"data": {
"time": 1776587785841,
"version": "1b0c83367aaa7bb584cd46fb04cfcac6",
"currencies": [
{
"id": 2,
"currency": "btc",
"displayName": "BTC",
"fullName": "Bitcoin",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/36594.png",
"cmcLink": "https://coinmarketcap.com/currencies/bitcoin/",
"weight": 99999,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2743,
"currency": "usdn",
"displayName": "USDN",
"fullName": "SMARDEX USDN",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/35672.png",
"cmcLink": null,
"weight": 99999,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 1,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 5,
"currency": "eth",
"displayName": "ETH",
"fullName": "Ethereum",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png",
"cmcLink": "https://coinmarketcap.com/currencies/ethereum/",
"weight": 99998,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 11,
"currency": "usdt",
"displayName": "USDT",
"fullName": "Tether USDt",
"logo": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/1/currency/usdt.png",
"cmcLink": "https://coinmarketcap.com/currencies/tether/",
"weight": 99997,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 1,
"plates": []
},
{
"id": 90,
"currency": "xrp",
"displayName": "XRP",
"fullName": "XRP",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/52.png",
"cmcLink": "https://coinmarketcap.com/currencies/xrp/",
"weight": 99996,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2714,
"currency": "seth",
"displayName": "SETH",
"fullName": "sETH",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/5765.png",
"cmcLink": null,
"weight": 1000,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2739,
"currency": "pengu",
"displayName": "PENGU",
"fullName": "Pudgy Penguins",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/34466.png",
"cmcLink": null,
"weight": 999,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 0,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2744,
"currency": "1000usdt",
"displayName": "1000USDT",
"fullName": null,
"logo": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/1/currency/1000usdt.png",
"cmcLink": null,
"weight": 999,
"maxPrecision": 1,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 1,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2745,
"currency": "btxtest",
"displayName": "BTXTEST",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 998,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 1,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2746,
"currency": "btxtest2",
"displayName": "BTXTEST2",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 997,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 0,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2740,
"currency": "raysol",
"displayName": "RAYSOL",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 980,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 0,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 28,
"currency": "pepe",
"displayName": "PEPE",
"fullName": "Pepe",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/24478.png",
"cmcLink": null,
"weight": 978,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 1,
"transferEnabled": 0,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 48,
"currency": "floki",
"displayName": "FLOKI",
"fullName": "FLOKI",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/10804.png",
"cmcLink": null,
"weight": 959,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 1,
"transferEnabled": 0,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2755,
"currency": "bxc",
"displayName": "BXC",
"fullName": "Bitcoin Classic (ARAW)",
"logo": "",
"cmcLink": null,
"weight": 253,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 0,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2733,
"currency": "btx",
"displayName": "BTX",
"fullName": "BitradexToken",
"logo": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/1/currency/btx.png",
"cmcLink": null,
"weight": 100,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 0,
"transferEnabled": 1,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2719,
"currency": "matic",
"displayName": "MATIC",
"fullName": "Polygon",
"logo": "https://noahex-dev-public.s3.ap-northeast-1.amazonaws.com/1/currency/3890.png",
"cmcLink": null,
"weight": 70,
"maxPrecision": 6,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 15,
"currency": "shib",
"displayName": "SHIB",
"fullName": "Shiba Inu",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/5994.png",
"cmcLink": null,
"weight": 30,
"maxPrecision": 10,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 6,
"currency": "etc",
"displayName": "ETC",
"fullName": "Ethereum Classic",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/1321.png",
"cmcLink": "https://coinmarketcap.com/currencies/ethereum-classic/",
"weight": 1,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 0,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 7,
"currency": "eos",
"displayName": "EOS",
"fullName": "EOS",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/1765.png",
"cmcLink": "https://coinmarketcap.com/currencies/eos/",
"weight": 1,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 73,
"currency": "trx",
"displayName": "TRX",
"fullName": "TRON",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/1958.png",
"cmcLink": "https://coinmarketcap.com/currencies/tron/",
"weight": 1,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 131,
"currency": "doge",
"displayName": "DOGE",
"fullName": "Dogecoin",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/74.png",
"cmcLink": "https://coinmarketcap.com/currencies/dogecoin/",
"weight": 1,
"maxPrecision": 18,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 675,
"currency": "bnb",
"displayName": "BNB",
"fullName": "BNB",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/1839.png",
"cmcLink": "",
"weight": 1,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2741,
"currency": "kkk",
"displayName": "KKK",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 0,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2748,
"currency": "TRNSK",
"displayName": "TRNSK",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 18,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 0,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2749,
"currency": "usdc",
"displayName": "USDC",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 0,
"transferEnabled": 1,
"isChainExist": 0,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2750,
"currency": "pol2",
"displayName": "POL2",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2751,
"currency": "pol",
"displayName": "POL",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 0,
"transferEnabled": 0,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2752,
"currency": "pol4",
"displayName": "POL4",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 0,
"transferEnabled": 0,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2753,
"currency": "pol6",
"displayName": "POL6",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 2754,
"currency": "pol7",
"displayName": "POL7",
"fullName": null,
"logo": null,
"cmcLink": null,
"weight": 1,
"maxPrecision": 8,
"depositStatus": 1,
"withdrawStatus": 1,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
},
{
"id": 941,
"currency": "sol",
"displayName": "SOL",
"fullName": "Solana",
"logo": "https://s2.coinmarketcap.com/static/img/coins/64x64/5426.png",
"cmcLink": "https://coinmarketcap.com/currencies/solana/",
"weight": 1,
"maxPrecision": 8,
"depositStatus": 0,
"withdrawStatus": 0,
"convertEnabled": 1,
"transferEnabled": 1,
"isChainExist": 1,
"ubcardEnabled": 0,
"plates": []
}
]
},
"ts": 1776593065263
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证货币价格转换接口功能 | PASS | 1.04 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/balance/public/price/currency/convert?converts=usd%2Cbtc%2Cusdt | 200 | None |
{"code":0,"msg":"success","msgInfo":[],"data":{"uft":{"btc":"0.00000012769011875037571741401972","usd":"0.00890268634536612168","usdt":"0.0089"},"ksm":{"btc":"0.00007044477337801626657335244955","usd":"4.911482017499736792","usdt":"4.91"},"vanry":{"btc":"0.00000007690101533730492644260064","usd":"0.005361617843950832832","usdt":"0.00536"},"pyth":{"btc":"0.00000063414643244568614715726645","usd":"0.04421334117586321104","usdt":"0.0442"},"bal":{"btc":"0.00001387374661029363131902888365","usd":"0.9672918759515774904","usdt":"0.967"},"fio":{"btc":"0.00000003027260118688682738691928","usd":"0.002110636875137361432","usdt":"0.00211"},"mbox":{"btc":"0.00000018077477486008247633894926","usd":"0.01260380314063068912","usdt":"0.0126"},"theta":{"btc":"0.00000305595452739663233811080891","usd":"0.2130642911868521256","usdt":"0.213"},"vib":{"btc":"0.00000003199426570936380335205213","usd":"0.002230673095524320376","usdt":"0.00223"},"fis":{"btc":"0.00000027403160316091867445031197","usd":"0.01910576507825763192","usdt":"0.0191"},"vic":{"btc":"0.00000077905319642083162422261467","usd":"0.05431638972509892216","usdt":"0.0543"},"bar":{"btc":"0.00000671449163766020626401811535","usd":"0.4681412595091398816","usdt":"0.468"},"stpt":{"btc":"0.00000101033013060690539553879419","usd":"0.070441255330413740304","usdt":"0.07042"},"rad":{"btc":"0.00000394548119734306992009611479","usd":"0.27508300505344758","usdt":"0.275"},"bat":{"btc":"0.00000142180795147890265120554537","usd":"0.09912991200289692792","usdt":"0.0991"},"cake":{"btc":"0.00002192252825287349395602495782","usd":"1.5284612062606105536","usdt":"1.528"},"ssv":{"btc":"0.00003539455314125583088318950978","usd":"2.4677446307885642904","usdt":"2.467"},"ape":{"btc":"0.00000144332875800986485076970599","usd":"0.10063036475773391472","usdt":"0.1006"},"qi":{"btc":"0.00000002123386244388270356997182","usd":"0.001480446718105826976","usdt":"0.00148"},"farm":{"btc":"0.00016413201780947170867599837532","usd":"11.443453010223419328","usdt":"11.44"},"ctk":{"btc":"0.00000251793436412257734900679326","usd":"0.1755529723159274556","usdt":"0.1755"},"band":{"btc":"0.00000305595452739663233811080891","usd":"0.2130642911868521256","usdt":"0.213"},"iotx":{"btc":"0.00000006556672389766483467214271","usd":"0.004571379393070019784","usdt":"0.00457"},"near":{"btc":"0.00007562411414980116926846044022","usd":"5.2725909804971716152","usdt":"5.271"},"shib":{"btc":"0.00000000012209470905232554552733","usd":"0.000008512568629108505112","usdt":"0.00000851"},"xmr":{"btc":"0.00170301315681680872551057754815","usd":"118.73582799943355544","usdt":"118.7"},"dock":{"btc":"0.00000005595409698050171886681763","usd":"0.00390117716257616568","usdt":"0.0039"},"astr":{"btc":"0.00000011331421998769296810516042","usd":"0.0079003839051350144976","usdt":"0.007898"},"waves":{"btc":"0.00001543759188487688448735788915","usd":"1.0763247761363985312","usdt":"1.076"},"reef":{"btc":"0.00000000987087659553466220009501","usd":"0.0006882076635518979456","usdt":"0.000688"},"iris":{"btc":"0.00000007474893468420870648618457","usd":"0.005211572568467134152","usdt":"0.00521"},"apt":{"btc":"0.0000133429000491965637297795882","usd":"0.930280707998931816","usdt":"0.93"},"stg":{"btc":"0.00000297274074214357849979605449","usd":"0.20726254053481577664","usdt":"0.2072"},"ai":{"btc":"0.00000030846489361045819375296897","usd":"0.0215064894859968108","usdt":"0.0215"},"combo":{"btc":"0.00000039598284016970447198055552","usd":"0.02760833068900055712","usdt":"0.0276"},"dent":{"btc":"0.00000000124820677879580757472132","usd":"0.0000870262597805452344","usdt":"0.000087"},"kda":{"btc":"0.0000000860832261238487982566425","usd":"0.0060018110193479472","usdt":"0.006"},"metis":{"btc":"0.00005251076793554776693655192777","usd":"3.661104721802247792","usdt":"3.66"},"glm":{"btc":"0.00000184935464122735168254686981","usd":"0.12893890673232506568","usdt":"0.1289"},"loka":{"btc":"0.00000177474917858668272405777964","usd":"0.12373733718222351144","usdt":"0.1237"},"ray":{"btc":"0.00000926829401266772061229850966","usd":"0.6461949864164623152","usdt":"0.646"},"wld":{"btc":"0.00000374748977725821768410583703","usd":"0.26127883970894730144","usdt":"0.2612"},"agld":{"btc":"0.00000380200915380332192300171062","usd":"0.265079986687867668","usdt":"0.265"},"iost":{"btc":"0.00000001573888317631035528125614","usd":"0.0010973311147041163464","usdt":"0.001097"},"zro":{"btc":"0.0000227259716966960827397536212","usd":"1.5844781091078580608","usdt":"1.584"},"wing":{"btc":"0.00000467718861939578470527757608","usd":"0.3260983987179051312","usdt":"0.326"},"dgb":{"btc":"0.00000006284075507040962272734903","usd":"0.004381322044124001456","usdt":"0.00438"},"bb":{"btc":"0.00000036728843146175487256167469","usd":"0.02560772701588457472","usdt":"0.0256"},"zrx":{"btc":"0.00000151649950021513632928785212","usd":"0.10573190412417966984","usdt":"0.1057"},"sui":{"btc":"0.00001350932761970267140640909705","usd":"0.94188420930300451392","usdt":"0.9416"},"bsw":{"btc":"0.00000016068868876451775674573268","usd":"0.01120338056944950144","usdt":"0.0112"},"omg":{"btc":"0.00000549497926757234828871567987","usd":"0.3831156034017106296","usdt":"0.383"},"blur":{"btc":"0.00000043328557149003895122510061","usd":"0.03020911546405133424","usdt":"0.0302"},"jst":{"btc":"0.00000103041621670247011513201078","usd":"0.071841677901594927984","usdt":"0.07182"},"pol":{"btc":"0.00000127403174663296221419830907","usd":"0.08882680308634961856","usdt":"0.0888"},"pivx":{"btc":"0.00000113916802570559909692956914","usd":"0.07942396582270450128","usdt":"0.0794"},"gmt":{"btc":"0.00000015925396832912027677478863","usd":"0.01110335038579370232","usdt":"0.0111"},"nkn":{"btc":"0.00000010473459178401603787891505","usd":"0.00730220340687333576","usdt":"0.0073"},"porto":{"btc":"0.00001357245531886016052513063488","usd":"0.9462855373838596752","usdt":"0.946"},"rsr":{"btc":"0.00000002439024740175715950604871","usd":"0.00170051312214858504","usdt":"0.0017"},"sc":{"btc":"0.00000001400287144947940451641385","usd":"0.0009762945924805994112","usdt":"0.000976"},"twt":{"btc":"0.00000575896782768548460336938355","usd":"0.40152115719437766768","usdt":"0.4014"},"arb":{"btc":"0.00000179626998511764492362194026","usd":"0.12523778993706049824","usdt":"0.1252"},"btc":{"btc":"1","usd":"69721.028005073621060088","usdt":"69699.99"},"cvc":{"btc":"0.00000043558112418667491917861107","usd":"0.030369163757900612832","usdt":"0.03036"},"ardr":{"btc":"0.00000062596852596392051132288541","usd":"0.043643169129025156056","usdt":"0.04363"},"vite":{"btc":"0.00000001233859574441832775011876","usd":"0.000860259579439872432","usdt":"0.00086"},"gmx":{"btc":"0.00008995697129942199417819141724","usd":"6.271892515218604824","usdt":"6.27"},"sei":{"btc":"0.00000078923971151215373201631736","usd":"0.055026604029055095912","usdt":"0.05501"},"matic":{"btc":"0.00000544332933189803900976169437","usd":"0.37951451679010186128","usdt":"0.3794"},"audio":{"btc":"0.00000028106173329436632630793778","usd":"0.019595912978171047608","usdt":"0.01959"},"ark":{"btc":"0.00000243472057886952351069203884","usd":"0.16975122166389110664","usdt":"0.1697"},"cvp":{"btc":"0.00000048637022759974571015003015","usd":"0.03391023225931590168","usdt":"0.0339"},"key":{"btc":"0.00000001797704705553042403592884","usd":"0.0012533782012071629736","usdt":"0.001253"},"btt":{"btc":"0","usd":"0","usdt":"0"},"cvx":{"btc":"0.00002546628772830526948425674093","usd":"1.77553575989043438","usdt":"1.775"},"flm":{"btc":"0.00000023959831271137915514765497","usd":"0.01670504067051845304","usdt":"0.0167"},"one":{"btc":"0.00000003170732162228430735786332","usd":"0.002210667058793160552","usdt":"0.00221"},"btx":{"btc":"0.00000258106206328006646772833109","usd":"0.17995430039678261688","usdt":"0.1799"},"ong":{"btc":"0.00000115035884510169944070293267","usd":"0.080204201255219734416","usdt":"0.08018"},"gno":{"btc":"0.00172797729239272487700500387446","usd":"120.476353195044460128","usdt":"120.44"},"storj":{"btc":"0.00000145337180105764721056631428","usd":"0.10133057604332450856","usdt":"0.1013"},"gns":{"btc":"0.00000985652939118068740038556677","usd":"0.6872073617153399544","usdt":"0.687"},"people":{"btc":"0.00000010674320039357250983823671","usd":"0.007442245663991454528","usdt":"0.00744"},"tnsr":{"btc":"0.0000005466284858864398689296799","usd":"0.03811149997285946472","usdt":"0.0381"},"bttc":{"btc":"0.00000000000459110539327193590702","usd":"0.000000320096587698557184","usdt":"0.00000032"},"vtho":{"btc":"0.00000000817790648176563583438104","usd":"0.000570172046838054984","usdt":"0.00057"},"polyx":{"btc":"0.00000071879493813413746544296491","usd":"0.05011512201155535912","usdt":"0.0501"},"t":{"btc":"0.0000000893830831252630021898138","usd":"0.006231880441756285176","usdt":"0.00623"},"ont":{"btc":"0.00000108407476098633586604531794","usd":"0.075582806770321815072","usdt":"0.07556"},"mana":{"btc":"0.00000131133447795329669344285415","usd":"0.09142758786140039568","usdt":"0.0914"},"cfx":{"btc":"0.00000084691547301513242684826784","usd":"0.059047817412018220536","usdt":"0.05903"},"w":{"btc":"0.00000017934005442468499636800522","usd":"0.01250377295697489","usdt":"0.0125"},"dodo":{"btc":"0.00000024992829984624101093845207","usd":"0.017425257992840206704","usdt":"0.01742"},"ankr":{"btc":"0.0000000720229658569534945413909","usd":"0.005021515219521115824","usdt":"0.00502"},"mina":{"btc":"0.00000082783369122434594323471209","usd":"0.05771741596939609224","usdt":"0.0577"},"sfp":{"btc":"0.00000430703074706323487277401331","usd":"0.30029061133470895824","usdt":"0.3002"},"dia":{"btc":"0.0000028321381394746254626435384","usd":"0.19745958253654746288","usdt":"0.1974"},"aca":{"btc":"0.00000002582496783715463947699275","usd":"0.00180054330580438416","usdt":"0.0018"},"algo":{"btc":"0.00000149641341411957160969463554","usd":"0.10433148155299848216","usdt":"0.1043"},"asr":{"btc":"0.00001870875447758313882111030432","usd":"1.3043935948716205248","usdt":"1.304"},"df":{"btc":"0.00000002352941514051867152348228","usd":"0.001640495011955105568","usdt"... (set the log level to DEBUG or TRACE to see the full content) |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证单一货币价格转换接口功能 | PASS | 0.38 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/balance/public/price/currency/convert?converts=usd | 200 | None |
{"code":0,"msg":"success","msgInfo":[],"data":{"uft":{"usd":"0.00890268634536612168"},"ksm":{"usd":"4.911482017499736792"},"vanry":{"usd":"0.005361617843950832832"},"pyth":{"usd":"0.04421334117586321104"},"bal":{"usd":"0.9672918759515774904"},"fio":{"usd":"0.002110636875137361432"},"mbox":{"usd":"0.01260380314063068912"},"theta":{"usd":"0.2130642911868521256"},"vib":{"usd":"0.002230673095524320376"},"fis":{"usd":"0.01910576507825763192"},"vic":{"usd":"0.05431638972509892216"},"bar":{"usd":"0.4681412595091398816"},"stpt":{"usd":"0.070441255330413740304"},"rad":{"usd":"0.27508300505344758"},"bat":{"usd":"0.09912991200289692792"},"cake":{"usd":"1.5284612062606105536"},"ssv":{"usd":"2.4677446307885642904"},"ape":{"usd":"0.10063036475773391472"},"qi":{"usd":"0.001480446718105826976"},"farm":{"usd":"11.443453010223419328"},"ctk":{"usd":"0.1755529723159274556"},"band":{"usd":"0.2130642911868521256"},"iotx":{"usd":"0.004571379393070019784"},"near":{"usd":"5.2725909804971716152"},"shib":{"usd":"0.000008512568629108505112"},"xmr":{"usd":"118.73582799943355544"},"dock":{"usd":"0.00390117716257616568"},"astr":{"usd":"0.0079003839051350144976"},"waves":{"usd":"1.0763247761363985312"},"reef":{"usd":"0.0006882076635518979456"},"iris":{"usd":"0.005211572568467134152"},"apt":{"usd":"0.930280707998931816"},"stg":{"usd":"0.20726254053481577664"},"ai":{"usd":"0.0215064894859968108"},"combo":{"usd":"0.02760833068900055712"},"dent":{"usd":"0.0000870262597805452344"},"kda":{"usd":"0.0060018110193479472"},"metis":{"usd":"3.661104721802247792"},"glm":{"usd":"0.12893890673232506568"},"loka":{"usd":"0.12373733718222351144"},"ray":{"usd":"0.6461949864164623152"},"wld":{"usd":"0.26127883970894730144"},"agld":{"usd":"0.265079986687867668"},"iost":{"usd":"0.0010973311147041163464"},"zro":{"usd":"1.5844781091078580608"},"wing":{"usd":"0.3260983987179051312"},"dgb":{"usd":"0.004381322044124001456"},"bb":{"usd":"0.02560772701588457472"},"zrx":{"usd":"0.10573190412417966984"},"sui":{"usd":"0.94188420930300451392"},"bsw":{"usd":"0.01120338056944950144"},"omg":{"usd":"0.3831156034017106296"},"blur":{"usd":"0.03020911546405133424"},"jst":{"usd":"0.071841677901594927984"},"pol":{"usd":"0.08882680308634961856"},"pivx":{"usd":"0.07942396582270450128"},"gmt":{"usd":"0.01110335038579370232"},"nkn":{"usd":"0.00730220340687333576"},"porto":{"usd":"0.9462855373838596752"},"rsr":{"usd":"0.00170051312214858504"},"sc":{"usd":"0.0009762945924805994112"},"twt":{"usd":"0.40152115719437766768"},"arb":{"usd":"0.12523778993706049824"},"btc":{"usd":"69721.028005073621060088"},"cvc":{"usd":"0.030369163757900612832"},"ardr":{"usd":"0.043643169129025156056"},"vite":{"usd":"0.000860259579439872432"},"gmx":{"usd":"6.271892515218604824"},"sei":{"usd":"0.055026604029055095912"},"matic":{"usd":"0.37951451679010186128"},"audio":{"usd":"0.019595912978171047608"},"ark":{"usd":"0.16975122166389110664"},"cvp":{"usd":"0.03391023225931590168"},"key":{"usd":"0.0012533782012071629736"},"btt":{"usd":"0"},"cvx":{"usd":"1.77553575989043438"},"flm":{"usd":"0.01670504067051845304"},"one":{"usd":"0.002210667058793160552"},"btx":{"usd":"0.17995430039678261688"},"ong":{"usd":"0.080204201255219734416"},"gno":{"usd":"120.476353195044460128"},"storj":{"usd":"0.10133057604332450856"},"gns":{"usd":"0.6872073617153399544"},"people":{"usd":"0.007442245663991454528"},"tnsr":{"usd":"0.03811149997285946472"},"bttc":{"usd":"0.000000320096587698557184"},"vtho":{"usd":"0.000570172046838054984"},"polyx":{"usd":"0.05011512201155535912"},"t":{"usd":"0.006231880441756285176"},"ont":{"usd":"0.075582806770321815072"},"mana":{"usd":"0.09142758786140039568"},"cfx":{"usd":"0.059047817412018220536"},"w":{"usd":"0.01250377295697489"},"dodo":{"usd":"0.017425257992840206704"},"ankr":{"usd":"0.005021515219521115824"},"mina":{"usd":"0.05771741596939609224"},"sfp":{"usd":"0.30029061133470895824"},"dia":{"usd":"0.19745958253654746288"},"aca":{"usd":"0.00180054330580438416"},"algo":{"usd":"0.10433148155299848216"},"asr":{"usd":"1.3043935948716205248"},"df":{"usd":"0.001640495011955105568"},"ast":{"usd":"0.02610787793416357032"},"jup":{"usd":"0.17465270066302526352"},"dusk":{"usd":"0.14794464162692689848"},"doge":{"usd":"0.09812961016633893672"},"bel":{"usd":"0.11023326238869063024"},"acm":{"usd":"0.4231276768640302776"},"juv":{"usd":"0.5071530311349015384"},"bome":{"usd":"0.0005361617843950832832"},"tia":{"usd":"0.39481913488943912664"},"ata":{"usd":"0.01090329001848210408"},"nmr":{"usd":"8.362523353624806432"},"loom":{"usd":"0.048324581724116554872"},"paxg":{"usd":"4777.421565364234811376"},"lit":{"usd":"0.7432242645625874616"},"woo":{"usd":"0.2120639893502941344"},"rei":{"usd":"0.004011210364597544712"},"rare":{"usd":"0.01560470865030466272"},"zec":{"usd":"323.367574704101815224"},"ren":{"usd":"0.042752900494488543888"},"atm":{"usd":"1.1043332275600222848"},"hbar":{"usd":"0.087686458992673508592"},"rep":{"usd":"4.731427686919298376"},"elf":{"usd":"0.22726857726597560064"},"pepe":{"usd":"0.000003721122831995727264"},"icx":{"usd":"0.0380114697892036656"},"req":{"usd":"0.11043332275600222848"},"xai":{"usd":"0.010613202485880286632"},"strax":{"usd":"0.013243996316027803488"},"chess":{"usd":"0.002810848160727955272"},"tusd":{"usd":"0.9993015347214332088"},"ctsi":{"usd":"0.033760186983832203"},"sxp":{"usd":"0.00220066404042758064"},"rvn":{"usd":"0.00585176574386424852"},"chr":{"usd":"0.018315526627376818872"},"fida":{"usd":"0.016164877678777137792"},"ntrn":{"usd":"0.00160048293849278592"},"sand":{"usd":"0.07872375453711390744"},"osmo":{"usd":"0.03280990023910211136"},"kava":{"usd":"0.055586773057527570984"},"ocean":{"usd":"0.61248481452445801176"},"vidt":{"usd":"0.00115034711204168988"},"adx":{"usd":"0.0795239960063603004"},"chz":{"usd":"0.040232139866362406064"},"xrp":{"usd":"2.13834523601001778824"},"c98":{"usd":"0.02110636875137361432"},"psg":{"usd":"0.835252033525922652"},"perp":{"usd":"0.1250377295697489"},"for":{"usd":"0.003060923619867453072"},"uma":{"usd":"0.4431337135951901016"},"syn":{"usd":"0.05141551439908074768"},"jasmy":{"usd":"0.00555167519289685116"},"sys":{"usd":"0.010433148155299848216"},"lunc":{"usd":"0.000042592852200639265296"},"luna":{"usd":"0.05681714431649390016"},"auction":{"usd":"4.681412595091398816"},"not":{"usd":"0.0003831156034017106296"},"gal":{"usd":"2.5427672685304136304"},"yfii":{"usd":"435.6314498210051676"},"alpha":{"usd":"0.00970292781461251464"},"tko":{"usd":"0.06291898551949764648"},"pixel":{"usd":"0.007612296976206313032"},"nexo":{"usd":"0.8892683327000541768"},"bico":{"usd":"0.0240072440773917888"},"troy":{"usd":"0.0000690208267225013928"},"mask":{"usd":"0.460138844816675952"},"enj":{"usd":"0.068260597326717319488"},"aave":{"usd":"92.908034579506222656"},"wan":{"usd":"0.055886863608494968344"},"gm":{"usd":"714.76567731251261196"},"oax":{"usd":"0.03581080574877608496"},"btxtest2":{"usd":"0.36891131732258715456"},"orn":{"usd":"1.0533178338955647336"},"ens":{"usd":"5.821756688767508784"},"pda":{"usd":"0.009772948943171574024"},"bond":{"usd":"2.1526495522727970624"},"tlm":{"usd":"0.0017925408911119202304"},"kp3r":{"usd":"16.484974266475694976"},"lqty":{"usd":"0.2890872307652594568"},"ckb":{"usd":"0.0015314621117702845272"},"bigtime":{"usd":"0.013073945003812944984"},"yfi":{"usd":"2665.804394427046548"},"xtz":{"usd":"0.3596085102425978364"},"dexe":{"usd":"14.8254735196259875752"},"meme":{"usd":"0.0005371620862316412744"},"dego":{"usd":"0.1610485956858365832"},"eos":{"usd":"0.78013540233157733688"},"alice":{"usd":"0.15834778072713000696"},"ooki":{"usd":"0.0001190359185504009528"},"rif":{"usd":"0.04311300915564942072"},"rune":{"usd":"0.4161255640081243392"},"hook":{"usd":"0.00780235432515233136"},"skl":{"usd":"0.006892079653884559368"},"alpaca":{"usd":"0.22446773212361322528"},"tom2":{"usd":"698.940902258165191176"},"gtc":{"usd":"0.1360410497718868032"},"tom3":{"usd":"698.870881129606131792"},"xec":{"usd":"0.000007022118892637098224"},"ygg":{"usd":"0.039041780680858396536"},"1inch":{"usd":"0.09372828208548377544"},"id":{"usd":"0.03130944748426512456"},"portal":{"usd":"0.01215366731417959308"},"zil":{"usd":"0.00395119225440406524"},"axs":{"usd":"1.0993317183772323288"},"btxtest":{"usd":"0.0940283726364511728"},"comp":{"usd":"24.90751573029398088"},"io":{"usd":"0.12143664295814013168"},"xvg":{"usd":"0.0036681068346581537304"},"iq":{"usd":"0.0011033329257234642936"},"pundix":{"usd":"0.14684430960671310816"},"unfi":{"usd":"1.3414047628242661992"},"cream":{"usd":"2.10063385677178152"},"forth":{"usd":"0.2370715352642439144"},"clv":{"usd":"0.029378864939708201544"},"powr":{"usd":"0.06471952882530203064"},"zk":{"usd":"0.015714741852326041752"},"ctxc":{"usd":"0.06341913643777664208"},"ghst":{"usd":"0.1080325983482630496"},"xvs":{"usd":"2.740827032168895888"},"slp":{"usd":"0.0006441943827433463328"},"hft":{"usd":"0.01530461809933726536"},"beamx":{"usd":"0.0019565903923074307872"},"idex":{"usd":"0.001990600654750402488"},"hive":{"usd":"0.0615185629483164588"},"kmd":{"usd":"0.01630491993589525656"},"city":{"usd":"0.6912085690615719192"},"steem":{"usd":"0.058437633291717845904"},"celr":{"usd":"0.0025517699850594355512"},"dot":{"usd":"7.3132067270754736632"},"celo":{"usd":"0.0827749769751737718"},"rdnt":{"usd":"0.003280990023910211136"},"ton":{"usd":"1.2873884636501346744"},"pros":{"usd":"0.03721122831995727264"},"prom":{"usd":"2.2816884891887779272"},"ftm":{"usd":"0.69961110448865904528"},"knc":{"usd":"0.13824171381231438384"},"mav":{"usd":"0.015624714687035822544"},"bifi":{"usd":"52.61587660295033712"},"ftt":{"usd":"0.29498901160095160488"},"rlc":{"usd":"0.4291294878833782248"},"pha":{"usd":"0.03110938711695352632"},"manta":{"usd":"0.064799552972226669936"},"phb":{"usd":"0.1390419552815607768"},"xaut":{"usd":"4776.181191086902902288"},"blz":{"usd":"0.05821756688767508784"},"lpt":{"usd":"2.0826284237137376784"},"gft":{"usd":"0.001960591599653662752"},"api3":{"usd":"0.34280343938842358424"},"voxel":{"usd":"0.0140042257118118768"},"waxp":{"usd":"0.006632001176379481656"},"mbl":{"usd":"0.00097529429064404... (set the log level to DEBUG or TRACE to see the full content) |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证24小时行情接口基本功能获取24小时行情数据 | PASS | 0.82 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/market/public/ticker/24h | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": [],
"data": [
{
"s": "woo_usdt",
"t": 1737084844329,
"cv": "0.000",
"cr": "0.0000",
"o": "0.212",
"l": "0.212",
"h": "0.212",
"c": "0.212",
"q": "36559.55",
"v": "7750.6246"
},
{
"s": "near_usdt",
"t": 1737734307394,
"cv": "-0.002",
"cr": "-0.0006",
"o": "3.227",
"l": "3.224",
"h": "3.227",
"c": "3.225",
"q": "1417.7",
"v": "4573.0788"
},
{
"s": "btc_usdt",
"t": 1776593066352,
"cv": "-1366.38",
"cr": "-0.0178",
"o": "76411.63",
"l": "74884.77",
"h": "76438.66",
"c": "75045.25",
"q": "585.321650",
"v": "44324672.881559"
},
{
"s": "btxtest2_usdt",
"t": 1751265479402,
"cv": "0.0000",
"cr": "0.0000",
"o": "0.3688",
"l": "0.3688",
"h": "0.3688",
"c": "0.3688",
"q": "271.1",
"v": "99.98168"
},
{
"s": "ordi_usdt",
"t": 1738896662752,
"cv": "0.0000",
"cr": "0.0000",
"o": "17.7201",
"l": "17.7201",
"h": "17.7201",
"c": "17.7201",
"q": "0.01",
"v": "0.177201"
},
{
"s": "gm_usdt",
"t": 1737720707553,
"cv": "0.00",
"cr": "0.0000",
"o": "688.26",
"l": "688.26",
"h": "688.26",
"c": "688.26",
"q": "0.343",
"v": "236.07318"
},
{
"s": "btxtest_usdt",
"t": 1755393000855,
"cv": "0.0000",
"cr": "0.0000",
"o": "0.0942",
"l": "0.0942",
"h": "0.0942",
"c": "0.0942",
"q": "743.0",
"v": "69.9906"
},
{
"s": "doge_usdt",
"t": 1772787429314,
"cv": "0.00000",
"cr": "0.0000",
"o": "0.09810",
"l": "0.09810",
"h": "0.09810",
"c": "0.09810",
"q": "10193",
"v": "999.93330"
},
{
"s": "uni_usdt",
"t": 1748397549795,
"cv": null,
"cr": null,
"o": null,
"l": null,
"h": null,
"c": null,
"q": "0.0",
"v": "0.0"
},
{
"s": "eth_usdt",
"t": 1765335417379,
"cv": "203.70",
"cr": "0.0656",
"o": "3101.70",
"l": "3090.80",
"h": "3388.03",
"c": "3305.40",
"q": "4672.402",
"v": "14594910.252319999"
},
{
"s": "fil_usdt",
"t": 1748397549786,
"cv": null,
"cr": null,
"o": null,
"l": null,
"h": null,
"c": null,
"q": "0.0",
"v": "0.0"
},
{
"s": "sol_usdt",
"t": null,
"cv": "5.710",
"cr": "0.0711",
"o": "80.200",
"l": "79.730",
"h": "86.400",
"c": "85.910",
"q": "261526.58",
"v": "21877602.2672"
},
{
"s": "shib_usdt",
"t": null,
"cv": "-0.00000006",
"cr": "-0.0070",
"o": "0.00000852",
"l": "0.00000846",
"h": "0.00000855",
"c": "0.00000846",
"q": "20738646210",
"v": "176699.83130074"
},
{
"s": "eos_edc",
"t": 1737084844329,
"cv": "0.000000",
"cr": "0.0000",
"o": "715.520000",
"l": "715.520000",
"h": "715.520000",
"c": "715.520000",
"q": "25.0",
"v": "17888.000000"
},
{
"s": "1000usdt_usdt",
"t": 1743222982661,
"cv": "0.0",
"cr": "0.0000",
"o": "1000.0",
"l": "1000.0",
"h": "1000.0",
"c": "1000.0",
"q": "1.0",
"v": "1000.0"
},
{
"s": "xrp_usdt",
"t": 1763448733063,
"cv": "0.0005",
"cr": "0.0002",
"o": "2.1364",
"l": "2.1364",
"h": "2.1380",
"c": "2.1369",
"q": "1943.8",
"v": "4154.16274"
},
{
"s": "doge_usdc",
"t": 1753092238970,
"cv": "-0.00041",
"cr": "-0.0015",
"o": "0.26970",
"l": "0.26929",
"h": "0.26970",
"c": "0.26929",
"q": "120",
"v": "32.31480"
},
{
"s": "xrp_btc",
"t": 1737722488115,
"cv": "0.000000000",
"cr": "0.0000",
"o": "0.000030209",
"l": "0.000030209",
"h": "0.000030209",
"c": "0.000030209",
"q": "6957360",
"v": "210.174888240"
},
{
"s": "ltc_usdt",
"t": 1737725746673,
"cv": "0.00",
"cr": "0.0000",
"o": "118.53",
"l": "118.53",
"h": "118.53",
"c": "118.53",
"q": "1.216",
"v": "144.13248"
},
{
"s": "dot_usdt",
"t": 1737733457161,
"cv": "-0.0003",
"cr": "0.0000",
"o": "6.4355",
"l": "6.4352",
"h": "6.4355",
"c": "6.4352",
"q": "234.41",
"v": "1508.501984"
},
{
"s": "strk_usdt",
"t": 1750499513986,
"cv": null,
"cr": null,
"o": null,
"l": null,
"h": null,
"c": null,
"q": "0.0",
"v": "0.0"
},
{
"s": "btx_usdt",
"t": 1776593061536,
"cv": "0.0000",
"cr": "0.0000",
"o": "0.1799",
"l": "0.1799",
"h": "0.2766",
"c": "0.1799",
"q": "90606438.4",
"v": "16360822.18621"
},
{
"s": "eos_usdt",
"t": 1743659925394,
"cv": "0.000",
"cr": "0.0000",
"o": "0.742",
"l": "0.742",
"h": "0.742",
"c": "0.742",
"q": "134.77",
"v": "99.99934"
},
{
"s": "tom3_usdt",
"t": 1736927910558,
"cv": "0.040",
"cr": "0.0000",
"o": "699.600",
"l": "699.600",
"h": "699.640",
"c": "699.640",
"q": "82.089",
"v": "57431.74968"
},
{
"s": "tom2_usdt",
"t": 1736927952719,
"cv": "0.00",
"cr": "0.0000",
"o": "699.62",
"l": "699.62",
"h": "699.62",
"c": "699.62",
"q": "27.68",
"v": "19365.4816"
}
],
"ts": 1776593067487
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证市场深度数据接口功能 | PASS | 0.85 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/market/public/depth?symbol=btc_usdt&limit=1000 | 200 | None |
{"code":0,"msg":"success","msgInfo":[],"data":{"timestamp":1776593061357,"lastUpdateId":1772103711669,"bids":[["75045.24","3.247680"],["75045.23","3.222080"],["75045.21","2.051250"],["75045.19","0.405590"],["75045.17","0.552230"],["75045.16","22.885390"],["75045.14","17.395870"],["75045.13","20.563800"],["75045.12","2.817340"],["75045.11","2.114060"],["75045.08","0.320060"],["75045.05","0.678060"],["75044.98","2.138820"],["75044.94","1.828390"],["75044.87","0.417690"],["75044.84","2.397410"],["75044.76","0.229800"],["75044.75","0.184840"],["75044.66","3.865720"],["75044.65","1.121950"],["75044.43","0.697900"],["75044.40","0.477160"],["75044.37","0.416640"],["75044.31","0.197220"],["75044.29","0.610390"],["75044.26","3.021330"],["75044.24","0.670160"],["75044.22","3.502450"],["75044.01","2.501470"],["75043.93","0.195220"],["75043.86","0.472270"],["75043.71","0.610150"],["75043.68","2.327220"],["75043.42","0.283590"],["75043.38","0.614530"],["75043.33","0.601770"],["75043.21","0.890300"],["75043.08","5.094730"],["75043.07","6.636110"],["75043.02","0.885050"],["75042.91","0.701890"],["75042.88","0.566770"],["75042.71","1.657840"],["75042.66","4.021210"],["75042.58","2.167100"],["75042.46","2.270020"],["75042.38","0.851310"],["75042.37","3.054310"],["75042.35","5.679460"],["75042.11","6.044700"],["75042.09","2.402100"],["75041.78","0.633480"],["75041.54","0.439270"],["75041.39","0.664810"],["75041.18","0.562850"],["75041.07","1.493050"],["75040.97","3.802370"],["75040.92","0.453730"],["75040.67","2.138650"],["75040.66","0.702190"],["75040.45","3.351650"],["75040.38","1.374470"],["75040.22","0.669620"],["75039.98","2.638060"],["75039.88","0.574500"],["75039.50","0.611410"],["75039.38","0.832240"],["75039.21","2.636120"],["75039.10","0.728420"],["75039.03","0.339620"],["75038.97","0.120640"],["75038.89","0.923980"],["75038.16","0.369440"],["75038.00","8.233860"],["75037.91","1.479810"],["75037.79","1.663280"],["75037.60","0.769030"],["75037.36","0.403940"],["75037.32","3.615380"],["75037.21","2.121780"],["75037.05","0.763430"],["75037.02","0.665870"],["75036.54","0.264710"],["75036.47","2.030180"],["75036.18","4.184200"],["75035.92","0.210470"],["75035.88","3.657190"],["75035.76","3.939490"],["75035.73","0.559490"],["75035.68","0.439020"],["75035.45","2.645580"],["75035.26","2.759610"],["75034.91","3.487120"],["75034.59","0.404610"],["75034.33","0.798370"],["75034.10","2.347000"],["75033.86","7.000930"],["75033.81","1.958960"],["75033.34","0.375890"],["75033.10","0.829150"],["75033.06","2.072690"],["75032.80","0.341840"],["75032.47","0.477840"],["75032.33","0.573840"],["75032.09","5.358680"],["75031.86","4.444590"],["75031.73","0.793880"],["75031.29","0.290770"],["75031.17","0.664010"],["75031.01","2.994170"],["75030.79","3.559270"],["75030.58","0.552120"],["75030.08","0.752820"],["75029.24","1.416150"],["75029.16","0.438920"],["75029.03","3.987710"],["75028.99","0.481140"],["75028.53","0.748590"],["75028.01","0.398480"],["75027.99","2.136960"],["75027.97","1.527290"],["75027.93","1.340690"],["75027.75","0.541200"],["75027.72","4.555690"],["75027.36","1.676230"],["75027.09","0.761560"],["75026.34","0.746580"],["75025.88","1.051070"],["75025.25","0.765110"],["75025.18","1.239860"],["75025.17","1.552660"],["75025.11","1.716940"],["75025.08","3.077210"],["75024.80","5.199040"],["75024.47","0.454250"],["75024.13","2.070280"],["75023.82","0.347010"],["75023.68","0.256760"],["75023.62","0.524480"],["75023.53","7.230710"],["75023.38","2.267830"],["75023.08","0.490370"],["75022.83","2.270910"],["75022.68","0.647030"],["75022.49","0.609310"],["75022.23","2.145920"],["75022.01","0.897440"],["75021.71","5.030520"],["75021.68","0.491280"],["75021.67","5.320890"],["75021.66","7.310850"],["75021.04","0.569740"],["75020.48","2.549460"],["75020.40","0.585590"],["75020.16","2.122240"],["75019.96","0.159990"],["75019.86","0.479450"],["75019.70","0.547210"],["75018.73","6.262200"],["75018.14","0.465800"],["75017.91","0.223650"],["75017.85","5.145060"],["75017.02","2.210860"],["75016.82","5.063460"],["75015.94","0.519090"],["75015.73","1.844570"],["75015.63","0.193420"],["75015.50","0.497440"],["75015.27","2.288740"],["75015.14","0.778090"],["75015.08","1.850180"],["75014.82","2.450630"],["75014.75","0.819260"],["75014.47","3.432360"],["75014.46","0.829090"],["75014.05","0.483460"],["75013.67","0.391000"],["75012.96","2.767990"],["75012.72","0.656510"],["75012.40","0.925590"],["75012.29","3.933990"],["75012.13","0.604540"],["75011.79","1.464470"],["75011.78","0.444310"],["75009.49","0.541420"],["75009.15","1.231450"],["75008.80","0.494080"],["75008.63","0.458610"],["75008.61","0.371230"],["75008.58","0.267820"],["75008.51","0.528910"],["75008.24","3.772040"],["75006.79","7.884640"],["75005.73","0.607930"],["75004.48","4.521410"],["71874.70","3.919560"],["71874.66","1.574140"],["70940.15","0.402920"],["70940.04","5.567660"],["0.01","1111.000001"]],"asks":[["75045.25","2.806720"],["75045.26","4.047120"],["75045.28","0.794860"],["75045.30","3.386660"],["75045.31","0.617900"],["75045.34","26.358000"],["75045.37","3.067910"],["75045.39","25.590730"],["75045.40","23.616000"],["75045.41","0.286300"],["75045.44","6.483090"],["75045.46","0.510330"],["75045.53","0.375730"],["75045.57","3.392090"],["75045.61","2.648420"],["75045.73","2.607260"],["75045.80","0.290350"],["75045.81","1.839200"],["75045.88","0.445190"],["75045.99","3.951740"],["75046.00","5.408200"],["75046.01","0.464720"],["75046.09","2.245040"],["75046.14","1.496190"],["75046.31","0.469850"],["75046.40","0.331820"],["75046.43","0.402600"],["75046.52","3.504790"],["75046.70","0.137350"],["75046.75","6.010920"],["75046.80","0.593700"],["75046.99","6.676110"],["75047.20","1.119800"],["75047.29","0.596750"],["75047.33","1.907840"],["75047.43","7.850300"],["75047.50","0.508390"],["75047.57","0.493120"],["75047.61","3.803390"],["75047.66","4.691120"],["75047.68","0.271540"],["75047.72","0.737610"],["75048.20","4.815660"],["75048.24","3.183770"],["75048.41","0.641550"],["75048.46","0.555070"],["75048.47","4.722540"],["75048.63","0.523380"],["75048.72","3.707850"],["75048.75","0.415060"],["75048.94","2.656590"],["75048.95","1.023030"],["75049.14","0.686260"],["75049.31","6.187470"],["75049.56","5.339490"],["75049.65","0.451310"],["75049.81","0.706970"],["75049.97","0.569360"],["75050.01","1.425980"],["75050.04","0.230170"],["75050.24","1.245830"],["75050.28","0.270690"],["75052.64","3.992640"],["75052.65","4.609480"],["75052.71","0.516360"],["75052.73","0.710640"],["75052.75","2.108670"],["75052.81","2.770100"],["75052.97","3.494700"],["75053.03","2.293440"],["75053.24","0.779190"],["75053.36","4.930700"],["75053.44","0.369830"],["75053.47","0.456980"],["75053.55","0.494720"],["75053.63","0.202640"],["75053.75","0.314480"],["75054.00","2.364620"],["75054.06","3.001330"],["75054.11","1.183420"],["75054.22","0.583780"],["75054.33","3.503060"],["75054.42","0.541410"],["75054.53","0.626580"],["75054.56","0.481000"],["75054.70","3.660560"],["75054.97","2.091320"],["75055.02","0.477580"],["75055.21","0.302790"],["75055.29","0.692160"],["75055.38","3.488800"],["75055.71","0.211840"],["75055.94","0.730800"],["75056.32","0.432140"],["75057.19","0.247470"],["75057.35","2.673560"],["75057.52","1.028560"],["75057.63","2.016000"],["75057.72","0.500260"],["75058.03","0.384990"],["75058.29","0.218410"],["75058.64","3.786430"],["75059.59","0.313470"],["75059.65","0.622980"],["75059.84","0.205500"],["75060.66","0.655200"],["75061.04","1.484810"],["75061.19","2.799070"],["75061.46","0.630340"],["75061.78","0.588930"],["75061.79","0.178590"],["75062.05","0.800570"],["75062.58","3.212380"],["75062.75","3.265440"],["75062.76","0.439210"],["75062.78","0.807290"],["75062.80","0.746140"],["75062.81","2.874570"],["75062.83","0.543550"],["75062.87","3.013840"],["75062.91","0.555780"],["75062.92","0.802410"],["75062.98","1.471060"],["75063.09","1.592310"],["75063.28","0.697450"],["75063.73","0.466030"],["75064.38","1.663630"],["75065.04","6.459040"],["75065.30","6.120530"],["75065.49","2.480770"],["75065.57","0.788240"],["75065.70","0.969640"],["75065.71","0.745040"],["75065.98","3.037580"],["75066.08","0.757610"],["75066.13","0.417170"],["75066.17","2.507890"],["75066.41","2.235570"],["75066.52","3.097630"],["75066.80","0.706170"],["75067.21","2.592110"],["75067.34","0.555910"],["75067.42","2.142700"],["75067.80","6.735220"],["75068.83","0.594800"],["75069.71","0.441790"],["75069.96","3.373400"],["75072.28","2.231790"],["75072.70","0.213550"],["75072.74","3.361810"],["75072.76","0.521780"],["75072.85","0.672870"],["75072.88","0.945050"],["75072.94","0.537420"],["75072.95","3.371410"],["75073.36","4.698150"],["75073.43","0.403720"],["75073.50","1.316590"],["75073.81","3.823280"],["75073.91","0.260760"],["75074.52","7.027650"],["75074.62","0.274360"],["75074.70","3.104650"],["75074.81","5.971130"],["75074.96","0.620060"],["75075.03","0.197660"],["75075.06","0.258640"],["75075.46","0.479010"],["75075.89","1.743040"],["75076.01","0.314660"],["75076.17","0.286460"],["75076.18","0.591550"],["75077.19","0.341930"],["75077.78","5.016030"],["75078.08","0.620260"],["75079.19","0.474090"],["75080.94","3.746520"],["75081.74","1.884660"],["75082.04","2.857410"],["75082.06","0.596000"],["75082.11","0.757390"],["75082.26","4.265160"],["75082.48","3.651310"],["75082.55","0.890250"],["75082.60","3.035720"],["75082.62","0.462490"],["75082.75","0.284990"],["75083.03","0.733910"],["75083.09","0.529290"],["75083.67","5.838250"],["75084.31","2.227020"],["75084.34","0.698510"],["75086.12","0.917600"],["75086.16","0.459780"],["76032.44","0.549190"],["76070.21","3.638640"],["76070.22","3.405280"],["76070.27","2.045720"],["76070.37","0.839560"],["76070.40","3.566440"],["76070.46","0.684050"],["76881.47","2.848320"],["76881.48","3.541440"],["76881.49","1.098180"],["76881.52","4.799280"],["76881.54","0.729500"],["76881.55","4.512620"],["76881.57","0.731270"],["76881.58","6.641280"],["76881.66","0.432980"],["76881.68","1.467100"],["76881.69",... (set the log level to DEBUG or TRACE to see the full content) |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证市场盘口数据接口功能 | PASS | 0.90 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/market/public/plate | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": [],
"data": [],
"ts": 1776593069340
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证市场交易对接口功能 | PASS | 0.85 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/market/public/symbol | 200 | None |
{"code":0,"msg":"success","msgInfo":[],"data":{"time":1776593069996,"version":"e761632b9e620fd181ed24a0011f3c3c","symbols":[{"id":614,"symbol":"btc_usdt","displayName":"BTC_USDT","state":"ONLINE","stateTime":1736315092000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"btc","baseCurrencyPrecision":8,"baseCurrencyId":2,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":2,"quantityPrecision":6,"orderTypes":["LIMIT","MARKET"],"timeInForces":["GTC","IOC"],"displayWeight":100001001,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9432,"symbol":"ordi_usdt","displayName":"ORDI_USDT","state":"ONLINE","stateTime":1734445671000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"ordi","baseCurrencyPrecision":8,"baseCurrencyId":8,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":4,"quantityPrecision":2,"orderTypes":[],"timeInForces":[],"displayWeight":100001000,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9480,"symbol":"btc_usdc","displayName":"BTC_USDC","state":"ONLINE","stateTime":1751904000000,"tradingEnabled":false,"openapiEnabled":true,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"btc","baseCurrencyPrecision":8,"baseCurrencyId":2,"quoteCurrency":"usdc","quoteCurrencyPrecision":8,"quoteCurrencyId":2749,"pricePrecision":4,"quantityPrecision":4,"orderTypes":[],"timeInForces":[],"displayWeight":999999,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9481,"symbol":"trnsk_usdc","displayName":"TRNSK_USDC","state":"ONLINE","stateTime":1756656000000,"tradingEnabled":true,"openapiEnabled":true,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"TRNSK","baseCurrencyPrecision":18,"baseCurrencyId":2748,"quoteCurrency":"usdc","quoteCurrencyPrecision":8,"quoteCurrencyId":2749,"pricePrecision":2,"quantityPrecision":2,"orderTypes":[],"timeInForces":[],"displayWeight":200000,"displayLevel":"FULL","plates":[],"filters":[]},{"id":620,"symbol":"eos_usdt","displayName":"EOS_USDT","state":"OFFLINE","stateTime":1744037747000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"eos","baseCurrencyPrecision":8,"baseCurrencyId":7,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":3,"quantityPrecision":2,"orderTypes":["LIMIT","MARKET"],"timeInForces":["GTC","IOC"],"displayWeight":100003,"displayLevel":"FULL","plates":[],"filters":[{"filter":"QUOTE_QTY","min":"5"}]},{"id":616,"symbol":"eth_usdt","displayName":"ETH_USDT","state":"ONLINE","stateTime":1733452840000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":4,"baseCurrency":"eth","baseCurrencyPrecision":8,"baseCurrencyId":5,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":2,"quantityPrecision":3,"orderTypes":["LIMIT","MARKET"],"timeInForces":["GTC","IOC"],"displayWeight":100002,"displayLevel":"FULL","plates":[],"filters":[{"filter":"QUANTITY","min":"0.001","max":"1000","tickSize":"0.001"},{"filter":"QUOTE_QTY","min":"5"}]},{"id":9473,"symbol":"usdn_usdt","displayName":"USDN_USDT","state":"OFFLINE","stateTime":1741847029000,"tradingEnabled":false,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"usdn","baseCurrencyPrecision":8,"baseCurrencyId":2743,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":2,"quantityPrecision":2,"orderTypes":[],"timeInForces":[],"displayWeight":9999,"displayLevel":"NONE","plates":[],"filters":[{"filter":"QUOTE_QTY","min":"1"}]},{"id":621,"symbol":"xrp_usdt","displayName":"XRP_USDT","state":"ONLINE","stateTime":1762790400000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"xrp","baseCurrencyPrecision":8,"baseCurrencyId":90,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":4,"quantityPrecision":1,"orderTypes":["LIMIT","MARKET"],"timeInForces":["GTC","IOC"],"displayWeight":9998,"displayLevel":"NONE","plates":[],"filters":[{"filter":"QUOTE_QTY","min":"0.1"}]},{"id":618,"symbol":"ltc_usdt","displayName":"LTC_USDT","state":"ONLINE","stateTime":1705569419000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"ltc","baseCurrencyPrecision":8,"baseCurrencyId":21,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":2,"quantityPrecision":3,"orderTypes":["LIMIT","MARKET"],"timeInForces":["GTC","IOC"],"displayWeight":9997,"displayLevel":"FULL","plates":[],"filters":[]},{"id":633,"symbol":"xrp_btc","displayName":"XRP_BTC","state":"OFFLINE","stateTime":1744094195000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"xrp","baseCurrencyPrecision":8,"baseCurrencyId":90,"quoteCurrency":"btc","quoteCurrencyPrecision":8,"quoteCurrencyId":2,"pricePrecision":9,"quantityPrecision":0,"orderTypes":["LIMIT","MARKET"],"timeInForces":["GTC","IOC"],"displayWeight":9909,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9479,"symbol":"doge_usdc","displayName":"DOGE_USDC","state":"ONLINE","stateTime":1753718400000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"doge","baseCurrencyPrecision":18,"baseCurrencyId":131,"quoteCurrency":"usdc","quoteCurrencyPrecision":8,"quoteCurrencyId":2749,"pricePrecision":5,"quantityPrecision":0,"orderTypes":[],"timeInForces":[],"displayWeight":1000,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9437,"symbol":"gm_usdt","displayName":"GM_USDT","state":"ONLINE","stateTime":1736736993000,"tradingEnabled":true,"openapiEnabled":true,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"gm","baseCurrencyPrecision":8,"baseCurrencyId":2735,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":2,"quantityPrecision":3,"orderTypes":[],"timeInForces":[],"displayWeight":1000,"displayLevel":"SEARCH","plates":[],"filters":[{"filter":"PROTECTION_ONLINE","durationSeconds":"300","maxPriceMultiple":"1"},{"filter":"PROTECTION_MARKET","maxDeviation":"0.01"}]},{"id":9438,"symbol":"doge_usdt","displayName":"DOGE_USDT","state":"ONLINE","stateTime":1736924257000,"tradingEnabled":true,"openapiEnabled":true,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"doge","baseCurrencyPrecision":18,"baseCurrencyId":131,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":5,"quantityPrecision":0,"orderTypes":[],"timeInForces":[],"displayWeight":1000,"displayLevel":"FULL","plates":[],"filters":[{"filter":"PROTECTION_ONLINE","durationSeconds":"300","maxPriceMultiple":"5"}]},{"id":9474,"symbol":"1000usdt_usdt","displayName":"1000USDT_USDT","state":"ONLINE","stateTime":1742825160000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"1000usdt","baseCurrencyPrecision":1,"baseCurrencyId":2744,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":1,"quantityPrecision":1,"orderTypes":[],"timeInForces":[],"displayWeight":999,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9475,"symbol":"btxtest_usdt","displayName":"BTXTEST_USDT","state":"ONLINE","stateTime":1743583533000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"btxtest","baseCurrencyPrecision":8,"baseCurrencyId":2745,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":4,"quantityPrecision":1,"orderTypes":[],"timeInForces":[],"displayWeight":998,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9477,"symbol":"btxtest2_usdt","displayName":"BTXTEST2_USDT","state":"ONLINE","stateTime":1743586442000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"btxtest2","baseCurrencyPrecision":8,"baseCurrencyId":2746,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":4,"quantityPrecision":1,"orderTypes":[],"timeInForces":[],"displayWeight":997,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9482,"symbol":"etc_usdc","displayName":"ETC_USDC","state":"ONLINE","stateTime":1757952000000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"etc","baseCurrencyPrecision":8,"baseCurrencyId":6,"quoteCurrency":"usdc","quoteCurrencyPrecision":8,"quoteCurrencyId":2749,"pricePrecision":3,"quantityPrecision":3,"orderTypes":[],"timeInForces":[],"displayWeight":666,"displayLevel":"FULL","plates":[],"filters":[]},{"id":9476,"symbol":"cc_usdt","displayName":"CC_USDT","state":"OFFLINE","stateTime":1743158130000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"cc","baseCurrencyPrecision":8,"baseCurrencyId":2742,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":4,"quantityPrecision":4,"orderTypes":[],"timeInForces":[],"displayWeight":111,"displayLevel":"NONE","plates":[],"filters":[]},{"id":9434,"symbol":"dot_usdt","displayName":"DOT_USDT","state":"ONLINE","stateTime":1734445769000,"tradingEnabled":true,"openapiEnabled":false,"nextStateTime":null,"nextState":null,"depthMergePrecision":5,"baseCurrency":"dot","baseCurrencyPrecision":8,"baseCurrencyId":16,"quoteCurrency":"usdt","quoteCurrencyPrecision":8,"quoteCurrencyId":11,"pricePrecision":4,"quantityPrecision":2,"orderTypes":[],"timeInForces":[],"displayWeight":99,"disp... (set the log level to DEBUG or TRACE to see the full content) |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证市场服务器时间接口功能 | PASS | 0.81 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/market/public/time | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": [],
"data": {
"serverTime": 1776593071043
},
"ts": 1776593071043
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证热门市场排行榜接口功能 | PASS | 0.73 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/market/public/top/market-top-symbol?marketTopType=HOT | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": [],
"data": [],
"ts": 1776593071718
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |
| 用例说明 | 状态 | 耗时 | 标签 |
|---|---|---|---|
| 验证最近交易记录接口功能 | PASS | 0.87 秒 | - |
| 方法 | 请求地址 | HTTP状态 | 请求参数/Body | 返回结果/Body |
|---|---|---|---|---|
| GET | https://app.bitradex-test.com/v1/spot/market/public/trade/recent?symbol=btc_usdt&limit=30 | 200 | None |
{
"code": 0,
"msg": "success",
"msgInfo": [],
"data": [
{
"i": 616105802543150144,
"t": 1776593070193,
"p": "75042.55",
"q": "0.000960",
"v": "72.040848",
"b": true
},
{
"i": 616105800177562688,
"t": 1776593069609,
"p": "75045.25",
"q": "0.001070",
"v": "80.2984175",
"b": true
},
{
"i": 616105796880839744,
"t": 1776593068716,
"p": "75045.24",
"q": "0.001130",
"v": "84.8011212",
"b": false
},
{
"i": 616105794641081408,
"t": 1776593068274,
"p": "75045.24",
"q": "0.001250",
"v": "93.80655",
"b": false
},
{
"i": 616105791474381888,
"t": 1776593067425,
"p": "75045.24",
"q": "0.000870",
"v": "65.2893588",
"b": false
},
{
"i": 616105788269933632,
"t": 1776593066656,
"p": "75045.24",
"q": "0.001340",
"v": "100.5606216",
"b": false
},
{
"i": 616105785858208832,
"t": 1776593066208,
"p": "75045.25",
"q": "0.000880",
"v": "66.03982",
"b": true
},
{
"i": 616105782485988416,
"t": 1776593065294,
"p": "75045.24",
"q": "0.001570",
"v": "117.8210268",
"b": false
},
{
"i": 616105779659027520,
"t": 1776593064708,
"p": "75045.25",
"q": "0.001770",
"v": "132.8300925",
"b": true
},
{
"i": 616105776211309632,
"t": 1776593063884,
"p": "75045.25",
"q": "0.001930",
"v": "144.8373325",
"b": true
},
{
"i": 616105774646834240,
"t": 1776593063501,
"p": "75045.24",
"q": "0.001860",
"v": "139.5841464",
"b": false
},
{
"i": 616105771975062592,
"t": 1776593062900,
"p": "75045.24",
"q": "0.002060",
"v": "154.5931944",
"b": false
},
{
"i": 616105770540610624,
"t": 1776593062522,
"p": "75045.24",
"q": "0.001300",
"v": "97.558812",
"b": false
},
{
"i": 616105768477013056,
"t": 1776593061945,
"p": "75045.24",
"q": "0.002020",
"v": "151.5913848",
"b": false
},
{
"i": 616105766824457280,
"t": 1776593061578,
"p": "75045.25",
"q": "0.001770",
"v": "132.8300925",
"b": true
},
{
"i": 616105763037000768,
"t": 1776593060740,
"p": "75062.74",
"q": "0.001520",
"v": "114.0953648",
"b": true
},
{
"i": 616105760088405056,
"t": 1776593059964,
"p": "75062.74",
"q": "0.001450",
"v": "108.840973",
"b": true
},
{
"i": 616105758729450560,
"t": 1776593059711,
"p": "75062.74",
"q": "0.002140",
"v": "160.6342636",
"b": true
},
{
"i": 616105756787487808,
"t": 1776593059217,
"p": "75062.73",
"q": "0.001370",
"v": "102.8359401",
"b": false
},
{
"i": 616105755097183296,
"t": 1776593058779,
"p": "75062.73",
"q": "0.001370",
"v": "102.8359401",
"b": false
},
{
"i": 616105751758517312,
"t": 1776593058033,
"p": "75062.73",
"q": "0.001480",
"v": "111.0928404",
"b": false
},
{
"i": 616105748017198144,
"t": 1776593057067,
"p": "75062.73",
"q": "0.002010",
"v": "150.8760873",
"b": false
},
{
"i": 616105746284950592,
"t": 1776593056681,
"p": "75062.74",
"q": "0.003050",
"v": "228.941357",
"b": true
},
{
"i": 616105743332160576,
"t": 1776593055962,
"p": "75062.73",
"q": "0.002330",
"v": "174.8961609",
"b": false
},
{
"i": 616105740379370560,
"t": 1776593055241,
"p": "75062.74",
"q": "0.002410",
"v": "180.9012034",
"b": true
},
{
"i": 616105736927458368,
"t": 1776593054522,
"p": "75062.73",
"q": "0.003070",
"v": "230.4425811",
"b": false
},
{
"i": 616105734297629760,
"t": 1776593053920,
"p": "75062.73",
"q": "0.002780",
"v": "208.6743894",
"b": false
},
{
"i": 616105731474863168,
"t": 1776593053130,
"p": "75062.73",
"q": "0.003390",
"v": "254.4626547",
"b": false
},
{
"i": 616105729574843456,
"t": 1776593052762,
"p": "75062.73",
"q": "0.002400",
"v": "180.150552",
"b": false
},
{
"i": 616105727620297792,
"t": 1776593052292,
"p": "75062.74",
"q": "0.003740",
"v": "280.7346476",
"b": true
}
],
"ts": 1776593072640
} |
| 断言关键字 | 结果 | 断言入参 | 失败信息 |
|---|---|---|---|
| 验证接口响应成功 | PASS | ${response} |
- |
| Should Be Equal As Integers | PASS | ${response.status_code}, 200 |
- |