首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >LR性能测试常见问题及处理方法(三)

LR性能测试常见问题及处理方法(三)

原创
作者头像
虫无涯
发布2023-01-30 13:17:03
发布2023-01-30 13:17:03
4750
举报
文章被收录于专栏:全栈测试技术全栈测试技术

《LR性能测试常见问题及处理方法(二)》的基础上追加。

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错误;   问题产生原因:

代码语言:txt
复制
 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 : 1005412.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)”

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 9、错误码:Error -27279
    • 9.1、错误记录
  • 10、错误码:Error -27796
    • 10.1、错误记录
  • 11、错误码:Error -10489
    • 11.1、错误记录
    • 11.3、处理方法
  • 12、错误码:Error -10054
    • 12.1、错误记录
    • 12.3、处理方法
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档