mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-11-26 10:19:42 +08:00
test(wxapi): 适配新的模型测试
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"env": "test-env-6gni9ity244a6ea3",
|
||||
"function_name": "echo",
|
||||
"delay_time": 10,
|
||||
"data": "{\"test\":true}"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"task_url": "pages/index/index",
|
||||
"run_count": 100,
|
||||
"run_time": 100,
|
||||
"source_type": 9
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"pressure_id": 1038
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "xxx",
|
||||
"file_url": "xxx"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"query_id": "xxx"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"PostData": {
|
||||
"ExtensionFiles": [
|
||||
{
|
||||
"FileType": "SMS",
|
||||
"FileName": "gongzi.csv"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Response": {
|
||||
"FilesData": [
|
||||
{
|
||||
"CodeUri": "extension://xxx.zip",
|
||||
"UploadUrl": "https://xxx",
|
||||
"CustomKey": "",
|
||||
"MaxSize": 30
|
||||
}
|
||||
],
|
||||
"RequestId": "83793d78-b90b-4b1e-9454-d7b4f5317f01"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"PostData": {
|
||||
"StartDate": "2021-03-01",
|
||||
"EndDate": "2021-03-23",
|
||||
"EnvId": "xxx",
|
||||
"QueryId": "xxx",
|
||||
"PageNumber": 1,
|
||||
"PageSize": 20
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"cloudid_list": [ "xxx" ]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"data_list": [
|
||||
{
|
||||
"cloud_id": "xxx",
|
||||
"json": {
|
||||
"cloudID": "xxx",
|
||||
"data": {
|
||||
"stepInfoList": [
|
||||
{
|
||||
"timestamp": 1603641600,
|
||||
"step": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"pressure_id": 1038
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"pressure_id": 1038
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"status": "Crawling",
|
||||
"beg_time": 1618906859,
|
||||
"end_time": 1618906869
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"group_id": "xxx",
|
||||
"nonce": "yyy",
|
||||
"timestamp": 12312312312
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"signature": "xxxx"
|
||||
}
|
||||
@@ -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" ]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"send_status_list": [
|
||||
{
|
||||
"serial_no": "8:gFIqWUHzllUyOFRHgeu20201231",
|
||||
"phone_number": "+8612345678910",
|
||||
"code": "Ok",
|
||||
"message": "send success",
|
||||
"iso_code": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"env": "online-12345678910",
|
||||
"url_link": "https://wxaurl.cn/xxxxxx",
|
||||
"template_id": "844110",
|
||||
"template_param_list": [ "能力上新" ],
|
||||
"phone_number_list": [
|
||||
"+8612345678910"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"send_status_list": [
|
||||
{
|
||||
"serial_no": "8:gFIqWUHzllUyOFRHgeu20201231",
|
||||
"phone_number": "+8612345678910",
|
||||
"code": "Ok",
|
||||
"message": "send success",
|
||||
"iso_code": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user