Bug 62787 - New XPath2 Assertion supporting XPath2 with better performances than XPath Assertion
Summary: New XPath2 Assertion supporting XPath2 with better performances than XPath As...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: All All
: P1 enhancement with 1 vote (vote)
Target Milestone: JMETER_5.2
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2018-10-01 14:08 UTC by Philippe Mouawad
Modified: 2019-07-27 08:29 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2018-10-01 14:08:41 UTC
In JMeter 5.0, XPath 2 Extractor has been introduced.

To be consistent, there should be a XPath 2 Assertion.
Comment 1 UbikLoadPack support 2019-05-21 13:14:12 UTC
Hello,



UbikLoadPack team is happy to contribute this new feature to JMeter:

PR : https://github.com/apache/jmeter/pull/459

Regards 
Twitter: @ubikloadpack
Blog: https://www.ubik-ingenierie.com/blog/
Youtube channel: https://www.youtube.com/channel/UCUv5MHnWDyD-bDkRgOr5lmw
Comment 2 Philippe Mouawad 2019-06-02 10:52:03 UTC
Author: pmouawad
Date: Sun Jun  2 10:51:23 2019
New Revision: 1860513

URL: http://svn.apache.org/viewvc?rev=1860513&view=rev
Log:
Bug 62787 - Add XPath 2 Assertion

Contributed by UbikLoadPack (https://ubikloadpack.com)

This closes #459
Bugzilla Id: 62787

Added:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/XPath2Assertion.java   (with props)
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/XPath2AssertionGui.java   (with props)
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/XPath2Panel.java   (with props)
    jmeter/trunk/src/core/org/apache/jmeter/util/PropertiesBasedPrefixResolverForXpath2.java   (with props)
    jmeter/trunk/test/src/org/apache/jmeter/assertions/XPath2AssertionTest.java   (with props)
Modified:
    jmeter/trunk/bin/saveservice.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java
    jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java
    jmeter/trunk/test/src/org/apache/jmeter/util/XPathUtilTest.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml