Loadrunner查询博客列表并循环删除博客列表中的所有博客,在博客列表请求中使用关联,获取出列表中博客的数量,并找出博客列表请求的必要参数。关联使用Ordinal=All 找出所有匹配值

查找出所有相关信息再循环逐个删除

 // 查询博客列表,关联出博客id,删除参数_wpnonce, 用Ordinal=All匹配出所有博客
web_reg_save_param("_wpnonce","LB=\;_wpnonce=","RB=\" class=\"submitdelete","Ordinal=All",LAST);
web_reg_save_param("id","LB=tr id=\"post-","RB=\" class=","Ordinal=All",LAST);

完整代码

Action()
{
int i;
int count;
char c_id[];
char c_nonce[];
// 打开登陆页
web_url("wp-login.php",
"URL=http://autotest/wordpress/wp-login.php",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t19.inf",
"Mode=HTTP",
LAST);
// 登录
web_submit_data("wp-login.php_2",
"Action=http://autotest/wordpress/wp-login.php",
"Method=POST",
"RecContentType=text/html",
"Referer=http://autotest/wordpress/wp-login.php",
"Snapshot=t20.inf",
"Mode=HTTP",
ITEMDATA,
"Name=log", "Value=admin", ENDITEM,
"Name=pwd", "Value=123456", ENDITEM,
"Name=wp-submit", "Value=鐧诲綍", ENDITEM,
"Name=redirect_to", "Value=http://autotest/wordpress/wp-admin/", ENDITEM,
"Name=testcookie", "Value=1", ENDITEM,
LAST); // 查询博客列表,关联出博客id,删除参数_wpnonce, 用Ordinal=All匹配出所有博客
web_reg_save_param("_wpnonce","LB=\;_wpnonce=","RB=\" class=\"submitdelete","Ordinal=All",LAST);
web_reg_save_param("id","LB=tr id=\"post-","RB=\" class=","Ordinal=All",LAST); web_url("edit.php",
"URL=http://autotest/wordpress/wp-admin/edit.php",
"Resource=0",
"RecContentType=text/html",
"Referer=http://autotest/wordpress/wp-admin/edit.php",
"Snapshot=t28.inf",
"Mode=HTTP",
LAST);
// 找出博客数量 以便循环
count = atoi(lr_eval_string("{id_count}"));
lr_message("count:%d:",count);
for(i=;i<=count;i++){
// 组装id_1 id_2 ... 格式,并赋值给c语言变量c_id
sprintf(c_id, "{id_%d}", i );
lr_output_message("post id c 变量 %s ", lr_eval_string(c_id) );
// 把c变量变成 loadrunner参数
lr_save_string(lr_eval_string(c_id),"lr_id");
// 组装_wpnonce_1 _wpnonce_2 ... 格式,并赋值给c语言变量c_nonce
sprintf(c_nonce, "{_wpnonce_%d}", i );
lr_output_message("nonce c 变量 %s ", lr_eval_string(c_nonce) );
// 把c变量变成 loadrunner参数
lr_save_string(lr_eval_string(c_nonce),"lr_nonce");
//把post参数值替换为lr_id,把_wpnonce参数替换为 lr_nonce值
web_url("回收站",
"URL=http://autotest/wordpress/wp-admin/post.php?post={lr_id}&action=trash&_wpnonce={lr_nonce}",
"Resource=0",
"RecContentType=text/html",
"Referer=http://autotest/wordpress/wp-admin/edit.php",
"Snapshot=t29.inf",
"Mode=HTTP",
LAST); }
return ;
}

执行结果

