Author: sebb
Date: Wed Sep  5 05:43:05 2007
New Revision: 572942

URL: http://svn.apache.org/viewvc?rev=572942&view=rev
Log:
Document XPath Extractor namespace option

Modified:
    jakarta/jmeter/branches/rel-2-2/docs/changes.html
    jakarta/jmeter/branches/rel-2-2/docs/images/screenshots/ldapext_request.png
    jakarta/jmeter/branches/rel-2-2/docs/images/screenshots/xpath_extractor.png
    jakarta/jmeter/branches/rel-2-2/docs/usermanual/build-db-test-plan.html
    jakarta/jmeter/branches/rel-2-2/docs/usermanual/component_reference.html
    jakarta/jmeter/branches/rel-2-2/xdocs/changes.xml
    jakarta/jmeter/branches/rel-2-2/xdocs/images/screenshots/xpath_extractor.png
    jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml

Modified: jakarta/jmeter/branches/rel-2-2/docs/changes.html
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/docs/changes.html?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/docs/changes.html (original)
+++ jakarta/jmeter/branches/rel-2-2/docs/changes.html Wed Sep  5 05:43:05 2007
@@ -131,6 +131,27 @@
                                                </b>
                                                        </p>
                                                                                
                                                                                
<h3     >
+                                                               Version 2.31
+                                               </h3>
+                                                                               
                                                                                
<h4     >
+                                                               Improvements
+                                               </h4>
+                                                                               
                                                                                
<ul     >
+                                                               
+
+                                                                               
                <li     >
+                                                               Add nameSpace 
option to XPath extractor
+                                               </li>
+                                                                       
+
+                                               </ul>
+                                                                               
                                                                                
<h4     >
+                                                               Bug fixes
+                                               </h4>
+                                                                               
                                                                                
<h4     >
+                                                               
Incompatibilities
+                                               </h4>
+                                                                               
                                                                                
<h3     >
                                                                Version 2.3
                                                </h3>
                                                                                
                                                                                
<h4     >
@@ -2943,7 +2964,6 @@
                                                                New Java 
Sampler test implementation (to assist developers)
                                                </li>
                                                                        
-
 
                                                                                
                <li     >
                                                                More efficient 
use of memory, faster loading of .jmx files

Modified: 
jakarta/jmeter/branches/rel-2-2/docs/images/screenshots/ldapext_request.png
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/docs/images/screenshots/ldapext_request.png?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
Binary files - no diff available.

Modified: 
jakarta/jmeter/branches/rel-2-2/docs/images/screenshots/xpath_extractor.png
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/docs/images/screenshots/xpath_extractor.png?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
Binary files - no diff available.

Modified: 
jakarta/jmeter/branches/rel-2-2/docs/usermanual/build-db-test-plan.html
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/docs/usermanual/build-db-test-plan.html?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/docs/usermanual/build-db-test-plan.html 
(original)
+++ jakarta/jmeter/branches/rel-2-2/docs/usermanual/build-db-test-plan.html Wed 
Sep  5 05:43:05 2007
@@ -542,6 +542,40 @@
                         </font>
 </td>
                         </tr>
+                                                                       <tr>
+                                                       <td bgcolor="#a0ddf0" 
colspan="" rowspan="" valign="top" align="left">
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+                                 SQL Server (MS JDBC driver)
+                        </font>
+</td>
+                                                                       <td 
bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+                                 com.microsoft.sqlserver.jdbc.SQLServerDriver
+                        </font>
+</td>
+                                                                       <td 
bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+                                 jdbc:sqlserver://host:port;DatabaseName=dbname
+                        </font>
+</td>
+                        </tr>
+                                                                       <tr>
+                                                       <td bgcolor="#a0ddf0" 
colspan="" rowspan="" valign="top" align="left">
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+                                 Apache Derby
+                        </font>
+</td>
+                                                                       <td 
bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+                                 org.apache.derby.jdbc.ClientDriver
+                        </font>
+</td>
+                                                                       <td 
bgcolor="#a0ddf0" colspan="" rowspan="" valign="top" align="left">
+        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+                                 
jdbc:derby://server[:port]/databaseName[;URLAttributes=value[;...]]
+                        </font>
+</td>
+                        </tr>
                         </table>
                                                                                
                                                                                
<p><table border="1" bgcolor="#bbbb00" width="50%" cellspacing="0" 
cellpadding="2">
                <tr><td>                                                The 
above may not be correct - please check the relevant JDBC driver documentation.

Modified: 
jakarta/jmeter/branches/rel-2-2/docs/usermanual/component_reference.html
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/docs/usermanual/component_reference.html?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/docs/usermanual/component_reference.html 
(original)
+++ jakarta/jmeter/branches/rel-2-2/docs/usermanual/component_reference.html 
Wed Sep  5 05:43:05 2007
@@ -10070,12 +10070,20 @@
                query language.
    
                                                                                
                                <p><b>Control Panel</b></p>
