Bug 61672 - HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler Name
Summary: HTTP(S) Test Script Recorder : When a prefix is set don't use path in Sampler...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 3.3
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 21:13 UTC by Philippe Mouawad
Modified: 2017-11-11 22:23 UTC (History)
2 users (show)



Attachments
Proposition to have the 2 behavior (14.10 KB, image/png)
2017-11-07 22:44 UTC, Antonio Gomes Rodrigues
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2017-10-26 21:13:33 UTC
When a prefix is set, user decides how his sampler will be named, so path should not be used.
Comment 1 Philippe Mouawad 2017-10-26 21:14:53 UTC
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
Comment 2 Antonio Gomes Rodrigues 2017-10-27 10:20:08 UTC
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
Comment 3 Antonio Gomes Rodrigues 2017-11-07 22:44:30 UTC
Created attachment 35504 [details]
Proposition to have the 2 behavior

Proposition to have the 2 behavior
Comment 4 Antonio Gomes Rodrigues 2017-11-11 20:52:11 UTC
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
Comment 5 Antonio Gomes Rodrigues 2017-11-11 22:23:06 UTC
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