jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: svn commit: r1724968 - /jmeter/trunk/xdocs/usermanual/functions.xml
Date Sat, 16 Jan 2016 14:38:49 GMT


Am 16. Januar 2016 14:01:33 MEZ, schrieb pmouawad@apache.org:
>Author: pmouawad
>Date: Sat Jan 16 13:01:33 2016
>New Revision: 1724968
>
>URL: http://svn.apache.org/viewvc?rev=1724968&view=rev
>Log:
>Bug 58830 Documentation : Add examples for each function with the
>result 
>Add example
>Update java6 references to Java7
>Bugzilla Id: 58830
>
>Modified:
>    jmeter/trunk/xdocs/usermanual/functions.xml
>
>Modified: jmeter/trunk/xdocs/usermanual/functions.xml
>URL:
>http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/functions.xml?rev=1724968&r1=1724967&r2=1724968&view=diff
>==============================================================================
>--- jmeter/trunk/xdocs/usermanual/functions.xml (original)
>+++ jmeter/trunk/xdocs/usermanual/functions.xml Sat Jan 16 13:01:33
>2016
>@@ -1218,7 +1218,7 @@ For example, the string <code>Word+%22sc
><code>Word &quot;school&quot; is &quot;&eacute;cole&quot; in
>french</code>.
> </p>
>     <p>
>-    Uses Java class <a
>href="http://docs.oracle.com/javase/6/docs/api/java/net/URLDecoder.html">URLDecoder</a>.
>+    Uses Java class <a
>href="http://docs.oracle.com/javase/7/docs/api/java/net/URLDecoder.html">URLDecoder</a>.
>     </p>
>     </description>
> 
>@@ -1304,6 +1304,10 @@ A reference name - <code>refName</code>
>The TestPlanName function returns the name of the current test plan
>(can be used in Including Plans to know the name of the calling test
>plan).
>     </p>
> </description>
>+
>+<p>Example:
>+<source>${__TestPlanName}</source> will return the file name of your

I would have used code instead of source. What was your intention to use source? 

What do you think about a funclink tag like the one for components? It might be less useful
for this use case, though. 

And as a last note. We have the example tag for examples, would it be helpful here? 

Regards, 
Felix 

>test plan, for example if plan is in a file named Demo.jmx, it will
>return "<code>Demo.jmx</code><br/>
>+</p>
> </component>
> 
> <component index="&sect-num;.5.31" name="__escapeOroRegexpChars">


Mime
View raw message