Hi, Felix! I tried to delete mongodb sampler data and ran tests. In result
I get 7 failed tests. So, I think that there tests somehow connected to the
sampler (TestSaveService).
Can you help me with this?
     [java] required-type       : org.apache.jorphan.collections.ListedHashTree
     [java] converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
     [java] path                : /jmeterTestPlan/hashTree/hashTree/hashTree[2]/
hashTree[2]/MongoSourceElement
     [java] line number         : 285
     [java] version             : not available
     [java] -------------------------------
     [java]     at org.apache.jmeter.save.SaveService.readTree(SaveService.java:
462)
     [java]     at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:
435)
     [java]     at org.apache.jmeter.save.TestSaveService.loadAndSave(TestSaveSe
rvice.java:129)
     [java]     at org.apache.jmeter.save.TestSaveService.testLoadAndSave(TestSa
veService.java:107)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:62)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:43)
     [java]     at java.lang.reflect.Method.invoke(Method.java:498)
     [java]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(F
rameworkMethod.java:50)
     [java]     at org.junit.internal.runners.model.ReflectiveCallable.run(Refle
ctiveCallable.java:12)
     [java]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(Fra
meworkMethod.java:47)
     [java]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(I
nvokeMethod.java:17)
     [java]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)

     [java]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4
ClassRunner.java:78)
     [java]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4
ClassRunner.java:57)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors
.java:511)
     [java]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
     [java]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolE
xecutor.java:1149)
     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:624)
     [java]     at java.lang.Thread.run(Thread.java:748)
     [java] Caused by: com.thoughtworks.xstream.converters.ConversionException:

     [java] ---- Debugging information ----
     [java] cause-exception     : com.thoughtworks.xstream.converters.Conversion
Exception
     [java] cause-message       :
     [java] first-jmeter-class  : org.apache.jmeter.save.converters.HashTreeConv
erter.unmarshal(HashTreeConverter.java:67)
     [java] class               : org.apache.jmeter.save.ScriptWrapper
     [java] required-type       : org.apache.jorphan.collections.ListedHashTree
     [java] converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
     [java] path                : /jmeterTestPlan/hashTree/hashTree/hashTree[2]/
hashTree[2]/MongoSourceElement
     [java] line number         : 285
     [java] version             : not available
     [java] -------------------------------
     [java]     at org.apache.jmeter.save.ScriptWrapperConverter.createConversio
nException(ScriptWrapperConverter.java:102)
     [java]     at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(Scrip
tWrapperConverter.java:96)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnma
rshaller.java:134)
     [java]     at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
.unmarshal(AbstractTreeMarshallingStrategy.java:32)
     [java]     at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1486)

     [java]     at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1466)

     [java]     at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1337)
     [java]     at org.apache.jmeter.save.SaveService.readTree(SaveService.java:
452)
     [java]     ... 20 more
     [java] Caused by: com.thoughtworks.xstream.converters.ConversionException:

     [java] ---- Debugging information ----
     [java] cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveC
lassException
     [java] cause-message       : org.apache.jmeter.protocol.mongodb.config.Mong
oSourceElement
     [java] class               : org.apache.jorphan.collections.ListedHashTree
     [java] required-type       : org.apache.jorphan.collections.ListedHashTree
     [java] converter-type      : org.apache.jmeter.save.converters.HashTreeConv
erter
     [java] path                : /jmeterTestPlan/hashTree/hashTree/hashTree[2]/
hashTree[2]/MongoSourceElement
     [java] line number         : 285
     [java] -------------------------------
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:79)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.converters.collections.AbstractColle
ctionConverter.readItem(AbstractCollectionConverter.java:73)
     [java]     at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal
(HashTreeConverter.java:67)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.converters.collections.AbstractColle
ctionConverter.readItem(AbstractCollectionConverter.java:73)
     [java]     at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal
(HashTreeConverter.java:67)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.converters.collections.AbstractColle
ctionConverter.readItem(AbstractCollectionConverter.java:73)
     [java]     at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal
(HashTreeConverter.java:67)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(Scrip
tWrapperConverter.java:94)
     [java]     ... 30 more
     [java] Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassExcepti
