Bug 52013 - Test Script Recorder's Child View Results Tree does not take into account Test Script Recorder excluded/included URLs
Summary: Test Script Recorder's Child View Results Tree does not take into account Tes...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.5.1
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 12:09 UTC by Philippe Mouawad
Modified: 2014-01-12 16:21 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2011-10-12 12:09:20 UTC
Hello,
I don't know if it's a bug or feature (so requalify as enhancement) but currently 
View Results Tree does not take into account proxy excluded urls.
This would be useful because when recording an existing application, I have a poll URL that run every second that pollutes other recorded nodes. 

Maybe it should be an option of View Results Tree (additionnal fields) or connect it to proxy configuration if it's a child node.
other option would be to enable cleaning manually some nodes in left part of View Results Tree
Comment 1 Sebb 2011-10-12 12:15:12 UTC
No idea what View results tree has to do with proxy excluded URLs.

Please discuss this on the mailing list first, and then update or resolve this issue.
Comment 2 Philippe Mouawad 2011-11-11 20:40:17 UTC
> Hello Sebb,
> I am recording a scenario for scripting.
> I configure a proxy server with some exluded URLs and put a Results Tree
> View under it to see samples request/results of recording (need them to
> variabilize).
>
> When I record, URLs are correctly filtered in Recording Controller but not
> in results Tree view (which I think is a feature now).

OK, I understand now.

> My issue is that in this application, we have a Polling URL that goes to
> server every 1s so I get hundreds of these URLs in Results Tree which I
> would like to remove in this case because they make it more complexe to find
> the good samples.
>
> Is it clearer ?

Yes.

Not sure how easy this would be to do, though.
Comment 3 Sebb 2014-01-12 13:47:26 UTC
It's possible that some people are relying on seeing all the samples generated by the browser, so we should probably make the change optional.

Or perhaps the filtered samples could be tagged in some way.
We already flag redirects as disabled; not sure we can do that with samples, but something like that might be nice.
Comment 4 Philippe Mouawad 2014-01-12 14:53:59 UTC
Date: Sun Jan 12 14:53:02 2014
New Revision: 1557541

URL: http://svn.apache.org/r1557541
Log:
Bug 52013 - Test Script Recorder's Child View Results Tree does not take into account Test Script Recorder excluded/included URLs
Bugzilla Id: 52013

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/ProxyControl.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml
Comment 5 Philippe Mouawad 2014-01-12 14:56:32 UTC
Date: Sun Jan 12 14:55:50 2014
New Revision: 1557542

URL: http://svn.apache.org/r1557542
Log:
Bug 52013 - Test Script Recorder's Child View Results Tree does not take into account Test Script Recorder excluded/included URLs
Mention James Liang in Thanks Section
Bugzilla Id: 52013

Modified:
    jmeter/trunk/xdocs/changes.xml
Comment 6 Philippe Mouawad 2014-01-12 15:02:16 UTC
Date: Sun Jan 12 15:00:35 2014
New Revision: 1557545

URL: http://svn.apache.org/r1557545
Log:
Bug 52013 - Test Script Recorder's Child View Results Tree does not take into account Test Script Recorder excluded/included URLs
Add mention in Incompatible Changes section
Bugzilla Id: 52013

Modified:
    jmeter/trunk/xdocs/changes.xml
Comment 7 Sebb 2014-01-12 15:08:26 UTC
The patch changes the default behaviour.
I don't think that is right.

The user should have to select the new behaviour to maintain compatibility.

Also, note that the filtered results are already marked in the display, as they are enclosed in [ ].
Comment 8 Philippe Mouawad 2014-01-12 16:21:32 UTC
Date: Sun Jan 12 16:19:58 2014
New Revision: 1557552

URL: http://svn.apache.org/r1557552
Log:
Bug 52013 - Test Script Recorder's Child View Results Tree does not take into account Test Script Recorder excluded/included URLs
Set "Notify Child Listeners of filtered samplers" default value to true as per sebb last comment
Bugzilla Id: 52013

Modified:
    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