test(wxapi): 适配新的模型测试

This commit is contained in:
Fu Diwei
2021-05-28 19:27:38 +08:00
parent dc78ea6577
commit 27cd4178e7
988 changed files with 11052 additions and 206 deletions

View File

@@ -0,0 +1,6 @@
{
"env": "test-env-6gni9ity244a6ea3",
"function_name": "echo",
"delay_time": 10,
"data": "{\"test\":true}"
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,9 @@
{
"report_action": "sendSmsTask",
"env_id": "xxx",
"activity_id": "xxx",
"task_id": "xxx",
"phone_count": "12345",
"channel_id": "xxx",
"session_id": "xxx"
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": ""
}

View File

@@ -0,0 +1,6 @@
{
"task_url": "pages/index/index",
"run_count": 100,
"run_time": 100,
"source_type": 9
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"pressure_id": 1038
}

View File

@@ -0,0 +1,4 @@
{
"env": "xxx",
"file_url": "xxx"
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"query_id": "xxx"
}

View File

@@ -0,0 +1,10 @@
{
"PostData": {
"ExtensionFiles": [
{
"FileType": "SMS",
"FileName": "gongzi.csv"
}
]
}
}

View File

@@ -0,0 +1,13 @@
{
"Response": {
"FilesData": [
{
"CodeUri": "extension://xxx.zip",
"UploadUrl": "https://xxx",
"CustomKey": "",
"MaxSize": 30
}
],
"RequestId": "83793d78-b90b-4b1e-9454-d7b4f5317f01"
}
}

View File

@@ -0,0 +1,10 @@
{
"PostData": {
"StartDate": "2021-03-01",
"EndDate": "2021-03-23",
"EnvId": "xxx",
"QueryId": "xxx",
"PageNumber": 1,
"PageSize": 20
}
}

View File

@@ -0,0 +1,18 @@
{
"Response": {
"SmsRecords": [
{
"Content": "【XXX】XXX跳转小程序 https://xxx/xxx 回T退订",
"ContentSize": 51,
"CreateTime": "2021-03-22 17:18:37",
"Fee": 1,
"Mobile": "+86xxxxxxxxxxx",
"ReceivedTime": "2021-03-22 17:18:43",
"Remarks": "用户短信接收成功",
"Status": "sent"
}
],
"TotalCount": 1,
"RequestId": "bf34127a-35bd-48a2-86bb-ae583d2ff9ff"
}
}

View File

@@ -0,0 +1,3 @@
{
"cloudid_list": [ "xxx" ]
}

View File

@@ -0,0 +1,20 @@
{
"errcode": 0,
"errmsg": "ok",
"data_list": [
{
"cloud_id": "xxx",
"json": {
"cloudID": "xxx",
"data": {
"stepInfoList": [
{
"timestamp": 1603641600,
"step": 1234
}
]
}
}
}
]
}

View File

@@ -0,0 +1,3 @@
{
"pressure_id": 1038
}

View File

@@ -0,0 +1,55 @@
{
"errcode": 0,
"errmsg": "ok",
"report": {
"blankpage_pencent": 0,
"aver_time_cost": 3450,
"max_time_cost": 5773,
"total_launch_cnt": 36,
"total_request_cnt": 72,
"network_list": [
{
"path": "http://wx.cloud.callContainer",
"aver_time_cost": 89,
"max_time_cost": 141,
"total_request_cnt": 36,
"succ_percent": 100,
"top_time_cost_list": [
{
"time_cost": 141
},
{
"time_cost": 133
},
{
"time_cost": 131
}
],
"over_count": 0
},
{
"path": "http://wx.cloud.callFunction.echo",
"aver_time_cost": 67,
"max_time_cost": 102,
"total_request_cnt": 36,
"succ_percent": 100,
"top_time_cost_list": [
{
"time_cost": 102
},
{
"time_cost": 94
},
{
"time_cost": 91
}
],
"over_count": 0
}
],
"appid": "wx5a3f90aefe6d7eaf",
"task_url": "pages/index/index",
"run_time": 10,
"pressure_id": 1066
}
}

View File

@@ -0,0 +1,3 @@
{
"pressure_id": 1038
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"status": "Crawling",
"beg_time": 1618906859,
"end_time": 1618906869
}

View File

@@ -0,0 +1,14 @@
{
"action": "smsMarketingOverviewData",
"begin_date": 1614182400,
"end_date": 1614268800,
"page_offset": 0,
"page_limit": 1000,
"condition": {
"env_id": "xxx",
"activity_id": "xxx",
"by_channel_id": 0,
"channel_id": "xxx",
"act_type": "h5"
}
}

View File

@@ -0,0 +1,83 @@
{
"data_column": [
{
"col_id": "appid",
"col_name": "小程序id",
"col_data_type": "0"
},
{
"col_id": "env_id",
"col_name": "环境id",
"col_data_type": "0"
},
{
"col_id": "activity_id",
"col_name": "活动id",
"col_data_type": "0"
},
{
"col_id": "channel_id",
"col_name": "渠道",
"col_data_type": "0"
},
{
"col_id": "h5_open_uercnt",
"col_name": "h5打开人数",
"col_data_type": "1"
},
{
"col_id": "jump_wxapp_uercnt",
"col_name": "小程序跳转人数",
"col_data_type": "1"
},
{
"col_id": "sms_send_uercnt",
"col_name": "短信下发人数",
"col_data_type": "1"
},
{
"col_id": "sms_send_list",
"col_name": "下发记录数组",
"col_data_type": "0"
},
{
"col_id": "jump_wxapp_uercnt_percent",
"col_name": "跳转人数渠道占比",
"col_data_type": "2"
},
{
"col_id": "h5_open_uercnt_percent",
"col_name": "h5打开人数渠道占比",
"col_data_type": "2"
},
{
"col_id": "h5_sms_rate",
"col_name": "短信到h5转化率",
"col_data_type": "2"
},
{
"col_id": "jump_h5_rate",
"col_name": "h5到跳转转化率",
"col_data_type": "2"
}
],
"data_value": [
{
"data_value": [
"xxxxxxxxxxxxxxxxxx",
"wedcvfr",
"21ded5cb6001691405171ba161c603d1",
"_cms_sms_",
"5000",
"3000",
"10000",
"[task1:5000,task2:5000]",
"0.535714",
"0.625",
"0.5",
"0.6"
]
}
],
"total_num": 1
}

View File

@@ -0,0 +1,5 @@
{
"group_id": "xxx",
"nonce": "yyy",
"timestamp": 12312312312
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"signature": "xxxx"
}

View File

@@ -0,0 +1,11 @@
{
"env": "online-12345678910",
"phone_number_list": [
"+8612345678910"
],
"sms_type": "Marketing",
"content": "发布了新的能力",
"path": "/index.html",
"template_id": "923584",
"template_param_list": [ "商品", "/index.html" ]
}

View File

@@ -0,0 +1,12 @@
{
"errcode": 0,
"send_status_list": [
{
"serial_no": "8:gFIqWUHzllUyOFRHgeu20201231",
"phone_number": "+8612345678910",
"code": "Ok",
"message": "send success",
"iso_code": ""
}
]
}

View File

@@ -0,0 +1,9 @@
{
"env": "online-12345678910",
"url_link": "https://wxaurl.cn/xxxxxx",
"template_id": "844110",
"template_param_list": [ "能力上新" ],
"phone_number_list": [
"+8612345678910"
]
}

View File

@@ -0,0 +1,12 @@
{
"errcode": 0,
"send_status_list": [
{
"serial_no": "8:gFIqWUHzllUyOFRHgeu20201231",
"phone_number": "+8612345678910",
"code": "Ok",
"message": "send success",
"iso_code": ""
}
]
}