WTC性能测试报告

2008-04-09 03:58:35来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

一.测试环境
         

二.TUXEDO的配置
1. UBBconfignt配置文件

*RESOURCES
IPCKEY 123456
DOMAINID simpapp
MASTER simple
MAXACCESSERS 1000
MAXSERVERS 200
MAXSERVICES 400
MODEL SHM
LDBAL N

*MACHINES
DEFAULT:
APPDIR="/home/tuxedo/tux81/samples/atmi/netc"
TUXCONFIG="/home/tuxedo/tux81/samples/atmi/netc/tuxconfig"
TUXDIR="/home/tuxedo/tux81"
MAXWSCLIENTS=500

"bea-cs" LMID=simple


*GROUPS
GROUP1 LMID=simple GRPNO=1 OPENINFO=NONE
DMGRP LMID=simple GRPNO=2 OPENINFO=NONE
LGWGRP LMID=simple GRPNO=3 OPENINFO=NONE
WSGRP LMID=simple GRPNO=4 OPENINFO=NONE

*SERVERS
DEFAULT:
CLOPT="-A"

simpserv SRVID=1 SRVGRP=GROUP1 MIN=10 MAX=10 RQADDR="Q1" REPLYQ=Y
CLOPT="-A -p 3,15:6,5"

WSL SRVID=20 SRVGRP=WSGRP RESTART=Y MAXGEN=10 GRACE=3600
CLOPT="-A -- -n //172.22.32.25:7110 -m 10 -M 50 -x 1 -c 1024"

DMADM SRVGRP=DMGRP SRVID=10
GWADM SRVGRP=LGWGRP SRVID=11
GWTDOMAIN SRVGRP=LGWGRP SRVID=12 REPLYQ=N


*SERVICES
TOUPPER
ECHO

2. dmconfignt配置文件

*DM_RESOURCES
VERSION=U22
*DM_LOCAL_DOMAINS
TDOM1 GWGRP=LGWGRP
TYPE=TDOMAIN
DOMAINID="TDOM1"
BLOCKTIME=20
MAXDATALEN=56
MAXRDOM=89
DMTLOGDEV="C:\TuxDAP\solutions\wtc\simpapp\tux\TLOG"
AUDITLOG="C:\TuxDAP\solutions\wtc\simpapp\tux\AUD"
DMTLOGNAME="DMTLOG_TDOM1"

*DM_REMOTE_DOMAINS
TDOM2 TYPE=TDOMAIN
DOMAINID="TDOM2"

*DM_TDOMAIN
TDOM1 NWADDR="//172.22.32.25:1234"
TDOM2 NWADDR="//10.130.1.199:5678"

*DM_LOCAL_SERVICES
TOUPPER
ECHO

*DM_REMOTE_SERVICES
TOLOWER RDOM="TDOM2" LDOM="TDOM1"


3. Tuxedo VUsers脚本

/* This file is generated by LoadRunner. You may edit it carefully! */
#include "lrt.h"
#include "replay.vdf"

Actions()
{
lrt_tuxputenv("WSNADDR=//172.22.32.25:7110");

tpresult_int = lrt_tpinitialize(LRT_END_OF_PARMS);
lrt_abort_on_error();
data_0 = lrt_tpalloc("STRING", "", 1);

/* Request STRING buffer 1 */
lrt_strcpy(data_0, sbuf_1);
data_1 = lrt_tpalloc("STRING", "", 1);
tpresult_int = lrt_tpcall("TOUPPER",
data_0,
0,
&data_1,
&olen,
0);
/* Reply STRING buffer 1 */
lrt_abort_on_error();

lrt_tpfree(data_0);
lrt_tpfree(data_1);
lrt_tpterm();

return 0;
}


三.Weblogic Server的配置
1.Weblogic Server JSP VUsers脚本

#include "as_web.h"

JSP_Action()
{
web_url("index.html",
"URL=http://jq:7001/toupper/index.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);

web_submit_form("jsp1.jsp",
"Snapshot=t2.inf",
ITEMDATA,
"Name=ok", "Value=TOUPPER", ENDITEM,
LAST);

return 0;
}


四.测试
1.Scenario1
A. 场景描述


Vusers:一共20个,平均分布在Tuxedo/WS和JSP两个组,每个组10个;
Vuses调度:RAMP UP=1/s,Duration=Running for 2mm,RAMP DOWN=1/s;
Running Time Setting:保持缺省值不变;
交易数据包大小:<1K
B. 测试结果
Transaction Response Time - Whole scenario


Transactions per Second (Passed) - Whole scenario


Transaction Summary

2.Scenario2
A. 场景描述

Vusers:一共20个,平均分布在Tuxedo/WS和JSP两个组,每个组10个;
Vuses调度:RAMP UP=1/s,Duration=Running for 5mm,RAMP DOWN=1/s;
Running Time Setting:保持缺省值不变;
交易数据包大小:=2M
B. 测试结果
Transaction Response Time - Whole scenario


Transactions per Second (Passed) - Whole scenario


Transaction Summary

作者简介 经乾是(dev2dev ID: jq75) BEA系统(中国)有限公司 渠道部技术顾问

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:怎样提高性能测试的效率和质量

下一篇:刨根问底微软Vista操作系统详尽测试