qd-today / templates

基于开源新版 QD 框架站发布的公共har模板库,仅供示例
1.09k stars 294 forks source link

源论坛 评论区 #782

Open loveqianool opened 3 weeks ago

loveqianool commented 3 weeks ago

HAR 模板名称

源论坛

作者信息

Test

模板备注及说明

阅读书源论坛,登陆签到 https://bbs.cloudepay.cc/

HAR 文件名

bbs.cloudepay.cc.har

其他信息

暂无

HAR 模板内容

[{"request":{"method":"POST","url":"https://bbs.cloudepay.cc/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1","headers":[],"cookies":[],"data":"username={{username}}&password={{password}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"sid","re":"","from":"content"},{"name":"doid","re":"","from":"content"},{"name":"blogid","re":"","from":"content"}]}},{"comment":"取 formhash","request":{"method":"GET","url":"https://bbs.cloudepay.cc/plugin.php?id=k_misign%3Asign","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"formhash","re":"formhash=(\\w+)","from":"content"}]}},{"comment":"签到","request":{"method":"GET","url":"https://bbs.cloudepay.cc/plugin.php?id=k_misign%3Asign&operation=qiandao&inajax=1&ajaxtarget=JD_sign&formhash={{formhash|urlencode}}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"发起一次分享","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=share&type=thread&id=839&inajax=1","headers":[],"cookies":[],"data":"sharesubmit=true&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"发起二次分享","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=share&type=thread&id=193&inajax=1","headers":[],"cookies":[],"data":"sharesubmit=true&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"发起三次分享","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=share&type=thread&id=9&inajax=1","headers":[],"cookies":[],"data":"sharesubmit=true&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"获取分享 ID","request":{"method":"GET","url":"https://bbs.cloudepay.cc/home.php?mod=space&do=share&view=me","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"sids","re":"/delete.+sid=(\\d+)/g","from":"content"}]}},{"comment":"For 循环开始 删除分享","request":{"method":"GET","url":"{% for sid in sids %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"删除分享","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=share&op=delete&sid={{sid|urlencode}}&type=&inajax=1","headers":[],"cookies":[],"data":"deletesubmit=true&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[]}},{"comment":"For 循环开始 发表记录","request":{"method":"GET","url":"{% for value in range(0, 5, 1) %}     ","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me","headers":[],"cookies":[],"data":"message={{date_time(1,1,0)}}&add=&addsubmit=true&topicid=&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"301","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"获取记录 ID","request":{"method":"GET","url":"https://bbs.cloudepay.cc/home.php?mod=space&do=doing&view=me&from=space","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"doids","re":"/doid=(\\d+)/g","from":"content"}]}},{"comment":"For 循环开始 删除记录","request":{"method":"GET","url":"{% for doid in doids %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"删除记录","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&op=delete&doid={{doid|urlencode}}","headers":[],"cookies":[],"data":"handlekey=register&formhash={{formhash}}&deletesubmit=true"},"rule":{"success_asserts":[{"re":"302","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环开始 发表日志","request":{"method":"GET","url":"{% for value in range(0, 3, 1) %}     ","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"发表日志","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=blog&blogid=","headers":[{"name":"Content-Type","value":"multipart/form-data; boundary=---------------------------"}],"cookies":[],"data":"-----------------------------\nContent-Disposition: form-data; name=\"subject\"\n\n{{date_time(1,1,0)}}\n-----------------------------\nContent-Disposition: form-data; name=\"savealbumid\"\n\n0\n-----------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"\"\nContent-Type: application/octet-stream\n\n\n-----------------------------\nContent-Disposition: form-data; name=\"view_albumid\"\n\nnone\n-----------------------------\nContent-Disposition: form-data; name=\"file\"; filename=\"\"\nContent-Type: application/octet-stream\n\n\n-----------------------------\nContent-Disposition: form-data; name=\"message\"\n\n{{date_time(1,1,0)}}\n-----------------------------\nContent-Disposition: form-data; name=\"classid\"\n\n0\n-----------------------------\nContent-Disposition: form-data; name=\"tag\"\n\n\n-----------------------------\nContent-Disposition: form-data; name=\"friend\"\n\n3\n-----------------------------\nContent-Disposition: form-data; name=\"blogsubmit\"\n\ntrue\n-----------------------------\nContent-Disposition: form-data; name=\"formhash\"\n\n{{formhash}}\n-------------------------------"},"rule":{"success_asserts":[{"re":"301","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[]}},{"comment":"获取日志 ID","request":{"method":"GET","url":"https://bbs.cloudepay.cc/home.php?mod=space&do=blog&view=me&from=space","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"blogids","re":"/blog_delete_(\\d+)/g","from":"content"}]}},{"comment":"For 循环开始 删除日志","request":{"method":"GET","url":"{% for blogid in blogids %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"删除日志","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=blog&op=delete&blogid={{blogid|urlencode}}","headers":[],"cookies":[],"data":"deletesubmit=true&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"301","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环开始 留言","request":{"method":"GET","url":"{% for value in range(0, 20, 1) %}     ","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"留言","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=comment&inajax=1","headers":[],"cookies":[],"data":"message={{date_time(1,1,0)}}&id={{random(1111,6666,0)|urlencode}}&idtype=uid&commentsubmit=true&quickcomment=true&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"cid","re":"cid':'(\\d+)","from":"content"}]}},{"comment":"删除留言","request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=comment&op=delete&cid={{cid|urlencode}}&inajax=1","headers":[],"cookies":[],"data":"deletesubmit=true&formhash={{formhash}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"延时","request":{"method":"GET","url":"api://util/delay/8","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[]}},{"comment":"For 循环开始 打招呼","request":{"method":"GET","url":"{% for value in range(0, 12, 1) %}     ","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"POST","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=poke&op=send&uid={{random(1111,6666,0)|urlencode}}&inajax=1","headers":[],"cookies":[],"data":"pokesubmit=true&formhash={{formhash}}&from=&handlekey=a_poke_{{random(1111,6666,0)|urlencode}}&iconid=0&note="},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"For 循环结束","request":{"method":"GET","url":"{% endfor %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=credit&showcredit=1","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"(源币: </em>\\d+)","from":"content"}]}}]
wangleii123 commented 3 weeks ago

Failed at 11/34 request, Fail assert: {"re": "301", "from": "status"} from success_asserts, Request URL: https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me

楼主,麻烦看下这是怎么个情况?

loveqianool commented 3 weeks ago

Failed at 11/34 request, Fail assert: {"re": "301", "from": "status"} from success_asserts, Request URL: https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me

楼主,麻烦看下这是怎么个情况?

那个八秒延时再加两个,它之前十五秒延时的,现在改三十了。

wangleii123 commented 3 weeks ago

Failed at 11/34 request, Fail assert: {"re": "301", "from": "status"} from success_asserts, Request URL: https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me 楼主,麻烦看下这是怎么个情况?

那个八秒延时再加两个,它之前十五秒延时的,现在改三十了。

感谢楼主,成功了,但是不是加2个,而是加4个,后边发表日志的那个延时也要加

haicao8848 commented 1 week ago

Failed at 12/44 request, Fail assert: {"re": "301", "from": "status"} from success_asserts, Request URL: https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me 这个怎么解决?看过楼上把延迟都改成12了,但是还是不行

addiswork2024 commented 1 week ago

Failed at 12/44 request, Fail assert: {"re": "301", "from": "status"} from success_asserts, Request URL: https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me 这个怎么解决?看过楼上把延迟都改成12了,但是还是不行

出现同样问题,请问怎么解决?

loveqianool commented 1 week ago

Failed at 12/44 request, Fail assert: {"re": "301", "from": "status"} from success_asserts, Request URL: https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me 这个怎么解决?看过楼上把延迟都改成12了,但是还是不行在 12/44 请求中失败, 失败 assert: {“re”: “301”, “from”: “status”} from success_asserts, 请求 URL:https://bbs.cloudepay.cc/home.php?mod=spacecp&ac=doing&view=me 这个怎么解决?看过楼上把延迟都改成12了,但是还是不行

应该已经签到了,后面错误无需理会,会自动重试。