kellychen1208 发表于 2012-3-7 22:23:20

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

设置场景如每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

kellychen1208 发表于 2012-3-7 22:30:00

回复 1# kellychen1208


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

kellychen1208 发表于 2012-3-8 09:05:28

大家帮忙看看呢。。。
页: [1]
查看完整版本: 紧急求助,loadrunner增加每秒登录的用户数就报错