WTC软件性能测试报告

发表于:2009-03-16来源:作者:点击数: 标签:性能测试WTC软件
一. 测试环境 二.TUXEDO的配置 1. UBBconfignt配置文件 *RESOURCES IPCKEY 123456 DOMAINID simpapp MASTER simple MAXA CC ESSERS 1000 MAXSERVERS 200 MAXSERVICES 400 MODEL SHM LDBAL N *MACHINES DEFAULT: APPDIR="/home/tuxedo/tux81/samples/atmi/

一.测试环境         

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

clearcase/" target="_blank" >cccccc border=0>
*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脚本

原文转自:http://www.ltesting.net