mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Update HAR: 标准网 (#800)
Co-authored-by: wangleii123 <wangleii123@users.noreply.github.com>
This commit is contained in:
parent
b12411f7d7
commit
181bc1c079
File diff suppressed because one or more lines are too long
38
标准网.har
38
标准网.har
|
@ -162,7 +162,13 @@
|
|||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "jinbi",
|
||||
"re": "<font color=\"red\">(\\d+)",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -253,5 +259,35 @@
|
|||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=拥有金币:【{{jinbi}}】个"
|
||||
},
|
||||
"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