Amela, I have some exeperience with using Xpath with Jmeter 2.2 and it has always worked for me. If you describe better what are you trying to achieve I'll try to help you. For example, give me the whole file and tell me exactly what elements are you after. Another way to approach this is to get an Xpath evaluator and experiment before actually using the query in your test. I am using a free one you can find here: http://www.purpletech.com/xpe/index.jsp Cheers! Gantcho
-----Original Message----- From: amelaao [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 10:22 PM To: JMeter Users List Subject: help with XPath extractor Hi, I have a SOAP sampler that returns a valid XML response,which I need to manipulate afterwards. I want to extract certain element. XPath always returns default value, like it can't find the match. However, I am able to do it using Regular Extractor. My xml file looks like: <PIR> <FOL> <FI D01="2006-11-20" D02="2006-11-20"/> <FI D01="2006-11-20" D02="2006-11-22"/> <FI D01="2006-11-26" D02="2006-11-26"/> <FI D01="2006-11-26" D02="2006-11-26"/> <FI D01="2006-11-20" D02="2006-11-20"/> <FI D01="2006-11-20" D02="2006-11-20"/> </FOL> </PIR> I want to retrieve FOL with all its children nodes. XPath extractor looks like: name Fol xpath query //PIR/FOL default value ERROR It always returns ERROR value. I have XPath assertion that checks for the existence of this element and it passes. As I mentioned above I am able to extract this element using RE. My goal is actually to use XPAth and some more "difficult" queries and return some other elements and attributes, but I have to make this work first. I'm running jmeter 2.2. I checked log file, but it does not show any errors. Any help is greatly appreciated. Amela ----------------------------------------------------------------- ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ----------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

