mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 13:57:18 +00:00
Add HAR: 真白萌 (#387)
Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
This commit is contained in:
parent
ad08ff534d
commit
9f75800a14
File diff suppressed because one or more lines are too long
322
真白萌.har
Normal file
322
真白萌.har
Normal file
|
@ -0,0 +1,322 @@
|
|||
[
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://masiro.me/admin/auth/login",
|
||||
"headers": [
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://masiro.me/admin"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "token",
|
||||
"re": "name=\"_token\" value=\"(.+)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://masiro.me/admin/auth/login",
|
||||
"headers": [
|
||||
{
|
||||
"name": "origin",
|
||||
"value": "https://masiro.me"
|
||||
},
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://masiro.me/admin"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "x-csrf-token",
|
||||
"value": "{{token}}"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "username={{username|urlencode}}&password={{password|urlencode}}&activationcode=&remember=1&_token={{token}}",
|
||||
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u767b\\\\u5f55\\\\u6210\\\\u529f!",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "\\\\u7528\\\\u6237\\\\u540d\\\\u6216\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef\\\\u3002",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u5b58\\\\u5728!",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u5bc6\\\\u7801\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://masiro.me/admin",
|
||||
"headers": [
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://masiro.me/admin/auth/login"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://masiro.me/admin/wishingPondIndex",
|
||||
"headers": [
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://masiro.me/admin"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "token",
|
||||
"re": "name=\"_token\" value=\"(.+)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://masiro.me/admin/gachiyaWishingPond",
|
||||
"headers": [
|
||||
{
|
||||
"name": "origin",
|
||||
"value": "https://masiro.me"
|
||||
},
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://masiro.me/admin/wishingPondIndex"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "x-csrf-token",
|
||||
"value": "{{token}}"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "wp_id=1&cost=NaN",
|
||||
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "msg",
|
||||
"re": "\"msg\":\"(.+?)\"",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "msg1",
|
||||
"re": "style=\\\\\"color:.*?\\\\\">(.+?)<\\\\/div>",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://masiro.me/admin/dailySignIn",
|
||||
"headers": [
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://masiro.me/admin"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "x-csrf-token",
|
||||
"value": "{{token}}"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "sign",
|
||||
"re": "\"msg\":\"(.+)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://masiro.me/admin/userCenterShow",
|
||||
"headers": [
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://masiro.me/admin"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "name",
|
||||
"re": "(.*)<span class=\"user-lev\"",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "lv",
|
||||
"re": "<span class=\"user-lev\">(.+)</span>",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "money",
|
||||
"re": "金币:(\\d+)",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "exp",
|
||||
"re": "经验值:(.+) 粉丝",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "content=用户名:{{name}},金币:{{money}}\\r\\n 等级:{{lv|capitalize}},经验:{{exp}}\\r\\n 祈愿结果:{{msg}} {{msg1|urlencode}}\\r\\n 签到结果:{{sign|urlencode}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user