关于性能测试:LR性能测试常见问题及处理方法三

29次阅读

共计 1499 个字符,预计需要花费 4 分钟才能阅读完成。

在《LR 性能测试常见问题及解决办法(二)》的根底上追加。
@TOC

9、错误码:Error -27279

9.1、谬误记录

谬误 -27279:外部谬误(呼叫客户服务):Report initialization failed , error code = -2147467259 [MsgId : MERR-27279]

9.2、解决办法

倡议重装一下 LR.
这种问题有可能和你装置无关.dll 文件出错不是说写的程序就能批改的.

10、错误码:Error -27796

10.1、谬误记录

设置了持续时间,呈现谬误为:27796, Failed to connect to server ‘hostname’;port_ld’: ‘reason’.10048.(凭记忆写的,不晓得写错了没有)

10.2、解决办法

在注册表 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters 里,有如下两个键值:
TcpTimedWaitDelay
MaxUserPort
1, 这里的 TcpTimedWaitDelay 默认值应该中是 30s,所以这里,把这个值调小为 5s(按须要调整)。
2, 也能够把 MaxUserPort 调大(如果这个值不是最大值的话)。

11、错误码:Error -10489

11.1、谬误记录

Error -10489 : Exception was raised when calling per-thread-terminate function

11.2、谬误剖析

在用 Loadrunner 施行性能测试时,采纳 Goal 模式加压,存在如果继续长时加压时LoadRunner 的 Controller 会报 Error -10489 : Exception was raised when calling per-thread-terminate function 谬误;
问题产生起因:

 Unlike the earlier Windows versions, Windows 2000 and Windows XP have the default environment set to C:\Document and Settings\<user-name>\Local Settings\Temp instead of C:\Windows\temp. This long path with a space can cause several problems for LoadRunner. To resolve the issue, change to a directory without empty spaces. 

11.3、解决办法

在 C 盘(或是其它盘均能够)新建 TEMP 文件夹(为了后续设置临时文件筹备)

 右键"我的电脑"-> 高级 -> 环境变量 -> 编辑批改 TEMP 变量目录,指身上面新建的目录,如我的指向 C:\TEMP-> 保留即可

12、错误码:Error -10054

12.1、谬误记录

Connection reset by peer. Error code : 10054

12.2、谬误剖析

设置下载等的超时
用 VuGen 录制脚本后,回放或者加压的时候,可能会呈现错误信息“Action.c(65): Error : socket6 – Connection reset by peer. Error code : 10054”
这是因为,下载的速度慢,导致超时,所以,须要调整一下超时工夫,

12.3、解决办法

在 Run-time setting 窗口中的‘Internet Protocol’-‘Preferences’设置 set advanced options(设置高级选项),,从新设置一下“HTTP-request connect timeout(sec)”

正文完
 0