51Testing软件测试论坛

标题: [求助]loadrunner录制openwebmail网页发邮件服务场景并发收不到邮件 [打印本页]

作者: lilila1989    时间: 2013-1-21 10:44
标题: [求助]loadrunner录制openwebmail网页发邮件服务场景并发收不到邮件
本帖最后由 lilila1989 于 2013-1-22 10:46 编辑

使用loadrunner11或者mercury在线版,在xp上录制http单协议或http smtp双协议效果一样。
邮件登陆openwebmail发送脚本,脚本如下,仅录制action,录制程序Ie,录制回放成功,回放自动关联,使用Ip wizard,5个新增Ip,场景并发2vuser,但是实现不了自动发邮件,也就是说场景运行时,邮箱收不到新邮件。
曾经用foxmail和http,smtp双协议,实现过场景运行时loadrunner给服务器发邮件,但是这一操作无法记录web登陆信息。
目前实现对qq的邮箱录制发送邮件实现了场景并发收到信的邮件,但就是openwebmail服务器收不到,不清楚问题出在哪个环节。

即便对登陆名、密码做了参数化还是一样收不到邮件。
不知道是openwebmail本身Perl源程序有关,还是我操作有关,同样操作qq可以接收loadrunner场景并发邮件,但openwebmail收不到。怎样才能录制登录信息以及网页上的发送邮件脚本,并实现邮件场景并发自动发送。
===================以下是录制时自动关联脚本=======================================

Action()
{
web_set_max_html_param_len("1024");
web_url("openwebmail", //载入邮件服务网址
  "URL=http://172.16.0.86/openwebmail",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t1.inf",
  "Mode=HTML",
  LAST);
lr_think_time(9);
web_submit_form("openwebmail.pl", //登陆
  "Snapshot=t2.inf",
  ITEMDATA,
  "Name=loginname", "Value=openwebmail", ENDITEM,
  "Name=password", "Value=123", ENDITEM,
  "Name=httpcompress", "Value=1", ENDITEM,
  "Name=autologin", "Value=<OFF>", ENDITEM,
  "Name=loginbutton", "Value=登录", ENDITEM,
  LAST);
web_link("\xA0 载入中,请稍等 ...",
  "Text=\xA0 载入中,请稍等 ...",
  "Snapshot=t3.inf",
  LAST);
web_image("写新邮件", //写新邮件
  "Alt=写新邮件",
  "Snapshot=t4.inf",
  LAST);
/* Registering parameter(s) from source task id 113
// {PeopleSoftsessionID2} = "openwebmail*172.16.0.86-session-0.285071895548271&folder=INBOX&page=1&longpage=0&sort=date_rev&msgdatetype=sentdate&&action=logout"
// */
web_reg_save_param("eopleSoftsessionID2",
  "LB/IC=sessionid=",
  "RB/IC=t",
  "Ord=1",
  "Search=body",
  "RelFrameId=1",
  LAST);
web_submit_form("openwebmail-send.pl", //写邮件内容
  "Snapshot=t5.inf",
  ITEMDATA,
  "Name=convto", "Value=utf-8 *", ENDITEM,
  "Name=from", "Value=\"openwebmail_server\" <[url=mailtopenwebmail@openwebmailserver.com]openwebmail@openwebmailserver.com[/url]>", ENDITEM,
  "Name=priority", "Value=普通", ENDITEM,
  "Name=to", "Value=openwebmail@openwebmailserver.com", ENDITEM,
  "Name=cc", "Value=", ENDITEM,
  "Name=bcc", "Value=", ENDITEM,
  "Name=replyto", "Value=", ENDITEM,
  "Name=confirmreading", "Value=<OFF>", ENDITEM,
  "Name=attachment", "Value=", "File=Yes", ENDITEM,
  "Name=subject", "Value=test0020106", ENDITEM,
  "Name=backupsentmsg", "Value=1", ENDITEM,
  "Name=dictionary2", "Value=english", ENDITEM,
  "Name=newmsgformat", "Value=纯文本", ENDITEM,
  "Name=body", "Value=\r\n\r\ntest\r\n--\r\nOpen WebMail Project (http://openwebmail.org)\r\n", ENDITEM,
  "Name=sendbutton", "Value=发送", ENDITEM,
  LAST);
web_custom_request("YouGotMail.English.wav", //返回收件箱
  "URL=http://172.16.0.86/data/openwebmail/sounds/YouGotMail.English.wav",
  "Method=HEAD",
  "Resource=0",
  "RecContentType=audio/x-wav",
  "Referer=",
  "Mode=HTML",
  LAST);
lr_think_time(8);
web_url("openwebmail-main.pl", //退出
  "URL=http://172.16.0.86/cgi-bin/openwebmail/openwebmail-main.pl?sessionid={PeopleSoftsessionID2}",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=http://172.16.0.86/cgi-bin/openwebmail/openwebmail-main.pl?action=listmessages&sessionid=openwebmail*172.16.0.86-session-0.285071895548271&sort=date_rev&msgdatetype=sentdate&folder=INBOX&page=1&sentsubject=test0020106",
  "Snapshot=t6.inf",
  "Mode=HTML",
  LAST);
return 0;
}

