Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源论坛 评论区 #782

Open
loveqianool opened this issue Oct 31, 2024 · 6 comments
Open

源论坛 评论区 #782

loveqianool opened this issue Oct 31, 2024 · 6 comments
Labels

Comments

@loveqianool
Copy link
Collaborator

loveqianool commented Oct 31, 2024

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
Copy link
Contributor

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
Copy link
Collaborator Author

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
Copy link
Contributor

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
Copy link

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
Copy link

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
Copy link
Collaborator Author

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了,但是还是不行

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants