You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Chamara Ariyarathne <ch...@wso2.com> on 2017/11/07 09:34:35 UTC
Fwd: Running jmeter bzm - Concurrency Thread Group though maven
I am trying to run a jmeter project which contains "bzm - Concurrency
Thread Group" through a maven project. The pom file is attached here.
There's an error I'm getting which blocks the running of the jmeter
project with maven as following;
[INFO] Executing test: Concurrency_Thread_Group.jmx
[INFO] Starting process with:[java, -Xms512M, -Xmx512M, -jar,
ApacheJMeter-3.2.jar, -d, /home/chamara/stress-test-framework/target/jmeter,
-j, /home/chamara/stress-test-framework/target/jmeter/logs/Concurrency_Thread_Group.jmx.log,
-l, /home/chamara/stress-test-framework/target/jmeter/results/
20171106-CUSTOM_Concurrency_Thread_Group.csv, -n, -t,
/home/chamara/stress-test-framework/target/jmeter/testFiles/
CUSTOM/Concurrency_Thread_Group.jmx]
[INFO] Error in NonGUIDriver java.lang.IllegalArgumentException: Problem
loading XML from:'/home/chamara/stress-test-framework/target/jmeter/test
Files/CUSTOM/Concurrency_Thread_Group.jmx', missing class
com.thoughtworks.xstream.converters.ConversionException:
[INFO] ---- Debugging information ----
[INFO] cause-exception : com.thoughtworks.xstream.conve
rters.ConversionException
[INFO] cause-message :
[INFO] first-jmeter-class : org.apache.jmeter.save.convert
ers.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
[INFO] class : org.apache.jmeter.save.ScriptWrapper
[INFO] required-type : org.apache.jorphan.collections.ListedHashTree
[INFO] converter-type : org.apache.jmeter.save.ScriptWrapperConverter
[INFO] path : /jmeterTestPlan/hashTree/hashT
ree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
[INFO] line number : 94
[INFO] version : 3.2 r1790748
[INFO] -------------------------------
I have tried the solution as mentioned in here; https://github.com/jmete
r-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additiona
l%20Libraries%20To%20The%20Classpath
yet it is not successful.
Did anyone encounter this before? How do I solve it?
--
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766 <077%20278%206766>*
Re: Running jmeter bzm - Concurrency Thread Group though maven
Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Hello,
Can you go there:
- https://github.com/jmeter-maven-plugin/jmeter-maven-plugin
and open an issue attaching all required elements.
Thank you
On Thursday, November 9, 2017, Chamara Ariyarathne <ch...@wso2.com>
wrote:
> Right now after several changes I'm getting the following. I will try the
> above suggestions and update.
>
> java.lang.IllegalArgumentException: Problem loading XML
> from:'/home/chamara/stress-test-framework/src/test/
> jmeter/CUSTOM/Concurrency_Thread_Group.jmx',
> missing class com.thoughtworks.xstream.converters.ConversionException:
> ---- Debugging information ----
> cause-exception :
> com.thoughtworks.xstream.converters.ConversionException
> cause-message :
> first-jmeter-class :
> org.apache.jmeter.save.converters.HashTreeConverter.
> unmarshal(HashTreeConverter.java:67)
> class : org.apache.jmeter.save.ScriptWrapper
> required-type : org.apache.jorphan.collections.ListedHashTree
> converter-type : org.apache.jmeter.save.ScriptWrapperConverter
> path :
> /jmeterTestPlan/hashTree/hashTree/com.blazemeter.
> jmeter.threads.concurrency.ConcurrencyThreadGroup
> line number : 94
> version : 3.3 r1808647
> -------------------------------
> at org.apache.jmeter.save.SaveService.readTree(SaveService.java:458)
> at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:426)
> at org.wso2.stress.StressTest.runJmeter(StressTest.java:53)
> Caused by: com.thoughtworks.xstream.converters.ConversionException:
> ---- Debugging information ----
> cause-exception :
> com.thoughtworks.xstream.converters.ConversionException
> cause-message :
> first-jmeter-class :
> org.apache.jmeter.save.converters.HashTreeConverter.
> unmarshal(HashTreeConverter.java:67)
> class : org.apache.jmeter.save.ScriptWrapper
> required-type : org.apache.jorphan.collections.ListedHashTree
> converter-type : org.apache.jmeter.save.ScriptWrapperConverter
> path :
> /jmeterTestPlan/hashTree/hashTree/com.blazemeter.
> jmeter.threads.concurrency.ConcurrencyThreadGroup
> line number : 94
> version : 3.3 r1808647
> -------------------------------
> at
> org.apache.jmeter.save.ScriptWrapperConverter.createConversionException(
> ScriptWrapperConverter.java:103)
> at
> org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(
> ScriptWrapperConverter.java:97)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(
> TreeUnmarshaller.java:72)
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(
> AbstractReferenceUnmarshaller.java:70)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
> TreeUnmarshaller.java:66)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
> TreeUnmarshaller.java:50)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(
> TreeUnmarshaller.java:134)
> at
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(
> AbstractTreeMarshallingStrategy.java:32)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1486)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1466)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1337)
> at org.apache.jmeter.save.SaveService.readTree(SaveService.java:443)
> ... 15 more
> Caused by: com.thoughtworks.xstream.converters.ConversionException:
> ---- Debugging information ----
> cause-exception :
> com.thoughtworks.xstream.mapper.CannotResolveClassException
> cause-message :
> com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
> class : org.apache.jorphan.collections.ListedHashTree
> required-type : org.apache.jorphan.collections.ListedHashTree
> converter-type : org.apache.jmeter.save.converters.HashTreeConverter
> path :
> /jmeterTestPlan/hashTree/hashTree/com.blazemeter.
> jmeter.threads.concurrency.ConcurrencyThreadGroup
> line number : 94
> -------------------------------
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(
> TreeUnmarshaller.java:79)
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(
> AbstractReferenceUnmarshaller.java:70)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
> TreeUnmarshaller.java:66)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
> TreeUnmarshaller.java:50)
> at
> com.thoughtworks.xstream.converters.collections.
> AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:73)
> at
> org.apache.jmeter.save.converters.HashTreeConverter.
> unmarshal(HashTreeConverter.java:67)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(
> TreeUnmarshaller.java:72)
> at
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(
> AbstractReferenceUnmarshaller.java:70)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
> TreeUnmarshaller.java:66)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(
> TreeUnmarshaller.java:50)
> at
> org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(
> ScriptWrapperConverter.java:95)
> ... 25 more
> Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException:
> com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
> at
> com.thoughtworks.xstream.mapper.DefaultMapper.
> realClass(DefaultMapper.java:81)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.
> realClass(MapperWrapper.java:125)
> at
> com.thoughtworks.xstream.mapper.DynamicProxyMapper.
> realClass(DynamicProxyMapper.java:55)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.
> realClass(MapperWrapper.java:125)
> at
> com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(
> PackageAliasingMapper.java:88)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.
> realClass(MapperWrapper.java:125)
> at
> com.thoughtworks.xstream.mapper.ClassAliasingMapper.
> realClass(ClassAliasingMapper.java:79)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.
> realClass(MapperWrapper.java:125)
> at
> com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.
> realClass(MapperWrapper.java:125)
> at
> com.thoughtworks.xstream.mapper.SecurityMapper.
> realClass(SecurityMapper.java:71)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.
> realClass(MapperWrapper.java:125)
> at
> org.apache.jmeter.save.SaveService$XStreamWrapper$1.
> realClass(SaveService.java:97)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.
> realClass(MapperWrapper.java:125)
> at
> com.thoughtworks.xstream.mapper.CachingMapper.
> realClass(CachingMapper.java:47)
> at
> com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(
> HierarchicalStreams.java:29)
> at
> com.thoughtworks.xstream.converters.collections.
> AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:72)
> at
> org.apache.jmeter.save.converters.HashTreeConverter.
> unmarshal(HashTreeConverter.java:67)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(
> TreeUnmarshaller.java:72)
> ... 35 more
>
>
> On Tue, Nov 7, 2017 at 4:15 PM, Philippe Mouawad <
> p.mouawad@ubik-ingenierie.com <javascript:;>> wrote:
>
> > A workaround for the last problem:
> > Set:
> > <downloadExtensionDependencies>false</downloadExtensionDependencies>
> > This does however mean that you will need to manually set all the
> > dependencies that this jmeter-plugins depends upon in your
> > <jmeterExtensions> block.
> > Please give feedback on this.
> > Thanks
> > Regards
> >
> > On Tue, Nov 7, 2017 at 11:20 AM, Philippe Mouawad <
> > p.mouawad@ubik-ingenierie.com <javascript:;>> wrote:
> >
> > > Hello,
> > >
> > > Both plugins are 3rd party plugins , this mailing list is not the right
> > > place to ask for that.
> > >
> > > Still , being a commiter on jmeter-maven-plugin I 'll answer for my
> part.
> > >
> > > You're using the wrong syntax and jmeter plugin:
> > > 1/ This is what you should set:
> > > <jmeterExtensions>
> > > <artifact>kg.apc:jmeter-
> > > plugins-casutg:2.4</artifact>
> > > </jmeterExtensions>
> > >
> > >
> > > 2/ And remove from your pom this:
> > > <dependencies>
> > > <!-- https://mvnrepository.com/artifact/com.lazerycode.
> > > jmeter/jmeter-maven-plugin -->
> > > <dependency>
> > > <groupId>com.lazerycode.jmeter</groupId>
> > > <artifactId>jmeter-maven-plugin</artifactId>
> > > <version>2.0.3</version>
> > > </dependency>
> > > <dependency>
> > > <groupId>kg.apc</groupId>
> > > <artifactId>jmeter-plugins-standard</artifactId>
> > > <version>1.1.3</version>
> > > </dependency>
> > > </dependencies>
> > > 3/ Use last version of jmeter-maven-plugin which is 2.4.1 released
> > > yesterday.
> > >
> > > You'll still face an issue because the jmeter plugin you use seems to
> > rely
> > > on an old version of jmeter which contains an error in pom.
> > >
> > > Regards
> > >
> > >
> > > On Tue, Nov 7, 2017 at 10:34 AM, Chamara Ariyarathne <
> chamaraa@wso2.com <javascript:;>>
> > > wrote:
> > >
> > >> I am trying to run a jmeter project which contains "bzm - Concurrency
> > >> Thread Group" through a maven project. The pom file is attached here.
> > >>
> > >> There's an error I'm getting which blocks the running of the jmeter
> > >> project with maven as following;
> > >>
> > >> [INFO] Executing test: Concurrency_Thread_Group.jmx
> > >> [INFO] Starting process with:[java, -Xms512M, -Xmx512M, -jar,
> > >> ApacheJMeter-3.2.jar, -d, /home/chamara/stress-test-
> > framework/target/jmeter,
> > >> -j, /home/chamara/stress-test-framework/target/jmeter/logs/
> > Concurrency_Thread_Group.jmx.log,
> > >> -l, /home/chamara/stress-test-framework/target/jmeter/results/20
> > >> 171106-CUSTOM_Concurrency_Thread_Group.csv, -n, -t,
> > >> /home/chamara/stress-test-framework/target/jmeter/testFiles/
> > >> CUSTOM/Concurrency_Thread_Group.jmx]
> > >> [INFO] Error in NonGUIDriver java.lang.IllegalArgumentException:
> > Problem
> > >> loading XML from:'/home/chamara/stress-test-framework/target/jmeter/
> > test
> > >> Files/CUSTOM/Concurrency_Thread_Group.jmx', missing class
> > >> com.thoughtworks.xstream.converters.ConversionException:
> > >> [INFO] ---- Debugging information ----
> > >> [INFO] cause-exception : com.thoughtworks.xstream.conve
> > >> rters.ConversionException
> > >> [INFO] cause-message :
> > >> [INFO] first-jmeter-class : org.apache.jmeter.save.convert
> > >> ers.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
> > >> [INFO] class : org.apache.jmeter.save.ScriptWrapper
> > >> [INFO] required-type : org.apache.jorphan.collections
> > >> .ListedHashTree
> > >> [INFO] converter-type : org.apache.jmeter.save.ScriptW
> > >> rapperConverter
> > >> [INFO] path : /jmeterTestPlan/hashTree/hashT
> > >> ree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
> > >> [INFO] line number : 94
> > >> [INFO] version : 3.2 r1790748
> > >> [INFO] -------------------------------
> > >>
> > >>
> > >> I have tried the solution as mentioned in here;
> > https://github.com/jmete
> > >> r-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additional%
> > >> 20Libraries%20To%20The%20Classpath
> > >>
> > >> yet it is not successful.
> > >>
> > >> Did anyone encounter this before? How do I solve it?
> > >>
> > >>
> > >> --
> > >> *Chamara Ariyarathne*
> > >> WSO2 Inc; http://www.wso2.com/
> > >> Mobile; *+94772786766 <077%20278%206766>*
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> <javascript:;>
> > >> For additional commands, e-mail: user-help@jmeter.apache.org
> <javascript:;>
> > >>
> > >
> > >
> > >
> > > --
> > > Cordialement.
> > > Philippe Mouawad.
> > > Ubik-Ingénierie
> > >
> > > UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
> > >
> > > UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
> > >
> > >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> > Ubik-Ingénierie
> >
> > UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
> >
> > UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
> >
>
>
>
> --
> *Chamara Ariyarathne*
> WSO2 Inc; http://www.wso2.com/
> Mobile; *+94772786766*
>
--
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
Re: Running jmeter bzm - Concurrency Thread Group though maven
Posted by Chamara Ariyarathne <ch...@wso2.com>.
Right now after several changes I'm getting the following. I will try the
above suggestions and update.
java.lang.IllegalArgumentException: Problem loading XML
from:'/home/chamara/stress-test-framework/src/test/jmeter/CUSTOM/Concurrency_Thread_Group.jmx',
missing class com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception :
com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class :
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path :
/jmeterTestPlan/hashTree/hashTree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
line number : 94
version : 3.3 r1808647
-------------------------------
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:458)
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:426)
at org.wso2.stress.StressTest.runJmeter(StressTest.java:53)
Caused by: com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception :
com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class :
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path :
/jmeterTestPlan/hashTree/hashTree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
line number : 94
version : 3.3 r1808647
-------------------------------
at
org.apache.jmeter.save.ScriptWrapperConverter.createConversionException(ScriptWrapperConverter.java:103)
at
org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:97)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1486)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1466)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1337)
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:443)
... 15 more
Caused by: com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception :
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message :
com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
class : org.apache.jorphan.collections.ListedHashTree
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.converters.HashTreeConverter
path :
/jmeterTestPlan/hashTree/hashTree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
line number : 94
-------------------------------
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:73)
at
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at
org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:95)
... 25 more
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException:
com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
at
com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
org.apache.jmeter.save.SaveService$XStreamWrapper$1.realClass(SaveService.java:97)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at
com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
at
com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
at
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:72)
at
org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 35 more
On Tue, Nov 7, 2017 at 4:15 PM, Philippe Mouawad <
p.mouawad@ubik-ingenierie.com> wrote:
> A workaround for the last problem:
> Set:
> <downloadExtensionDependencies>false</downloadExtensionDependencies>
> This does however mean that you will need to manually set all the
> dependencies that this jmeter-plugins depends upon in your
> <jmeterExtensions> block.
> Please give feedback on this.
> Thanks
> Regards
>
> On Tue, Nov 7, 2017 at 11:20 AM, Philippe Mouawad <
> p.mouawad@ubik-ingenierie.com> wrote:
>
> > Hello,
> >
> > Both plugins are 3rd party plugins , this mailing list is not the right
> > place to ask for that.
> >
> > Still , being a commiter on jmeter-maven-plugin I 'll answer for my part.
> >
> > You're using the wrong syntax and jmeter plugin:
> > 1/ This is what you should set:
> > <jmeterExtensions>
> > <artifact>kg.apc:jmeter-
> > plugins-casutg:2.4</artifact>
> > </jmeterExtensions>
> >
> >
> > 2/ And remove from your pom this:
> > <dependencies>
> > <!-- https://mvnrepository.com/artifact/com.lazerycode.
> > jmeter/jmeter-maven-plugin -->
> > <dependency>
> > <groupId>com.lazerycode.jmeter</groupId>
> > <artifactId>jmeter-maven-plugin</artifactId>
> > <version>2.0.3</version>
> > </dependency>
> > <dependency>
> > <groupId>kg.apc</groupId>
> > <artifactId>jmeter-plugins-standard</artifactId>
> > <version>1.1.3</version>
> > </dependency>
> > </dependencies>
> > 3/ Use last version of jmeter-maven-plugin which is 2.4.1 released
> > yesterday.
> >
> > You'll still face an issue because the jmeter plugin you use seems to
> rely
> > on an old version of jmeter which contains an error in pom.
> >
> > Regards
> >
> >
> > On Tue, Nov 7, 2017 at 10:34 AM, Chamara Ariyarathne <ch...@wso2.com>
> > wrote:
> >
> >> I am trying to run a jmeter project which contains "bzm - Concurrency
> >> Thread Group" through a maven project. The pom file is attached here.
> >>
> >> There's an error I'm getting which blocks the running of the jmeter
> >> project with maven as following;
> >>
> >> [INFO] Executing test: Concurrency_Thread_Group.jmx
> >> [INFO] Starting process with:[java, -Xms512M, -Xmx512M, -jar,
> >> ApacheJMeter-3.2.jar, -d, /home/chamara/stress-test-
> framework/target/jmeter,
> >> -j, /home/chamara/stress-test-framework/target/jmeter/logs/
> Concurrency_Thread_Group.jmx.log,
> >> -l, /home/chamara/stress-test-framework/target/jmeter/results/20
> >> 171106-CUSTOM_Concurrency_Thread_Group.csv, -n, -t,
> >> /home/chamara/stress-test-framework/target/jmeter/testFiles/
> >> CUSTOM/Concurrency_Thread_Group.jmx]
> >> [INFO] Error in NonGUIDriver java.lang.IllegalArgumentException:
> Problem
> >> loading XML from:'/home/chamara/stress-test-framework/target/jmeter/
> test
> >> Files/CUSTOM/Concurrency_Thread_Group.jmx', missing class
> >> com.thoughtworks.xstream.converters.ConversionException:
> >> [INFO] ---- Debugging information ----
> >> [INFO] cause-exception : com.thoughtworks.xstream.conve
> >> rters.ConversionException
> >> [INFO] cause-message :
> >> [INFO] first-jmeter-class : org.apache.jmeter.save.convert
> >> ers.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
> >> [INFO] class : org.apache.jmeter.save.ScriptWrapper
> >> [INFO] required-type : org.apache.jorphan.collections
> >> .ListedHashTree
> >> [INFO] converter-type : org.apache.jmeter.save.ScriptW
> >> rapperConverter
> >> [INFO] path : /jmeterTestPlan/hashTree/hashT
> >> ree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
> >> [INFO] line number : 94
> >> [INFO] version : 3.2 r1790748
> >> [INFO] -------------------------------
> >>
> >>
> >> I have tried the solution as mentioned in here;
> https://github.com/jmete
> >> r-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additional%
> >> 20Libraries%20To%20The%20Classpath
> >>
> >> yet it is not successful.
> >>
> >> Did anyone encounter this before? How do I solve it?
> >>
> >>
> >> --
> >> *Chamara Ariyarathne*
> >> WSO2 Inc; http://www.wso2.com/
> >> Mobile; *+94772786766 <077%20278%206766>*
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> >> For additional commands, e-mail: user-help@jmeter.apache.org
> >>
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> > Ubik-Ingénierie
> >
> > UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
> >
> > UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
> >
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
> Ubik-Ingénierie
>
> UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
>
> UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
>
--
*Chamara Ariyarathne*
WSO2 Inc; http://www.wso2.com/
Mobile; *+94772786766*
Re: Running jmeter bzm - Concurrency Thread Group though maven
Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
A workaround for the last problem:
Set:
<downloadExtensionDependencies>false</downloadExtensionDependencies>
This does however mean that you will need to manually set all the
dependencies that this jmeter-plugins depends upon in your
<jmeterExtensions> block.
Please give feedback on this.
Thanks
Regards
On Tue, Nov 7, 2017 at 11:20 AM, Philippe Mouawad <
p.mouawad@ubik-ingenierie.com> wrote:
> Hello,
>
> Both plugins are 3rd party plugins , this mailing list is not the right
> place to ask for that.
>
> Still , being a commiter on jmeter-maven-plugin I 'll answer for my part.
>
> You're using the wrong syntax and jmeter plugin:
> 1/ This is what you should set:
> <jmeterExtensions>
> <artifact>kg.apc:jmeter-
> plugins-casutg:2.4</artifact>
> </jmeterExtensions>
>
>
> 2/ And remove from your pom this:
> <dependencies>
> <!-- https://mvnrepository.com/artifact/com.lazerycode.
> jmeter/jmeter-maven-plugin -->
> <dependency>
> <groupId>com.lazerycode.jmeter</groupId>
> <artifactId>jmeter-maven-plugin</artifactId>
> <version>2.0.3</version>
> </dependency>
> <dependency>
> <groupId>kg.apc</groupId>
> <artifactId>jmeter-plugins-standard</artifactId>
> <version>1.1.3</version>
> </dependency>
> </dependencies>
> 3/ Use last version of jmeter-maven-plugin which is 2.4.1 released
> yesterday.
>
> You'll still face an issue because the jmeter plugin you use seems to rely
> on an old version of jmeter which contains an error in pom.
>
> Regards
>
>
> On Tue, Nov 7, 2017 at 10:34 AM, Chamara Ariyarathne <ch...@wso2.com>
> wrote:
>
>> I am trying to run a jmeter project which contains "bzm - Concurrency
>> Thread Group" through a maven project. The pom file is attached here.
>>
>> There's an error I'm getting which blocks the running of the jmeter
>> project with maven as following;
>>
>> [INFO] Executing test: Concurrency_Thread_Group.jmx
>> [INFO] Starting process with:[java, -Xms512M, -Xmx512M, -jar,
>> ApacheJMeter-3.2.jar, -d, /home/chamara/stress-test-framework/target/jmeter,
>> -j, /home/chamara/stress-test-framework/target/jmeter/logs/Concurrency_Thread_Group.jmx.log,
>> -l, /home/chamara/stress-test-framework/target/jmeter/results/20
>> 171106-CUSTOM_Concurrency_Thread_Group.csv, -n, -t,
>> /home/chamara/stress-test-framework/target/jmeter/testFiles/
>> CUSTOM/Concurrency_Thread_Group.jmx]
>> [INFO] Error in NonGUIDriver java.lang.IllegalArgumentException: Problem
>> loading XML from:'/home/chamara/stress-test-framework/target/jmeter/test
>> Files/CUSTOM/Concurrency_Thread_Group.jmx', missing class
>> com.thoughtworks.xstream.converters.ConversionException:
>> [INFO] ---- Debugging information ----
>> [INFO] cause-exception : com.thoughtworks.xstream.conve
>> rters.ConversionException
>> [INFO] cause-message :
>> [INFO] first-jmeter-class : org.apache.jmeter.save.convert
>> ers.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
>> [INFO] class : org.apache.jmeter.save.ScriptWrapper
>> [INFO] required-type : org.apache.jorphan.collections
>> .ListedHashTree
>> [INFO] converter-type : org.apache.jmeter.save.ScriptW
>> rapperConverter
>> [INFO] path : /jmeterTestPlan/hashTree/hashT
>> ree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
>> [INFO] line number : 94
>> [INFO] version : 3.2 r1790748
>> [INFO] -------------------------------
>>
>>
>> I have tried the solution as mentioned in here; https://github.com/jmete
>> r-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additional%
>> 20Libraries%20To%20The%20Classpath
>>
>> yet it is not successful.
>>
>> Did anyone encounter this before? How do I solve it?
>>
>>
>> --
>> *Chamara Ariyarathne*
>> WSO2 Inc; http://www.wso2.com/
>> Mobile; *+94772786766 <077%20278%206766>*
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
> Ubik-Ingénierie
>
> UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
>
> UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
>
>
--
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
Re: Running jmeter bzm - Concurrency Thread Group though maven
Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Hello,
Both plugins are 3rd party plugins , this mailing list is not the right
place to ask for that.
Still , being a commiter on jmeter-maven-plugin I 'll answer for my part.
You're using the wrong syntax and jmeter plugin:
1/ This is what you should set:
<jmeterExtensions>
<artifact>kg.apc:jmeter-plugins-casutg:2.4</artifact>
</jmeterExtensions>
2/ And remove from your pom this:
<dependencies>
<!--
https://mvnrepository.com/artifact/com.lazerycode.jmeter/jmeter-maven-plugin
-->
<dependency>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>2.0.3</version>
</dependency>
<dependency>
<groupId>kg.apc</groupId>
<artifactId>jmeter-plugins-standard</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies>
3/ Use last version of jmeter-maven-plugin which is 2.4.1 released
yesterday.
You'll still face an issue because the jmeter plugin you use seems to rely
on an old version of jmeter which contains an error in pom.
Regards
On Tue, Nov 7, 2017 at 10:34 AM, Chamara Ariyarathne <ch...@wso2.com>
wrote:
> I am trying to run a jmeter project which contains "bzm - Concurrency
> Thread Group" through a maven project. The pom file is attached here.
>
> There's an error I'm getting which blocks the running of the jmeter
> project with maven as following;
>
> [INFO] Executing test: Concurrency_Thread_Group.jmx
> [INFO] Starting process with:[java, -Xms512M, -Xmx512M, -jar,
> ApacheJMeter-3.2.jar, -d, /home/chamara/stress-test-framework/target/jmeter,
> -j, /home/chamara/stress-test-framework/target/jmeter/logs/Concurrency_Thread_Group.jmx.log,
> -l, /home/chamara/stress-test-framework/target/jmeter/results/20
> 171106-CUSTOM_Concurrency_Thread_Group.csv, -n, -t,
> /home/chamara/stress-test-framework/target/jmeter/testFiles/
> CUSTOM/Concurrency_Thread_Group.jmx]
> [INFO] Error in NonGUIDriver java.lang.IllegalArgumentException: Problem
> loading XML from:'/home/chamara/stress-test-framework/target/jmeter/test
> Files/CUSTOM/Concurrency_Thread_Group.jmx', missing class
> com.thoughtworks.xstream.converters.ConversionException:
> [INFO] ---- Debugging information ----
> [INFO] cause-exception : com.thoughtworks.xstream.conve
> rters.ConversionException
> [INFO] cause-message :
> [INFO] first-jmeter-class : org.apache.jmeter.save.convert
> ers.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
> [INFO] class : org.apache.jmeter.save.ScriptWrapper
> [INFO] required-type : org.apache.jorphan.collections.ListedHashTree
> [INFO] converter-type : org.apache.jmeter.save.ScriptWrapperConverter
> [INFO] path : /jmeterTestPlan/hashTree/hashT
> ree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup
> [INFO] line number : 94
> [INFO] version : 3.2 r1790748
> [INFO] -------------------------------
>
>
> I have tried the solution as mentioned in here; https://github.com/jmete
> r-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additional%
> 20Libraries%20To%20The%20Classpath
>
> yet it is not successful.
>
> Did anyone encounter this before? How do I solve it?
>
>
> --
> *Chamara Ariyarathne*
> WSO2 Inc; http://www.wso2.com/
> Mobile; *+94772786766 <077%20278%206766>*
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
--
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>