You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Felix Schumacher <fe...@internetallee.de> on 2016/01/16 15:38:49 UTC
Re: svn commit: r1724968 - /jmeter/trunk/xdocs/usermanual/functions.xml
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 "school" is "école" 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="§-num;.5.31" name="__escapeOroRegexpChars">
Re: svn commit: r1724968 - /jmeter/trunk/xdocs/usermanual/functions.xml
Posted by Philippe Mouawad <ph...@gmail.com>.
On Saturday, January 16, 2016, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:
>
>
> Am 16. Januar 2016 14:01:33 MEZ, schrieb pmouawad@apache.org
> <javascript:;>:
> >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 "school" is "école" 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?
>
> I prefer source as I feel the code I want to highlight is more visible.
I really find nice the source tag output and look
What do you think about a funclink tag like the one for components? It
> might be less useful for this use case, though.
no opinion on this
>
> And as a last note. We have the example tag for examples, would it be
> helpful here?
I will have a look
>
> 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="§-num;.5.31" name="__escapeOroRegexpChars">
>
>
--
Cordialement.
Philippe Mouawad.