-                                               <div align="center"><img 
width='345' height='279' src="../images/screenshots/xpath_extractor.png"></div>
+                                               <div align="center"><img 
width='374' height='179' src="../images/screenshots/xpath_extractor.png"></div>
                                                                                
                                                                                
                         <p>
        <b>Parameters</b>
        <table border="1" cellspacing="0" cellpadding="2">
        <tr><th>Attribute</th><th>Description</th><th>Required</th></tr>
                        <tr>
+                       <td>Name</td>
+                       <td>                                            
Descriptive name for this element that is shown in the tree.
+                       </td>
+                       <td>
+                                                                               
        No
+                                                               </td>
+               </tr>
+                       <tr>
                        <td>Use Tidy</td>
                        <td>                                            If 
checked use Tidy to parse HTML response into XHTML.
           
@@ -10101,11 +10109,38 @@
                                                                </td>
                </tr>
                        <tr>
-                       <td>Name</td>
-                       <td>                                            
Descriptive name for this element that is shown in the tree.
+                       <td>Use Namespace?</td>
+                       <td>                                            
+        If checked, then the XML parser will use namespace resolution.
+        Note that currently only namespaces declared on the root element will 
be recognised.
+        A later version of JMeter may support user-definition of additional 
workspace names.
+        Meanwhile, a work-round is to replace: 
+        
+                                                                               
                <br     >
+                                               </br>
+                                                                       
+        //mynamespace:tagname
+        
+                                                                               
                <br     >
+                                               </br>
+                                                                       
+        by
+        
+                                                                               
                <br     >
+                                               </br>
+                                                                       
+        //*[local-name()='tagname' and namespace-uri()='uri-for-namespace']
+        
+                                                                               
                <br     >
+                                               </br>
+                                                                       
+        where "uri-for-namespace" is the uri for the "mynamespace" namespace.
+        
+        (not applicable if Tidy is selected)
+        
                        </td>
                        <td>
-                                                                               
        No
+                                                                               
        Yes
                                                                </td>
                </tr>
                        <tr>

Modified: jakarta/jmeter/branches/rel-2-2/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/changes.xml?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/xdocs/changes.xml (original)
+++ jakarta/jmeter/branches/rel-2-2/xdocs/changes.xml Wed Sep  5 05:43:05 2007
@@ -33,6 +33,11 @@
 <ul>
 <li>Add nameSpace option to XPath extractor</li>
 </ul>
+
+<h4>Bug fixes</h4>
+
+<h4>Incompatibilities</h4>
+
 <h3>Version 2.3</h3>
 
 <h4>Fixes since 2.3RC3</h4>

Modified: 
jakarta/jmeter/branches/rel-2-2/xdocs/images/screenshots/xpath_extractor.png
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/images/screenshots/xpath_extractor.png?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
Binary files - no diff available.

Modified: 
jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml?rev=572942&r1=572941&r2=572942&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml 
(original)
+++ jakarta/jmeter/branches/rel-2-2/xdocs/usermanual/component_reference.xml 
Wed Sep  5 05:43:05 2007
@@ -3135,19 +3135,35 @@
 </p>
 </component>
 
-<component name="XPath Extractor" index="&sect-num;.8.2"  width="345" 
height="279" screenshot="xpath_extractor.png">
+<component name="XPath Extractor" index="&sect-num;.8.2"  width="374" 
height="179" screenshot="xpath_extractor.png">
        <description>This test element allows the user to extract value from 
                structured response - XML or (X)HTML - using XPath
                query language.
    </description>
    <properties>
+        <property name="Name" required="No">Descriptive name for this element 
that is shown in the tree.</property>
           <property name="Use Tidy" required="Yes">If checked use Tidy to 
parse HTML response into XHTML.
           <ul>
                   <li>"Use Tidy" should be checked on for HTML response. Such 
response is converted to valid XHTML (XML compatible HTML) using Tidy</li>
                   <li>"Use Tidy" should be unchecked for both XHTML or XML 
response (for example RSS)</li>
           </ul>
           </property>
-        <property name="Name" required="">Descriptive name for this element 
that is shown in the tree.</property>
+        <property name="Use Namespace?" required="Yes">
+        If checked, then the XML parser will use namespace resolution.
+        Note that currently only namespaces declared on the root element will 
be recognised.
+        A later version of JMeter may support user-definition of additional 
workspace names.
+        Meanwhile, a work-round is to replace: 
+        <br></br>
+        //mynamespace:tagname
+        <br></br>
+        by
+        <br></br>
+        //*[local-name()='tagname' and namespace-uri()='uri-for-namespace']
+        <br></br>
+        where "uri-for-namespace" is the uri for the "mynamespace" namespace.
+        
+        (not applicable if Tidy is selected)
+        </property>
         <property name="Reference Name" required="Yes">The name of the JMeter 
variable in which to store the result.</property>
        <property name="XPath Query" required="Yes">Element query in XPath 
language. Can return more than one match. </property>
        <property name="Default Value" required="">Default value returned when 
no match found</property>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to