Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dadagen-jmeter - JMeter JAR Plugin Conflicts with XML Jars #12

Open
rbuckland opened this issue May 20, 2015 · 0 comments
Open

dadagen-jmeter - JMeter JAR Plugin Conflicts with XML Jars #12

rbuckland opened this issue May 20, 2015 · 0 comments

Comments

@rbuckland
Copy link
Contributor

When using the Random Data Generator, an error occurs if you use an XPath Extractor somewhere else in the plan .. see below. This is most likely due to a class path issue as the dadagen jmeter plugin includes some hefty jars to do it's work.

2015/05/20 12:20:52 ERROR - jmeter.threads.JMeterThread: Exception processing Assertion  java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
    at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
    at org.apache.jmeter.util.XPathUtil.makeDocumentBuilder(XPathUtil.java:108)
    at org.apache.jmeter.util.XPathUtil.makeDocument(XPathUtil.java:177)
    at org.apache.jmeter.util.XPathUtil.makeDocument(XPathUtil.java:145)
    at org.apache.jmeter.assertions.XPathAssertion.getResult(XPathAssertion.java:103)
    at org.apache.jmeter.threads.JMeterThread.processAssertion(JMeterThread.java:706)
    at org.apache.jmeter.threads.JMeterThread.checkAssertions(JMeterThread.java:677)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:440)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant