1、 多用户访问页面时候发现很多页面组件下载超时,这是由于测试页面没有返回显示那些组件,一般在100个以上的虚拟用户他的事务总量就达到平稳有的下降,通过对不同用户事务平均时间曲线进行对比,发现访问过程中,通常情况下处理这个页面的占用时间最多,而且大多时间都花在服务器端。处理这种类型的页面占用时间次之,时间也都是花在服务器端。
i1[;|4E*R^0w#[02、 测试过程中发现有以下错误
8z
h@,r5Bv7_0打开访问页面过程出现以下错误类型:51Testing软件测试网I/sk
C,`QgE
1) Case001Insufficient records for parameter 'siteID' in table to provide the Vuser with unique data51Testing软件测试网
l9]){A8pu'rk
51Testing软件测试网9Ycm$g'O yt)G
解决:不能用迭代的参数化
1us2I$a
KV8gj0 51Testing软件测试网+b"h$l8nJ
F
2) case002:Error: Parameter 'siteID': No more unique values for this parameter in table 'siteid1.dat' [unique range is 1-1].The parameter continues with last value of the range according to "When Out Of Values" policy.
0_
P2u*IL{O_#a;X0 51Testing软件测试网j%z3a @]2R ?
是这100个用户在循环做Action,而不是循环做登录,如果循环登录的话,那900个参数肯定不够啊。
nA6j E j*B"I
X0解决:用unique once可以解决51Testing软件测试网
S?%R0_t8I O
51Testing软件测试网2|,Z/i DJ%W.Ancx
3) case003:You have exceeded the number of Vusers available for your license.51Testing软件测试网8n3o
|H)@#t&f
Contact HP Software to upgrade your license.
#r)m!?
O}b0To enter a new license, choose Start > Programs > HP LoadRunner > LoadRunner to open the Launcher application, and select the
F4Ke2w'`o7z$Ta!g0 51Testing软件测试网.[wa1N"X:g L6GF6r!_a
解决:用AEACFSJI-YASEKJJKEAHJD-BCLBR的注册号
?8kMsT1vD0 51Testing软件测试网 D!t)`X\m*yE }3W
4) case005:Monitor name :MS SQL Server. Cannot connect to machine 192.168.0.20.51Testing软件测试网Qwl&^tU
Reason:拒绝访问。51Testing软件测试网FP[3M;u$uR!x
51Testing软件测试网v
Uql(M6GtR}
解决:net use \\192.168.0.13
5c1Y@fzp0 51Testing软件测试网#U-`fJ:rcw
5) case 006:填写参数的化的时候 不超过10051Testing软件测试网&[o]*R/j
d"u"bs|a1cG/sl0config文件下vugen.ini文件中
(T#VF
ybX2{d0hhj0[ParamTable]51Testing软件测试网`I5pvz8|
U
MaxVisibleLines=100 51Testing软件测试网Q'|B.v[}
6V%}|5_f%t|0解决:把100改成你想显示的数字就OK了。51Testing软件测试网}]xi[
-CA UW0?06) case007:Cannot create measurement Processor|% Processor Time|_Total on machine51Testing软件测试网x#Tc,m4n
x
51Testing软件测试网 nus4F\}"\c.z
解决:LODCTR /R重新还原就可以51Testing软件测试网K xN,{`
'H0UB~HLE0X}r0备注:有些数据看起来不是太合理,有些下载页面无页面超时很多,原因不是真正的测试环境,51Testing软件测试网$vg&DDQ/x+S
而是页面中只是调用js,没有真正的显示出页面的组件.
q cXB-fcn3O.n0