You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/10/26 21:13:33 UTC

[Bug 61672] New: HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

https://bz.apache.org/bugzilla/show_bug.cgi?id=61672

            Bug ID: 61672
           Summary: HTTP(S) Test Script Recorder : When a prefix is set
                    don't use path in Sampler Name
           Product: JMeter
           Version: 3.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

When a prefix is set, user decides how his sampler will be named, so path
should not be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61672

Antonio Gomes Rodrigues <ra...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Why have changed the behavior of the test recorder?

Previously I used the Prefix to allow me to be more production (my prefix war
the script name/number (e.g. SC01_ for script 1)

The result was : My prefix + action number + path

I just need to modify action number if needed (because the test recorder filter
remove some URI but increment the action number)
I can modify the path too if needed but like 'action number' it's just for have
something more beautifull


Now I have something like 4 SC01_ = action number + my prefix

Have prefix first and action number in second place  allow me in visualisation
tool to easily order my actions

Without path, to have a "complete" name I need to change the prefix before each
action (but we can no more call it prefix) of after the recording modifing each
sampler name.

In Neoload and Loadrunner, the user can change the sampler name during the
recording (like if with the new behavior we don't record the action number and
change the prefix each time before we make an action (click..))

In my opinion, previous behavior is better

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61672

--- Comment #5 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
New Revision: 1814992

URL: http://svn.apache.org/viewvc?rev=1814992&view=rev
Log:
Bug 61672 - add tht choice between prefix and transaction name to name sampler
during recording : Philippe catch

Modified:
    jmeter/trunk/docs/images/screenshots/proxy_control.png
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61672

--- Comment #3 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Created attachment 35504
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35504&action=edit
Proposition to have the 2 behavior

Proposition to have the 2 behavior

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: [Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Great idea

Antonio

2017-10-27 12:46 GMT+02:00 Philippe Mouawad <ph...@gmail.com>:

> Hi Antonio,
> I think we need to make this configurable in Test Script Recorder.
> Because I and many other people do fill in the "Prefix" that I consider a
> Transaction Name before every click.
> In this case having the path added is annoying as you need to cleanup
> afterwards.
>
> But you use it differently and your way is also interesting.
>
> So I suggest we add an option to decide how we use it.
>
> Agree ?
>
> Regards
>
> On Fri, Oct 27, 2017 at 12:18 PM, Antonio Gomes Rodrigues <
> ra0077@gmail.com>
> wrote:
>
> > Hi Philippe,
> >
> > Why have changed the behavior of the test recorder?
> >
> > Previously I used the Prefix to allow me to be more production (my prefix
> > war the script name/number (e.g. SC01_ for script 1)
> >
> > The result was : My prefix + action number + path
> >
> > I just need to modify action number if needed (because the test recorder
> > filter remove some URI but increment the action number)
> > I can modify the path too if needed but like 'action number' it's just
> for
> > have something more beautifull
> >
> >
> > Now I have something like 4 SC01_ = action number + my prefix
> >
> > Have prefix first and action number in second place  allow me in
> > visualisation tool to easily order my actions
> >
> > Without path, to have a "complete" name I need to change the prefix
> before
> > each action (but we can no more call it prefix) of after the recording
> > modifing each sampler name.
> >
> > In Neoload and Loadrunner, the user can change the sampler name during
> the
> > recording (like if with the new behavior we don't record the action
> number
> > and change the prefix each time before we make an action (click..))
> >
> > In my opinion, previous behavior is better
> >
> > Antonio
> >
> >
> >
> >
> > 2017-10-26 23:14 GMT+02:00 <bu...@apache.org>:
> >
> >> https://bz.apache.org/bugzilla/show_bug.cgi?id=61672
> >>
> >> Philippe Mouawad <p....@ubik-ingenierie.com> changed:
> >>
> >>            What    |Removed                     |Added
> >> ------------------------------------------------------------
> >> ----------------
> >>          Resolution|---                         |FIXED
> >>              Status|NEW                         |RESOLVED
> >>                  CC|
> >> |p.mouawad@ubik-ingenierie.c
> >>                    |                            |om
> >>
> >> --- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com>
> ---
> >> Author: pmouawad
> >> Date: Thu Oct 26 21:14:27 2017
> >> New Revision: 1813463
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1813463&view=rev
> >> Log:
> >> Bug 61672 - HTTP(S) Test Script Recorder : When a prefix is set don't
> use
> >> path
> >> in Sampler Name
> >> Bugzilla Id: 61672
> >>
> >> Modified:
> >>
> >> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
> >> http/proxy/DefaultSamplerCreator.java
> >>
> >> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
> >> http/proxy/HttpRequestHdr.java
> >>
> >> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
> >> http/proxy/Proxy.java
> >>
> >> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
> >> http/proxy/ProxyControl.java
> >>     jmeter/trunk/xdocs/changes.xml
> >>
> >> --
> >> You are receiving this mail because:
> >> You are the assignee for the bug.
> >
> >
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
>

Re: [Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by Philippe Mouawad <ph...@gmail.com>.
Hi Antonio,
I think we need to make this configurable in Test Script Recorder.
Because I and many other people do fill in the "Prefix" that I consider a
Transaction Name before every click.
In this case having the path added is annoying as you need to cleanup
afterwards.

But you use it differently and your way is also interesting.

So I suggest we add an option to decide how we use it.

Agree ?

Regards

On Fri, Oct 27, 2017 at 12:18 PM, Antonio Gomes Rodrigues <ra...@gmail.com>
wrote:

> Hi Philippe,
>
> Why have changed the behavior of the test recorder?
>
> Previously I used the Prefix to allow me to be more production (my prefix
> war the script name/number (e.g. SC01_ for script 1)
>
> The result was : My prefix + action number + path
>
> I just need to modify action number if needed (because the test recorder
> filter remove some URI but increment the action number)
> I can modify the path too if needed but like 'action number' it's just for
> have something more beautifull
>
>
> Now I have something like 4 SC01_ = action number + my prefix
>
> Have prefix first and action number in second place  allow me in
> visualisation tool to easily order my actions
>
> Without path, to have a "complete" name I need to change the prefix before
> each action (but we can no more call it prefix) of after the recording
> modifing each sampler name.
>
> In Neoload and Loadrunner, the user can change the sampler name during the
> recording (like if with the new behavior we don't record the action number
> and change the prefix each time before we make an action (click..))
>
> In my opinion, previous behavior is better
>
> Antonio
>
>
>
>
> 2017-10-26 23:14 GMT+02:00 <bu...@apache.org>:
>
>> https://bz.apache.org/bugzilla/show_bug.cgi?id=61672
>>
>> Philippe Mouawad <p....@ubik-ingenierie.com> changed:
>>
>>            What    |Removed                     |Added
>> ------------------------------------------------------------
>> ----------------
>>          Resolution|---                         |FIXED
>>              Status|NEW                         |RESOLVED
>>                  CC|
>> |p.mouawad@ubik-ingenierie.c
>>                    |                            |om
>>
>> --- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
>> Author: pmouawad
>> Date: Thu Oct 26 21:14:27 2017
>> New Revision: 1813463
>>
>> URL: http://svn.apache.org/viewvc?rev=1813463&view=rev
>> Log:
>> Bug 61672 - HTTP(S) Test Script Recorder : When a prefix is set don't use
>> path
>> in Sampler Name
>> Bugzilla Id: 61672
>>
>> Modified:
>>
>> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
>> http/proxy/DefaultSamplerCreator.java
>>
>> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
>> http/proxy/HttpRequestHdr.java
>>
>> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
>> http/proxy/Proxy.java
>>
>> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/
>> http/proxy/ProxyControl.java
>>     jmeter/trunk/xdocs/changes.xml
>>
>> --
>> You are receiving this mail because:
>> You are the assignee for the bug.
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Re: [Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Hi Philippe,

Why have changed the behavior of the test recorder?

Previously I used the Prefix to allow me to be more production (my prefix
war the script name/number (e.g. SC01_ for script 1)

The result was : My prefix + action number + path

I just need to modify action number if needed (because the test recorder
filter remove some URI but increment the action number)
I can modify the path too if needed but like 'action number' it's just for
have something more beautifull


Now I have something like 4 SC01_ = action number + my prefix

Have prefix first and action number in second place  allow me in
visualisation tool to easily order my actions

Without path, to have a "complete" name I need to change the prefix before
each action (but we can no more call it prefix) of after the recording
modifing each sampler name.

In Neoload and Loadrunner, the user can change the sampler name during the
recording (like if with the new behavior we don't record the action number
and change the prefix each time before we make an action (click..))

In my opinion, previous behavior is better

Antonio




2017-10-26 23:14 GMT+02:00 <bu...@apache.org>:

> https://bz.apache.org/bugzilla/show_bug.cgi?id=61672
>
> Philippe Mouawad <p....@ubik-ingenierie.com> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>          Resolution|---                         |FIXED
>              Status|NEW                         |RESOLVED
>                  CC|
> |p.mouawad@ubik-ingenierie.c
>                    |                            |om
>
> --- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
> Author: pmouawad
> Date: Thu Oct 26 21:14:27 2017
> New Revision: 1813463
>
> URL: http://svn.apache.org/viewvc?rev=1813463&view=rev
> Log:
> Bug 61672 - HTTP(S) Test Script Recorder : When a prefix is set don't use
> path
> in Sampler Name
> Bugzilla Id: 61672
>
> Modified:
>
> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/
> DefaultSamplerCreator.java
>
> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/
> HttpRequestHdr.java
>
> jmeter/trunk/src/protocol/http/org/apache/jmeter/
> protocol/http/proxy/Proxy.java
>
> jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/
> ProxyControl.java
>     jmeter/trunk/xdocs/changes.xml
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.

[Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61672

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Thu Oct 26 21:14:27 2017
New Revision: 1813463

URL: http://svn.apache.org/viewvc?rev=1813463&view=rev
Log:
Bug 61672 - HTTP(S) Test Script Recorder : When a prefix is set don't use path
in Sampler Name
Bugzilla Id: 61672

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61672] HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61672

Antonio Gomes Rodrigues <ra...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #4 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
New Revision: 1814971

URL: http://svn.apache.org/viewvc?rev=1814971&view=rev
Log:
Bug 61672 - add tht choice between prefix and transaction name to name sampler
during recording

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/images/screenshots/proxy_control.png
    jmeter/trunk/xdocs/usermanual/component_reference.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.