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. ML- 核函数(Kernel) 的 SVM

    Why 核函数 目的是为了解决线性不可分问题. 核心思想是升维. 当样本点在低维空间不能很好地分开的时候, 可以考虑将样本通过某种映射(就是左乘一个矩阵) 到高维空间中, 然后在高维空间就容易求解一个 ...

  2. golang之数据转换

    golang按位取反符号和异或符号都是^. fmt.Printf("0x%X\n", 0xFF^0x55) var a uint8 = 0x55 fmt.Printf(" ...

  3. linux命令当前文件夹下面模糊搜索文件

    在当前文件夹下面模糊搜索文件: find . -type f | xargs grep 'boot',"boot"表示文件名中包含的字符串

  4. dfs 二叉树中序遍历迭代解法——求解BST中第k小元素

    BST中第K小的元素 中文English 给一棵二叉搜索树,写一个 KthSmallest 函数来找到其中第 K 小的元素. Example 样例 1: 输入:{1,#,2},2 输出:2 解释: 1 ...

  5. php原型模式(prototype pattern)

    练练练,计划上午练完创建型设计模式. <?php /* The prototype pattern replicates other objects by use of cloning. Wha ...

  6. 分布式中的分库分表之后,ID 主键如何处理?

    面试题 分库分表之后,id 主键如何处理?(唯一性,排序等) 面试官心理分析 其实这是分库分表之后你必然要面对的一个问题,就是 id 咋生成?因为要是分成多个表之后,每个表都是从 1 开始累加,那肯定 ...

  7. Gym100739H Hard Molecules

    Hard Molecules 给定一个连通图中每个点的度数,求一个满足条件的图,图可以有重边,不能有自环. n<=5000, di<=109 题解 如果不要求图连通,那么只需要判断 \[ ...

  8. Ajax无法访问回调函数seccess问题

    1,后台返回的数据是标准json格式,前端dataType也是josn, 2,没有跨域访问, 但是一直只执行error方法, 原因出在: 应设置为button按钮,指明类型为button

  9. windows10家庭版升级专业版/企业版

    以防万一,还是把Windows10家庭版的密钥保存下来. 一.保留原密钥 1. Win+R,输入regedit 2. 进入目录 HKEY_LOCAL_MACHINE\SOFTWARE\Microsof ...

  10. 08_MSTP(数通华为)

    1. 网络拓扑 2. SW1配置[SW1]vlan batch 10 20 30 40[SW1]stp mode mstp 进入MSTP配置视图,MSTP域名为huawei,同时配置VLAN到实例的映 ...