字号: 小 中 大 |
推荐给好友
上一篇 |
下一篇
WTC软件性能测试报告
发布: 2009-3-16 10:43 |
作者: 不详 |
来源:
测试时代采编 |
查看: 273次 | 进入软件测试论坛讨论
领测软件测试网
一.测试环境
二.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脚本
文章来源于领测软件测试网 https://www.ltesting.net/
TAG:
WTC
软件
性能测试