===================以下是foxmail的脚本,录制的用户不一样,不影响======================
Action()
{
web_custom_request("UploadFoxStatData",
  "URL=http://datacollect.foxmail.com.cn/cgi-bin/UploadFoxStatData",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",
  "Referer=",
  "Snapshot=t1.inf",
  "Mode=HTML",
  "EncType=",
  "Body=FUpdateData= [STAT_0]\r\nS_1=1094469925\r\nS_2=Foxmail\r\nS_3=7.0.1.92\r\nI_1=1154\r\nI_10=2\r\nI_11=0\r\nI_12=0\r\nI_50=2\r\n",
  LAST);
lr_think_time(9);
smtp1 = 0;
smtp_logon_ex(&smtp1, "SmtpLogon",
  "URL=smtp://tester001@openwebmailserver2.com",
  "[url=mailtoogonUser=tester001@openwebmailserver2.com]LogonUser=tester001@openwebmailserver2.com[/url]",
  "LogonPass=123",
  "CommonName=LoadRunner User",
  LAST);
smtp_send_mail_ex(&smtp1, "SendMail",
  "To=tester001@openwebmailserver2.com",
  "From=<tester001@openwebmailserver2.com> SIZE=1609",
  "Subject=111111111",
  "ContentType=multipart/alternative;",
  MAILOPTIONS,
   "From: tester001 <tester001@openwebmailserver2.com>",
   "To: tester001 <tester001@openwebmailserver2.com>",
   "Reply-To: tester001 <tester001@openwebmailserver2.com>",
   "X-Priority: 3",
   "X-Has-Attach: no",
   "X-Mailer: Foxmail 7.0.1.92[cn]",
  MAILDATA,
   "AttachRawFile=mailnote1_01.dat",
   "AttachRawFile=mailnote1_02.dat",
  LAST);
smtp_logout_ex(&smtp1);
smtp_free_ex(&smtp1);
return 0;
}

作者: lilila1989    时间: 2013-1-21 15:41
本帖最后由 lilila1989 于 2013-1-22 10:44 编辑