Virtual User Script started at: 2019/8/11 21:28:34
Starting action vuser_init.
Web Turbo Replay of LoadRunner 12.60.0 for Windows 10; build 971 (8月 09 2018 11:27:13) [MsgId: MMSG-26983]
Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 [MsgId: MMSG-26988]
Runtime Settings file: "C:\Users\think\Documents\VuGen\Scripts\WebHttpHtml18\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Maximum number of concurrent connections per server: 6 [MsgId: MMSG-26989]
Starting action Action.
Action.c(8): web_url("wp-login.php") started [MsgId: MMSG-26355]
Action.c(8): web_url("wp-login.php") was successful, 2349 body bytes, 477 header bytes [MsgId: MMSG-26386]
Action.c(17): web_submit_data("wp-login.php_2") started [MsgId: MMSG-26355]
Action.c(17): Redirecting "http://autotest/wordpress/wp-login.php" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(17): To location "http://autotest/wordpress/wp-admin/" [MsgId: MMSG-26693]
Action.c(17): web_submit_data("wp-login.php_2") was successful, 59583 body bytes, 1945 header bytes, 61 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(34): web_reg_save_param started [MsgId: MMSG-26355]
Action.c(34): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
Action.c(35): web_reg_save_param started [MsgId: MMSG-26355]
Action.c(35): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
Action.c(37): web_url("edit.php") started [MsgId: MMSG-26355]
Action.c(37): Notify: Saving Parameter "id_1 = 1708".
Action.c(37): Notify: Saving Parameter "_wpnonce_1 = 8cb9046989".
Action.c(37): Notify: Saving Parameter "id_2 = 1701".
Action.c(37): Notify: Saving Parameter "_wpnonce_2 = 916416b2a3".
Action.c(37): Notify: Saving Parameter "id_3 = 1703".
Action.c(37): Notify: Saving Parameter "_wpnonce_3 = f08a5e26f5".
Action.c(37): Notify: Saving Parameter "id_4 = 1702".
Action.c(37): Notify: Saving Parameter "_wpnonce_4 = b92c4098ea".
Action.c(37): Notify: Saving Parameter "id_5 = 1696".
Action.c(37): Notify: Saving Parameter "_wpnonce_5 = dbdfd7cf13".
Action.c(37): Notify: Saving Parameter "id_6 = 1693".
Action.c(37): Notify: Saving Parameter "_wpnonce_6 = 0c95e8ce8e".
Action.c(37): Notify: Saving Parameter "id_7 = 1694".
Action.c(37): Notify: Saving Parameter "_wpnonce_7 = 782b95dc99".
Action.c(37): Notify: Saving Parameter "id_8 = 1695".
Action.c(37): Notify: Saving Parameter "_wpnonce_8 = f9ad3b99ff".
Action.c(37): Notify: Saving Parameter "id_9 = 1684".
Action.c(37): Notify: Saving Parameter "_wpnonce_9 = 50324b4dea".
Action.c(37): Notify: Saving Parameter "id_10 = 1687".
Action.c(37): Notify: Saving Parameter "_wpnonce_10 = 4ca0a7ab99".
Action.c(37): Notify: Saving Parameter "id_11 = 1685".
Action.c(37): Notify: Saving Parameter "_wpnonce_11 = 8401a1ab7d".
Action.c(37): Notify: Saving Parameter "id_12 = 1686".
Action.c(37): Notify: Saving Parameter "_wpnonce_12 = 8ee456f365".
Action.c(37): Notify: Saving Parameter "id_13 = 1683".
Action.c(37): Notify: Saving Parameter "_wpnonce_13 = d7ef5966ec".
Action.c(37): Notify: Saving Parameter "id_14 = 1676".
Action.c(37): Notify: Saving Parameter "_wpnonce_14 = 5df44fbfe3".
Action.c(37): Notify: Saving Parameter "id_15 = 1677".
Action.c(37): Notify: Saving Parameter "_wpnonce_15 = bb6e715bfd".
Action.c(37): Notify: Saving Parameter "id_16 = 1673".
Action.c(37): Notify: Saving Parameter "_wpnonce_16 = d8b751ddef".
Action.c(37): Notify: Saving Parameter "id_17 = 1675".
Action.c(37): Notify: Saving Parameter "_wpnonce_17 = dfa9ebafd0".
Action.c(37): Notify: Saving Parameter "id_18 = 1674".
Action.c(37): Notify: Saving Parameter "_wpnonce_18 = a1b9b52c2b".
Action.c(37): Notify: Saving Parameter "id_19 = 1667".
Action.c(37): Notify: Saving Parameter "_wpnonce_19 = bd7f3ef24d".
Action.c(37): Notify: Saving Parameter "id_20 = 1669".
Action.c(37): Notify: Saving Parameter "_wpnonce_20 = 17b1a92aeb".
Action.c(37): Notify: Saving Parameter "_wpnonce_count = 20".
Action.c(37): Notify: Saving Parameter "id_count = 20".
Action.c(37): web_url("edit.php") was successful, 110210 body bytes, 463 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(46): Notify: Parameter Substitution: parameter "id_count" = "20"
count:20:
Action.c(51): Notify: Parameter Substitution: parameter "id_1" = "1708"
Action.c(51): post id c 变量 1708
Action.c(53): Notify: Parameter Substitution: parameter "id_1" = "1708"
Action.c(53): Notify: Saving Parameter "lr_id = 1708".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_1" = "8cb9046989"
Action.c(56): nonce c 变量 8cb9046989
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_1" = "8cb9046989"
Action.c(58): Notify: Saving Parameter "lr_nonce = 8cb9046989".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1708"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "8cb9046989"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1708&action=trash&_wpnonce=8cb9046989" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1708" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_2" = "1701"
Action.c(51): post id c 变量 1701
Action.c(53): Notify: Parameter Substitution: parameter "id_2" = "1701"
Action.c(53): Notify: Saving Parameter "lr_id = 1701".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_2" = "916416b2a3"
Action.c(56): nonce c 变量 916416b2a3
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_2" = "916416b2a3"
Action.c(58): Notify: Saving Parameter "lr_nonce = 916416b2a3".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1701"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "916416b2a3"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1701&action=trash&_wpnonce=916416b2a3" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1701" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_3" = "1703"
Action.c(51): post id c 变量 1703
Action.c(53): Notify: Parameter Substitution: parameter "id_3" = "1703"
Action.c(53): Notify: Saving Parameter "lr_id = 1703".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_3" = "f08a5e26f5"
Action.c(56): nonce c 变量 f08a5e26f5
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_3" = "f08a5e26f5"
Action.c(58): Notify: Saving Parameter "lr_nonce = f08a5e26f5".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1703"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "f08a5e26f5"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1703&action=trash&_wpnonce=f08a5e26f5" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1703" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_4" = "1702"
Action.c(51): post id c 变量 1702
Action.c(53): Notify: Parameter Substitution: parameter "id_4" = "1702"
Action.c(53): Notify: Saving Parameter "lr_id = 1702".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_4" = "b92c4098ea"
Action.c(56): nonce c 变量 b92c4098ea
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_4" = "b92c4098ea"
Action.c(58): Notify: Saving Parameter "lr_nonce = b92c4098ea".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1702"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "b92c4098ea"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1702&action=trash&_wpnonce=b92c4098ea" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1702" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_5" = "1696"
Action.c(51): post id c 变量 1696
Action.c(53): Notify: Parameter Substitution: parameter "id_5" = "1696"
Action.c(53): Notify: Saving Parameter "lr_id = 1696".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_5" = "dbdfd7cf13"
Action.c(56): nonce c 变量 dbdfd7cf13
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_5" = "dbdfd7cf13"
Action.c(58): Notify: Saving Parameter "lr_nonce = dbdfd7cf13".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1696"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "dbdfd7cf13"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1696&action=trash&_wpnonce=dbdfd7cf13" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1696" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_6" = "1693"
Action.c(51): post id c 变量 1693
Action.c(53): Notify: Parameter Substitution: parameter "id_6" = "1693"
Action.c(53): Notify: Saving Parameter "lr_id = 1693".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_6" = "0c95e8ce8e"
Action.c(56): nonce c 变量 0c95e8ce8e
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_6" = "0c95e8ce8e"
Action.c(58): Notify: Saving Parameter "lr_nonce = 0c95e8ce8e".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1693"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "0c95e8ce8e"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1693&action=trash&_wpnonce=0c95e8ce8e" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1693" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_7" = "1694"
Action.c(51): post id c 变量 1694
Action.c(53): Notify: Parameter Substitution: parameter "id_7" = "1694"
Action.c(53): Notify: Saving Parameter "lr_id = 1694".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_7" = "782b95dc99"
Action.c(56): nonce c 变量 782b95dc99
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_7" = "782b95dc99"
Action.c(58): Notify: Saving Parameter "lr_nonce = 782b95dc99".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1694"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "782b95dc99"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1694&action=trash&_wpnonce=782b95dc99" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1694" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_8" = "1695"
Action.c(51): post id c 变量 1695
Action.c(53): Notify: Parameter Substitution: parameter "id_8" = "1695"
Action.c(53): Notify: Saving Parameter "lr_id = 1695".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_8" = "f9ad3b99ff"
Action.c(56): nonce c 变量 f9ad3b99ff
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_8" = "f9ad3b99ff"
Action.c(58): Notify: Saving Parameter "lr_nonce = f9ad3b99ff".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1695"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "f9ad3b99ff"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1695&action=trash&_wpnonce=f9ad3b99ff" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1695" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_9" = "1684"
Action.c(51): post id c 变量 1684
Action.c(53): Notify: Parameter Substitution: parameter "id_9" = "1684"
Action.c(53): Notify: Saving Parameter "lr_id = 1684".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_9" = "50324b4dea"
Action.c(56): nonce c 变量 50324b4dea
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_9" = "50324b4dea"
Action.c(58): Notify: Saving Parameter "lr_nonce = 50324b4dea".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1684"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "50324b4dea"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1684&action=trash&_wpnonce=50324b4dea" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1684" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_10" = "1687"
Action.c(51): post id c 变量 1687
Action.c(53): Notify: Parameter Substitution: parameter "id_10" = "1687"
Action.c(53): Notify: Saving Parameter "lr_id = 1687".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_10" = "4ca0a7ab99"
Action.c(56): nonce c 变量 4ca0a7ab99
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_10" = "4ca0a7ab99"
Action.c(58): Notify: Saving Parameter "lr_nonce = 4ca0a7ab99".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1687"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "4ca0a7ab99"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1687&action=trash&_wpnonce=4ca0a7ab99" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1687" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_11" = "1685"
Action.c(51): post id c 变量 1685
Action.c(53): Notify: Parameter Substitution: parameter "id_11" = "1685"
Action.c(53): Notify: Saving Parameter "lr_id = 1685".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_11" = "8401a1ab7d"
Action.c(56): nonce c 变量 8401a1ab7d
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_11" = "8401a1ab7d"
Action.c(58): Notify: Saving Parameter "lr_nonce = 8401a1ab7d".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1685"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "8401a1ab7d"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1685&action=trash&_wpnonce=8401a1ab7d" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1685" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_12" = "1686"
Action.c(51): post id c 变量 1686
Action.c(53): Notify: Parameter Substitution: parameter "id_12" = "1686"
Action.c(53): Notify: Saving Parameter "lr_id = 1686".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_12" = "8ee456f365"
Action.c(56): nonce c 变量 8ee456f365
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_12" = "8ee456f365"
Action.c(58): Notify: Saving Parameter "lr_nonce = 8ee456f365".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1686"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "8ee456f365"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1686&action=trash&_wpnonce=8ee456f365" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1686" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_13" = "1683"
Action.c(51): post id c 变量 1683
Action.c(53): Notify: Parameter Substitution: parameter "id_13" = "1683"
Action.c(53): Notify: Saving Parameter "lr_id = 1683".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_13" = "d7ef5966ec"
Action.c(56): nonce c 变量 d7ef5966ec
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_13" = "d7ef5966ec"
Action.c(58): Notify: Saving Parameter "lr_nonce = d7ef5966ec".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1683"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "d7ef5966ec"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1683&action=trash&_wpnonce=d7ef5966ec" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1683" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_14" = "1676"
Action.c(51): post id c 变量 1676
Action.c(53): Notify: Parameter Substitution: parameter "id_14" = "1676"
Action.c(53): Notify: Saving Parameter "lr_id = 1676".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_14" = "5df44fbfe3"
Action.c(56): nonce c 变量 5df44fbfe3
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_14" = "5df44fbfe3"
Action.c(58): Notify: Saving Parameter "lr_nonce = 5df44fbfe3".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1676"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "5df44fbfe3"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1676&action=trash&_wpnonce=5df44fbfe3" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1676" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_15" = "1677"
Action.c(51): post id c 变量 1677
Action.c(53): Notify: Parameter Substitution: parameter "id_15" = "1677"
Action.c(53): Notify: Saving Parameter "lr_id = 1677".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_15" = "bb6e715bfd"
Action.c(56): nonce c 变量 bb6e715bfd
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_15" = "bb6e715bfd"
Action.c(58): Notify: Saving Parameter "lr_nonce = bb6e715bfd".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1677"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "bb6e715bfd"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1677&action=trash&_wpnonce=bb6e715bfd" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1677" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_16" = "1673"
Action.c(51): post id c 变量 1673
Action.c(53): Notify: Parameter Substitution: parameter "id_16" = "1673"
Action.c(53): Notify: Saving Parameter "lr_id = 1673".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_16" = "d8b751ddef"
Action.c(56): nonce c 变量 d8b751ddef
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_16" = "d8b751ddef"
Action.c(58): Notify: Saving Parameter "lr_nonce = d8b751ddef".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1673"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "d8b751ddef"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1673&action=trash&_wpnonce=d8b751ddef" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1673" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_17" = "1675"
Action.c(51): post id c 变量 1675
Action.c(53): Notify: Parameter Substitution: parameter "id_17" = "1675"
Action.c(53): Notify: Saving Parameter "lr_id = 1675".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_17" = "dfa9ebafd0"
Action.c(56): nonce c 变量 dfa9ebafd0
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_17" = "dfa9ebafd0"
Action.c(58): Notify: Saving Parameter "lr_nonce = dfa9ebafd0".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1675"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "dfa9ebafd0"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1675&action=trash&_wpnonce=dfa9ebafd0" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1675" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_18" = "1674"
Action.c(51): post id c 变量 1674
Action.c(53): Notify: Parameter Substitution: parameter "id_18" = "1674"
Action.c(53): Notify: Saving Parameter "lr_id = 1674".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_18" = "a1b9b52c2b"
Action.c(56): nonce c 变量 a1b9b52c2b
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_18" = "a1b9b52c2b"
Action.c(58): Notify: Saving Parameter "lr_nonce = a1b9b52c2b".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1674"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "a1b9b52c2b"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1674&action=trash&_wpnonce=a1b9b52c2b" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1674" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_19" = "1667"
Action.c(51): post id c 变量 1667
Action.c(53): Notify: Parameter Substitution: parameter "id_19" = "1667"
Action.c(53): Notify: Saving Parameter "lr_id = 1667".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_19" = "bd7f3ef24d"
Action.c(56): nonce c 变量 bd7f3ef24d
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_19" = "bd7f3ef24d"
Action.c(58): Notify: Saving Parameter "lr_nonce = bd7f3ef24d".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1667"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "bd7f3ef24d"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1667&action=trash&_wpnonce=bd7f3ef24d" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1667" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(51): Notify: Parameter Substitution: parameter "id_20" = "1669"
Action.c(51): post id c 变量 1669
Action.c(53): Notify: Parameter Substitution: parameter "id_20" = "1669"
Action.c(53): Notify: Saving Parameter "lr_id = 1669".
Action.c(56): Notify: Parameter Substitution: parameter "_wpnonce_20" = "17b1a92aeb"
Action.c(56): nonce c 变量 17b1a92aeb
Action.c(58): Notify: Parameter Substitution: parameter "_wpnonce_20" = "17b1a92aeb"
Action.c(58): Notify: Saving Parameter "lr_nonce = 17b1a92aeb".
Action.c(60): web_url("回收站") started [MsgId: MMSG-26355]
Action.c(60): Notify: Parameter Substitution: parameter "lr_id" = "1669"
Action.c(60): Notify: Parameter Substitution: parameter "lr_nonce" = "17b1a92aeb"
Action.c(60): Redirecting "http://autotest/wordpress/wp-admin/post.php?post=1669&action=trash&_wpnonce=17b1a92aeb" (redirection depth is 0) [MsgId: MMSG-26694]
Action.c(60): To location "http://autotest/wordpress/wp-admin/edit.php?trashed=1&ids=1669" [MsgId: MMSG-26693]
Action.c(60): web_url("回收站") was successful, 110584 body bytes, 994 header bytes, 109 chunking overhead bytes [MsgId: MMSG-26385]
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.

