51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2287|回复: 2
打印 上一主题 下一主题

[原创] 紧急求助,loadrunner增加每秒登录的用户数就报错

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-3-7 22:23:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
设置场景如每15秒有10个用户登录就会出现以下报错,
Action.c(78): Error: Decoding of AMF message failed. Error is : Externalizable parsing failed: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at hp.flex.HPExternalizableWrapper.ReadObject(HPExternalizableWrapper.java:96)
Caused by: flex.messaging.MessageException: An unknown exception occurred while creating an instance of type 'com.sinotrans.framework.flex.support.msg.ResultMessage'.
        at flex.messaging.util.ClassUtil.createDefaultInstance(ClassUtil.java:161)
        at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:435)
        at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
        at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
        at flex.messaging.messages.AbstractMessage.readExternal(AbstractMessage.java:242)
        at flex.messaging.messages.AsyncMessage.readExternal(AsyncMessage.java:98)
        at flex.messaging.messages.AcknowledgeMessage.readExternal(AcknowledgeMessage.java:55)
        at flex.messaging.io.amf.Amf3Input.readExternalizable(Amf3Input.java:528)
        at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:455)
        at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
        at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
        ... 4 more
Caused by: org.apache.commons.logging.LogConfigurationException: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found (Caused by javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
        at com.sinotrans.framework.flex.support.msg.ResultMessage.<init>(ResultMessage.java:38)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at flex.messaging.util.ClassUtil.createDefaultInstance(ClassUtil.java:80)
        ... 14 more
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
        at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:104)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:644)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        at org.apache.log4j.Logger.getLogger(Logger.java:85)
        at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
        at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        ... 25 more
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2012-3-7 22:30:00 | 只看该作者
回复 1# kellychen1208


    之前是执行场景设置了思考时间和迭代间隔时间,5个用户每10秒登录都正常,但是测试出来结果的TPS太小了,300个用户才平均2.8,所以想要去掉迭代时间和思考时间,提高了用户登录初始登录系统的速度如50user/15s,但是结果就开始出现这个错误。后来按照原先的设置运行场景都报错了。。。。
这个问题纠结了一整天,还是没有找到问题的根源,大家有没遇到类似的情况,帮忙看看。
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2012-3-8 09:05:28 | 只看该作者
大家帮忙看看呢。。。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-8 09:54 , Processed in 0.093959 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表