以下是qq在网页录制的脚本,是可以模拟并发用户产生新邮件的
Action()
{

        web_add_cookie("ptisp=ctc; DOMAIN=mail.qq.com");

        web_add_cookie("pt2gguin=o0852065147; DOMAIN=mail.qq.com");

        web_add_cookie("ptui_loginuin=852065147@qq.com; DOMAIN=mail.qq.com");

        web_add_cookie("edition=mail.qq.com; DOMAIN=mail.qq.com");

        web_add_cookie("CCSHOW=000000; DOMAIN=mail.qq.com");

        web_add_cookie("ptisp=ctc; DOMAIN=res.mail.qq.com");

        web_add_cookie("pt2gguin=o0852065147; DOMAIN=res.mail.qq.com");

        web_add_cookie("ptui_loginuin=852065147@qq.com; DOMAIN=res.mail.qq.com");

        web_add_cookie("CCSHOW=000000; DOMAIN=res.mail.qq.com");

        web_add_cookie("ptisp=ctc; DOMAIN=ui.ptlogin2.qq.com");

        web_add_cookie("pt2gguin=o0852065147; DOMAIN=ui.ptlogin2.qq.com");

        web_add_cookie("ptui_loginuin=852065147@qq.com; DOMAIN=ui.ptlogin2.qq.com");

        web_add_cookie("ptcz=1e22f7842d375226257c95af59fbcbaf02f3f4044bdc1c5562e4c07f8d08b518; DOMAIN=ui.ptlogin2.qq.com");

        web_add_cookie("ptisp=ctc; DOMAIN=ssl.ptlogin2.qq.com");

        web_add_cookie("pt2gguin=o0852065147; DOMAIN=ssl.ptlogin2.qq.com");

        web_add_cookie("ptui_loginuin=852065147@qq.com; DOMAIN=ssl.ptlogin2.qq.com");

        web_add_cookie("ptcz=1e22f7842d375226257c95af59fbcbaf02f3f4044bdc1c5562e4c07f8d08b518; DOMAIN=ssl.ptlogin2.qq.com");

        web_add_cookie("ptisp=ctc; DOMAIN=ssl.captcha.qq.com");

        web_add_cookie("pt2gguin=o0852065147; DOMAIN=ssl.captcha.qq.com");

        web_add_cookie("ptui_loginuin=852065147@qq.com; DOMAIN=ssl.captcha.qq.com");

        web_set_max_html_param_len("1024");

        web_url("mail.qq.com",
                "URL=http://mail.qq.com/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t19.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=http://gtssl-aia.geotrust.com/gtssl.crt", "Referer=", ENDITEM,
                "Url=https://res.mail.qq.com/zh_CN/htmledition/images/tg-haizi.gif", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://res.mail.qq.com/zh_CN/htmledition/images/login104474.png", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://res.mail.qq.com/zh_CN/htmledition/images/logo/logo_0_0104473.gif", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://res.mail.qq.com/zh_CN/htmledition/images/login_ico_selector104474.gif", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=http://svrintl-g3-aia.verisign.com/SVRIntlG3.cer", "Referer=", ENDITEM,
                "Url=https://mail.qq.com/cgi-bin/getptres", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://ui.ptlogin2.qq.com/js/login_div.js", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://ui.ptlogin2.qq.com/cgi-bin/login2?isdiv=1&appid=522005705&s_url=https%3A%2F%2Fmail.qq.com%2Fcgi-bin%2Flogin%3Fvt%3Dpassport%26vm%3Dwpt%26ft%3Dptlogin%26ss%3D&daid=4", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://ui.ptlogin2.qq.com/js/ver.js?v=0.2791333514985666", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://ui.ptlogin2.qq.com/js/ver.js?v=0.5756199494869125", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://ssl.ptlogin2.qq.com/check?uin=852065147@qq.com&appid=522005705&ptlang=2052&js_type=2&js_ver=10009&r=0.35161166652484865", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://ssl.captcha.qq.com/getimage?aid=522005705&r=0.5371343792164027&uin=852065147@qq.com", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                "Url=https://ssl.ptlogin2.qq.com/login?ptlang=2052&aid=522005705&daid=4&u1=https%3A%2F%2Fmail.qq.com%2Fcgi-bin%2Flogin%3Fvt%3Dpassport%26vm%3Dwpt%26ft%3Dptlogin%26ss%3D%26validcnt%3D%26clientaddr%3D852065147%40qq.com&from_ui=1&ptredirect=1&h=1&wording=%E5%BF%AB%E9%80%9F%E7%99%BB%E5%BD%95&css=https://mail.qq.com/zh_CN/htmledition/style/fast_login11e5b7.css&mibao_css=m_ptmail&u_domain=@qq.com&uin=852065147&u=852065147@qq.com&p=AD03FDD882FF06E734ED7782B1F066F6&verifycode=!BZI&fp=loginerroralert&action"
                "=8-2-14688&g=1&t=1&dummy=&js_type=2&js_ver=10009", "Referer=https://mail.qq.com/cgi-bin/loginpage", ENDITEM,
                LAST);

        web_url("getinvestigate",
                "URL=https://mail.qq.com/cgi-bin/getinvestigate?flowid=18355890&res=&stat=jsdownloadfail&jsfailtime=7&r=0.7135017928647744",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=https://mail.qq.com/cgi-bin/loginpage",
                "Mode=HTML",
                EXTRARES,
                "Url=http://svrintl-g3-aia.verisign.com/SVRIntlG3.cer", "Referer=", ENDITEM,
                LAST);

        web_url("getinvestigate_2",
                "URL=https://mail.qq.com/cgi-bin/getinvestigate?stat=loginerr&code=1014",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=https://mail.qq.com/cgi-bin/loginpage",
                "Mode=HTML",
                LAST);

        web_url("report",
                "URL=https://ui.ptlogin2.qq.com/cgi-bin/report?id=216082",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=https://mail.qq.com/cgi-bin/loginpage",
                "Mode=HTML",
                EXTRARES,
                "Url=http://svrintl-g3-aia.verisign.com/SVRIntlG3.cer", "Referer=", ENDITEM,
                LAST);

        web_url("getinvestigate_3",
                "URL=https://mail.qq.com/cgi-bin/getinvestigate?stat=loginerr&code=1001&err=&r=0.2991364963416147",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=https://mail.qq.com/cgi-bin/loginpage",
                "Mode=HTML",
                EXTRARES,
                "Url=http://svrintl-g3-aia.verisign.com/SVRIntlG3.cer", "Referer=", ENDITEM,
                "Url=http://svrintl-aia.verisign.com/SVRIntl-aia.cer", "Referer=", ENDITEM,
                LAST);

作者: ffwithvv    时间: 2013-1-21 16:38
是否邮件服务器把你的自动并发发送邮件当成了黑客攻击了,所以阻止你向他发邮件
作者: lilila1989    时间: 2013-1-22 10:38
本帖最后由 lilila1989 于 2013-1-22 10:41 编辑

回复 3# ffwithvv 我想我应该找到原因了吧,但是我还是没有成功,我觉得是我自动关联的sessionid右边界没定好,就是sessionid={session_id}&............{}中间的才是才对,
以下是我改好的脚本:PS我自己禁用录制同时关联后,很多跳转的Url并没有记录下来,我都是自己对照着 录制时关联 了的脚本 一点一点加的,然后树形在最开始加入关联信息,然后把以后所有的sessionid相关都变成参数,回放没问题,但是运行场景,还是没有收到新邮件:
Action()
{


web_url("openwebmail",

"URL=http://172.16.0.86/openwebmail",

"Resource=0",

"RecContentType=text/html",

"Referer=",

"Snapshot=t1.inf",

"Mode=HTML",

LAST);


lr_think_time(4);


web_reg_save_param("session_id",

"LB=sessionid=",

"RB=&",

LAST);



web_submit_form("openwebmail.pl",

"Snapshot=t2.inf",

ITEMDATA,

"Name=loginname", "Value=openwebmail", ENDITEM,

"Name=password", "Value=123", ENDITEM,

"Name=httpcompress", "Value=1", ENDITEM,

"Name=autologin", "Value=<OFF>", ENDITEM,

"Name=loginbutton", "Value=登录", ENDITEM,

LAST);


web_link("\xA0 载入中,请稍等 ...",

"Text=\xA0 载入中,请稍等 ...",

"Snapshot=t3.inf",

EXTRARES,

"URL=/data/openwebmail/images/iconsets/Cool3D.Chinese.Simplified/sshterm.gif", "Referer=http://172.16.0.86/cgi-bin/openwebmail/openwebmail-main.pl?sessionid={session_id}&action=listmessages_afterlogin", ENDITEM,

LAST);


web_image("写新邮件",

"Alt=写新邮件",

"Snapshot=t4.inf",

EXTRARES,

"URL=/data/openwebmail/images/iconsets/Cool3D.Chinese.Simplified/webdisk.s.gif", "Referer=http://172.16.0.86/cgi-bin/openwebmail/openwebmail-send.pl?action=composemessage&sessionid={session_id}&sort=date_rev&msgdatetype=sentdate&keyword=&searchtype=subject&folder=INBOX&page=1&compose_caller=main", ENDITEM,

"URL=/data/openwebmail/images/iconsets/Cool3D.Chinese.Simplified/addrbook.s.gif", "Referer=http://172.16.0.86/cgi-bin/openwebmail/openwebmail-send.pl?action=composemessage&sessionid={session_id}&sort=date_rev&msgdatetype=sentdate&keyword=&searchtype=subject&folder=INBOX&page=1&compose_caller=main", ENDITEM,

LAST);


web_submit_form("openwebmail-send.pl",

"Snapshot=t5.inf",

ITEMDATA,

"Name=convto", "Value=utf-8 *", ENDITEM,

"Name=from", "Value=\"openwebmail_server\" <[url=mailtopenwebmail@openwebmailserver.com]openwebmail@openwebmailserver.com[/url]>", ENDITEM,

"Name=priority", "Value=普通", ENDITEM,

"Name=to", "Value=openwebmail@openwebmailserver.com", ENDITEM,

"Name=cc", "Value=", ENDITEM,

"Name=bcc", "Value=", ENDITEM,

"Name=replyto", "Value=", ENDITEM,

"Name=confirmreading", "Value=<OFF>", ENDITEM,

"Name=attachment", "Value=", ENDITEM,

"Name=subject", "Value=testsession0122001", ENDITEM,

"Name=backupsentmsg", "Value=1", ENDITEM,

"Name=dictionary2", "Value=english", ENDITEM,

"Name=newmsgformat", "Value=纯文本", ENDITEM,

"Name=body", "Value=\r\n"

"\r\n"

"--\r\n"

"Open WebMail Project (http://openwebmail.org)\r\n", ENDITEM,

"Name=sendbutton", "Value=发送", ENDITEM,

LAST);


web_custom_request("YouGotMail.English.wav",

"URL=http://172.16.0.86/data/openwebmail/sounds/YouGotMail.English.wav",

"Method=HEAD",

"Resource=0",

"RecContentType=audio/x-wav",

"Referer=",

"Mode=HTML",

LAST);


lr_think_time(6);


web_url("openwebmail-main.pl",

"URL=http://172.16.0.86/cgi-bin/openwebmail/openwebmail-main.pl?sessionid={session_id}&folder=INBOX&page=1&longpage=0&sort=date_rev&msgdatetype=sentdate&&action=logout",

"Resource=0",

"RecContentType=text/html",

"Referer=http://172.16.0.86/cgi-bin/openwebmail/openwebmail-main.pl?action=listmessages&sessionid={session_id}&sort=date_rev&msgdatetype=sentdate&folder=INBOX&page=1&sentsubject=testsession0122001",

"Snapshot=t6.inf",

"Mode=HTML",

LAST);

return 0;

}



作者: lilila1989    时间: 2013-1-22 10:38
本帖最后由 lilila1989 于 2013-1-22 10:43 编辑

回复 3# ffwithvv 查看openwebmail的log,显示还是没有做发邮件的操作:log文件如下:
Mon Jan 21 18:10:40 2013 - [1087] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.532691422583298 - active=0,0,1
Mon Jan 21 18:18:31 2013 - [1108] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.700475248365791 - active=0,0,1
Mon Jan 21 18:18:33 2013 - [1120] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.700475248365791
Mon Jan 21 18:19:25 2013 - [1124] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.883647120415361 - active=0,0,1
Mon Jan 21 18:19:32 2013 - [1135] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.883647120415361
Mon Jan 21 18:19:37 2013 - [1139] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.972478889252187 - active=0,0,1
Mon Jan 21 18:19:44 2013 - [1150] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.972478889252187
Mon Jan 21 18:19:48 2013 - [1154] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.6508281131714 - active=0,0,1
Mon Jan 21 18:19:55 2013 - [1165] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.6508281131714
Mon Jan 21 18:19:59 2013 - [1169] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.932880900425033 - active=0,0,1
Mon Jan 21 18:20:06 2013 - [1198] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.932880900425033
Mon Jan 21 18:20:11 2013 - [1202] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.567480051049159 - active=0,0,1
Mon Jan 21 18:20:18 2013 - [1213] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.567480051049159
Mon Jan 21 18:20:22 2013 - [1217] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.105371876943053 - active=0,0,1
Mon Jan 21 18:20:29 2013 - [1228] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.105371876943053
Mon Jan 21 18:20:33 2013 - [1232] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.223749092637689 - active=0,0,1
Mon Jan 21 18:20:40 2013 - [1243] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.223749092637689
Mon Jan 21 18:20:45 2013 - [1247] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.125033575666265 - active=0,0,1
Mon Jan 21 18:20:52 2013 - [1258] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.125033575666265
Mon Jan 21 18:20:56 2013 - [1262] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.513834807529463 - active=0,0,1
Mon Jan 21 18:21:03 2013 - [1273] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.513834807529463
Mon Jan 21 18:21:07 2013 - [1277] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.270036200850399 - active=0,0,1
Mon Jan 21 18:21:14 2013 - [1288] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.270036200850399
Mon Jan 21 18:21:19 2013 - [1292] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.46518848612638 - active=0,0,1
Mon Jan 21 18:21:26 2013 - [1303] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.46518848612638
Mon Jan 21 18:21:30 2013 - [1307] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.429268606330396 - active=0,0,1
Mon Jan 21 18:21:37 2013 - [1318] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.429268606330396
Mon Jan 21 18:21:42 2013 - [1322] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.362434526530222 - active=0,0,1
Mon Jan 21 18:21:49 2013 - [1333] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.362434526530222
Mon Jan 21 18:21:53 2013 - [1337] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.928728962174745 - active=0,0,1
Mon Jan 21 18:22:00 2013 - [1348] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.928728962174745
Mon Jan 21 18:22:04 2013 - [1352] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.267028764912055 - active=0,0,1
Mon Jan 21 18:22:11 2013 - [1363] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.267028764912055
Mon Jan 21 18:22:16 2013 - [1367] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.24768704650657 - active=0,0,1
Mon Jan 21 18:22:23 2013 - [1378] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.24768704650657
Mon Jan 21 18:22:27 2013 - [1382] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.385186987553851 - active=0,0,1
Mon Jan 21 18:22:34 2013 - [1393] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.385186987553851
Mon Jan 21 18:22:38 2013 - [1397] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.232332459275739 - active=0,0,1
Mon Jan 21 18:22:45 2013 - [1408] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.232332459275739
Mon Jan 21 18:22:50 2013 - [1412] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.909197176897095 - active=0,0,1
Mon Jan 21 18:22:57 2013 - [1423] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.909197176897095
Mon Jan 21 18:23:01 2013 - [1427] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.57174332425663 - active=0,0,1
Mon Jan 21 18:23:08 2013 - [1438] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.57174332425663
Mon Jan 21 18:23:13 2013 - [1442] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.801684747889055 - active=0,0,1
Mon Jan 21 18:23:20 2013 - [1453] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.801684747889055
Mon Jan 21 18:23:24 2013 - [1457] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.891278139871673 - active=0,0,1
Mon Jan 21 18:23:31 2013 - [1468] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.891278139871673
Mon Jan 21 18:23:35 2013 - [1472] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.873207819738553 - active=0,0,1
Mon Jan 21 18:23:42 2013 - [1483] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.873207819738553
Mon Jan 21 18:23:47 2013 - [1487] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.784379406224133 - active=0,0,1
Mon Jan 21 18:23:54 2013 - [1498] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.784379406224133
Mon Jan 21 18:23:58 2013 - [1502] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.881016001195775 - active=0,0,1
Mon Jan 21 18:24:05 2013 - [1514] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.881016001195775
Mon Jan 21 18:24:09 2013 - [1518] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.516640911667736 - active=0,0,1
Mon Jan 21 18:24:16 2013 - [1529] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.516640911667736
Mon Jan 21 18:24:39 2013 - [1535] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.846750148895325 - active=0,0,1


以下是正常手动发邮件的Openwebmail的Log内容:
Mon Jan 21 18:02:46 2013 - [1065] (172.16.0.65) openwebmail - login - openwebmail*172.16.0.86-session-0.18424773155445 - active=0,1,1
Mon Jan 21 18:03:04 2013 - [1075] (172.16.0.65) openwebmail - send message - trying to connect to smtp server 127.0.0.1:25
Mon Jan 21 18:03:04 2013 - [1075] (172.16.0.65) openwebmail - send message - connected to smtp server 127.0.0.1:25
Mon Jan 21 18:03:04 2013 - [1075] (172.16.0.65) openwebmail - send message - subject=test0122002 - to=openwebmail@openwebmailserver.com
Mon Jan 21 18:03:20 2013 - [1082] (172.16.0.65) openwebmail - logout - openwebmail*172.16.0.86-session-0.18424773155445

其中我只并发了1个vuser

这个active=0,1,1是啥搞不懂啊

作者: lilila1989    时间: 2013-1-22 19:34
扒了一天wireshark无果。。。求助




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2