Loadrunner查询博客列表并循环删除博客列表中的所有博客的更多相关文章

  1. 【学习笔记】--- 老男孩学Python,day8 知识点补充 join,列表不能循环删除,深浅copy

    1. 补充基础数据类型的相关知识点 1. str. join() 把列表变成字符串 2. 列表不能再循环的时候删除. 因为索引会跟着改变 3. 字典也不能直接循环删除. 把要删除的内容记录在列表中. ...

  2. Python笔记:用for循环删除列表中的元素

    for运行过程中会有一个指针来记录当前循环的元素是哪一个,一开始这个指针指向第0个元素,然后获取它,接着删除第0个元素,这时候,原来是第1个的元素会变成第0个,当指针向后移动一次,指向了现在第1个元素 ...

  3. python学习第十二天列表的循环,排序,统计操作方法

    python列表最重要的列表的循环,任何有序列表离不开循环,列表的循环 for  in  range等关键词,还有列表排序,正序,倒序,还有列表每个元素的最大,最小,统计元素的个数等. 1,列表的循环 ...

  4. C语言博客作业02——循环结构

    1.本章学习总结 1.1思维导图 1.2本章学习体会及代码量学习体会 1.2.1学习体会 本周学习了循环结构,在之前学习分支结构的时候就涉及到了循环结构中的for循环,这周的又新学了while和do- ...

  5. python中循环删除列表中元素时的坑!

    循环删除列表中元素时千万别用正序遍历,一定要用反序遍历! 废话不多说,先上案例代码: def test(data): for i in data: data.remove(i) return data ...

  6. python循环删除列表元素常见错误与正确方法

    python循环删除列表元素 觉得有用的话,欢迎一起讨论相互学习~Follow Me 常见错误 常见错误一:使用固定长度循环删除列表元素 # 使用固定长度循环pop方法删除列表元素 num_list_ ...

  7. 廖雪峰老师博客学习《通过生成器generator生成列表式杨辉三角》

    说明:这是我接触生成器概念后,自己对它的理解,可能比较表面,没深入理解,也可能有错误.后续校正错误认知,将有关generator作为一个tag了! 希望以后能活用. 先贴出自己写的triangles( ...

  8. Python--增量循环删除MySQL表数据

    需求场景: 有一业务数据库,使用MySQL 5.5版本,每天会写入大量数据,需要不定期将多表中“指定时期前“的数据进行删除,在SQL SERVER中很容易实现,写几个WHILE循环就搞定,虽然MySQ ...

  9. java中循环删除list中元素的方法

    重点哈 印象中循环删除list中的元素使用for循环的方式是有问题的,但是可以使用增强的for循环,然后今天在使用时发现报错了,然后去科普了一下,再然后发现这是一个误区.下面就来讲一讲..伸手党可直接 ...

随机推荐

  1. Docker 0x01:Docker Container容器技术

    目录 Docker Container容器技术 一句话回答什么是容器? 为什么要有容器? 容器技术的影响 容器技术浅谈原理,怎么实现的?为什么能够这样轻量级标准化 难点 容器的标准 花边 Docker ...

  2. 【OS_Windows】Win10应用商店闪退和点击Cortana搜索框闪退的解决方法

    Windows10用户遇到了打开应用商店时闪退和点击Cortana小娜搜索框闪退的问题,并且在微软社区求助,得到了一种可行的解决方法,那就是查看Network List Service(网络列表服务) ...

  3. windows10安装redis

    下载 github上下载最新(或者你需要的版本)的redis安装包,下载地址如下: https://github.com/microsoftarchive/redis/releases 打开点击版本号 ...

  4. top - 交互式监控

    top - display Linux processes 显示linux进程 格式: top -hv|-bcHiOSs -d secs -n max -u|U user -p pid -o fld ...

  5. 第十周LINUX 学习笔记

    LVS集群nat丶DR HA:高可用    平均无故障时间/(平均无故障时间+平均修复时间)        负载均衡 次序lb(负载)——>ha()LB  tcp:lvs,haproxy  应用 ...

  6. jmeter中如何引用Java

    通过source()获取java文件: vars.get,获取参数type_id的值

  7. Linux libcurl安装及注意事项

    一.下载 官网下载地址 :  https://curl.haxx.se/download.html 选择最新的一个即可. 二.安装 1.解压 下载到的压缩包为curl-7.51.0.tar.gz,使用 ...

  8. P1092 虫食算[搜索]

    这个式子是是由\(A\sim A+N\)组成的,那么\(A\sim A+N\)就只能等于\(0\sim N-1\),因此我们每次对\(A\sim A+N\)的取值做一个新的排列,然后judge一下当前 ...

  9. spark读写Oracle、hive的艰辛之路(一)

    前两天工作需求,要通过给的几个Oracle的视图把数据入到hive库中,很遗憾,使用的华为云平台的集区环境中并没有sqoop1,当然也并没有sqoop2,所以,想到的解决方案是使用spark读取Ora ...

  10. Angular pagination分页模块 只提供分页参数处理 不处理分页记录数据

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...