|
第一步:新建一个线程(线程(用户)->线程组)
第二步:添加一个事物控制器(逻辑控制器->事物控制器)
第三步:增加一个HTTP请求默认值
输入协议:http
服务器名称或IP:47.107.178.45
端口:80
内容编码:utf-8
第四步:增加打开首页HTTP请求
HTTP请求为:get
路径:/phpwind/
第五步:增加一个登录HTTP请求
协议:http
http请求:post
路径:/phpwind/index.php?m=u&c=login&a=dologin
参数为:
username | 小同志 | false | text/plain | true | password | 123456 | false | text/plain | true | csrf_token | ${t_value} | false | text/plain | true | csrf_token | ${t_value} | false | text/plain | true | 在打开首页HTTP请求中增加一个正则表达式
引用名称为:t_value
正则表达式:<input type="hidden" name="csrf_token" value="(.+?)"/>
模板:$1$
匹配数字:0
增加HTTPcookie管理器
第六步:增加登录之后的跳转的HTTP请求
HTTP请求:get
路径:/phpwind/index.php
参数:
m | u | false | text/plain | true | c | login | false | text/plain | true | a | welcome | false | text/plain | true | _statu | ${statu_value} | false | text/plain | true | 在登录HTTP请求中增加一个正则表达式
引用名称:statu_value
正则表达式:_statu=(.+?)"
模板:$1$
匹配数字:0
再增加一个HTTP信息头管理器
参数:
X-Requested-With | XMLHttpRequest | Accept | application/json, text/javascript, */*; q=0.01 | User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0 | 第七步:增加进入板块HTTP请求
HTTP请求:get
路径:/phpwind/index.php
参数:
c | thread | false | text/plain | true | fid | 13 | false | text/plain | true | 第八步:增加一个进入发帖页面1请求
http请求:get
路径:/phpwind/index.php
参数
c | post | false | text/plain | true | fid | 13 | false | text/plain | true | 第九步:增加一个进入发帖页面2HTTP请求
HTTP请求:get
路径:/phpwind/index.php
参数
m | emotion | false | text/plain | true | type | bbs | false | text/plain | true | csrf_token | ${t_value} | false | text/plain | true | 第十步:增加一个发帖1HTTP请求
HTTP请求:post
路径:/phpwind/index.php?c=post&a=doadd&_json=1&fid=13
参数
atc_title | 大家好,我是刘倩 | false | text/plain | true | atc_content | 大家好,我是老六! | false | text/plain | true | pid | | false | text/plain | true | tid | | false | text/plain | true | special | default | false | text/plain | true | reply_notice | 1 | false | text/plain | true | csrf_token | ${t_value} | false | text/plain | true | 增加一个HTTP信息头管理器
参数
Accept | application/json, text/javascript, */*; q=0.01 | User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.70 | X-Requested-With | XMLHttpRequest | 第十一步:增加一个发帖2HTTP请求
HTTP请求:get
路径:/phpwind/read.php
参数
tid | ${tid} | false | text/plain | true | fid | ${fid} | false | text/plain | true | 在发帖1中增加两个正则表达式
引用名称:tid
正则表达式:tid=(.+?)&
模板:$1$
匹配数字:0
引用名称:fid
正则表达式:fid=(.+?)"
模板:$1$
匹配数字:0
第十二步:增加一个发帖3HTTP请求
HTTP请求:珀斯特
路径:/phpwind/index.php?m=u&a=showcredit
参数
csrf_token | ${t_value} | false | text/plain | true | 第十三步:增加一个退出HTTP请求
HTTP请求:get
路径:/phpwind/index.php
参数
m | u | false | text/plain | true | c | login | false | text/plain | true | a | logout | false | text/plain | true |
|
|