on: org.apache.jmeter.protocol.mongodb.config.MongoSourceElement
     [java]     at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(Defau
ltMapper.java:81)
     [java]     at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(Mappe
rWrapper.java:125)
     [java]     at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(
DynamicProxyMapper.java:55)
     [java]     at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(Mappe
rWrapper.java:125)
     [java]     at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realCla
ss(PackageAliasingMapper.java:88)
     [java]     at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(Mappe
rWrapper.java:125)
     [java]     at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass
(ClassAliasingMapper.java:79)
     [java]     at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(Mappe
rWrapper.java:125)
     [java]     at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMa
pper.java:74)
     [java]     at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(Mappe
rWrapper.java:125)
     [java]     at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(Secu
rityMapper.java:71)
     [java]     at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(Mappe
rWrapper.java:125)
     [java]     at org.apache.jmeter.save.SaveService$XStreamWrapper$1.realClass
(SaveService.java:98)
     [java]     at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(Mappe
rWrapper.java:125)
     [java]     at com.thoughtworks.xstream.mapper.CachingMapper.realClass(Cachi
ngMapper.java:47)
     [java]     at com.thoughtworks.xstream.core.util.HierarchicalStreams.readCl
assType(HierarchicalStreams.java:29)
     [java]     at com.thoughtworks.xstream.converters.collections.AbstractColle
ctionConverter.readItem(AbstractCollectionConverter.java:72)
     [java]     at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal
(HashTreeConverter.java:67)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.converters.collections.AbstractColle
ctionConverter.readItem(AbstractCollectionConverter.java:73)
     [java]     at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal
(HashTreeConverter.java:67)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.converters.collections.AbstractColle
ctionConverter.readItem(AbstractCollectionConverter.java:73)
     [java]     at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal
(HashTreeConverter.java:67)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.converters.collections.AbstractColle
ctionConverter.readItem(AbstractCollectionConverter.java:73)
     [java]     at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal
(HashTreeConverter.java:67)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(Scrip
tWrapperConverter.java:94)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUn
marshaller.java:72)
     [java]     at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.c
onvert(AbstractReferenceUnmarshaller.java:70)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:66)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother
(TreeUnmarshaller.java:50)
     [java]     at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnma
rshaller.java:134)
     [java]     at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy
.unmarshal(AbstractTreeMarshallingStrategy.java:32)
     [java]     at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1486)

     [java]     at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1466)

     [java]     at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1337)
     [java]     at org.apache.jmeter.save.SaveService.readTree(SaveService.java:
452)
     [java]     at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:
435)
     [java]     at org.apache.jmeter.gui.action.TestLoad.getTree(TestLoad.java:1
08)
     [java]     at org.apache.jmeter.gui.action.TestLoad.checkTestFile(TestLoad.
java:90)
     [java]     at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:43)
     [java]     at java.lang.reflect.Method.invoke(Method.java:498)
     [java]     at junit.framework.TestCase.runTest(TestCase.java:176)
     [java]     at junit.framework.TestCase.runBare(TestCase.java:141)
     [java]     at junit.framework.TestResult$1.protect(TestResult.java:122)
     [java]     at junit.framework.TestResult.runProtected(TestResult.java:142)
     [java]     at junit.framework.TestResult.run(TestResult.java:125)
     [java]     at junit.framework.TestCase.run(TestCase.java:129)
     [java]     at junit.framework.TestSuite.runTest(TestSuite.java:252)
     [java]     at junit.framework.TestSuite.run(TestSuite.java:247)
     [java]     at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38Clas
sRunner.java:86)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:128)
     [java]     at org.junit.runners.Suite.runChild(Suite.java:27)
     [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:7
1)
     [java]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:
288)
     [java]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:5
8)
     [java]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:2
68)
     [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
     [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
     [java]     at org.apache.jorphan.test.AllTests.main(AllTests.java:219)
     [java]
     [java] FAILURES!!!
     [java] Tests run: 3171,  Failures: 7
     [java]
     [java] .................................................................
     [java] Time: 5,005
     [java]
     [java] OK (65 tests)
     [java]

BUILD FAILED
D:\apache_jmeter\jmeter_updated\build.xml:3084: Java returned: 1

Total time: 2 minutes 3 seconds

D:\apache_jmeter\jmeter_updated>

Reply via email to