mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: 尚香书苑 sxsy.org (#904)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
This commit is contained in:
parent
b942262804
commit
e613ddba79
66
sxsy.org.har
66
sxsy.org.har
|
@ -29,6 +29,31 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{{Domain}}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "301",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "Domain",
|
||||
"re": ".+",
|
||||
"from": "header-location"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
|
@ -75,10 +100,30 @@
|
|||
"name": "idhash",
|
||||
"re": "seccode_(\\w+)\"",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "s",
|
||||
"re": "",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "While 循环开始",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% while int(loop_index0) < 66 and s != 'succeed' %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
|
@ -160,7 +205,26 @@
|
|||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "s",
|
||||
"re": "succeed",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "While 循环结束",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% endwhile %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": []
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user