You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mark Lassau <ml...@bisinfo.com.au> on 2004/02/12 01:10:44 UTC
Recording Controller overwrites selected Tree Node
Has anyone else noticed that the Recording Controller overwrites the
selected HTTP Request in the JMeter tree?
(When used with Proxy Server)
I couldn't find this bug reported in bugzilla or on this list.
I will add it if it is unknown.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Recording Controller overwrites selected Tree Node
Posted by Jordi Salvat i Alabart <js...@atg.com>.
That is bug#24704. Bug#25166 (same, but for timers) has the same cause.
The same thing happens with Simple Controllers if you've chosen "Add
Separators Between Groups" or "Put Each Group in a New Controller", and
with HTTP Header Managers if you're capturing HTTP headers.
The stack dump at the configure call that causes the harm is:
at
org.apache.jmeter.protocol.http.config.gui.UrlConfigGui.configure(UrlConfigGui.java:174)
at
org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui.configure(MultipartUrlConfigGui.java:122)
at
org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui.configure(HttpTestSampleGui.java:91)
at
org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:169)
at
org.apache.jmeter.protocol.http.proxy.ProxyControl.placeSampler(ProxyControl.java:606)
at
org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:274)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:175)
These three lines in JMeterTreeModel.addComponent are the cause of the
problem:
JMeterGUIComponent guicomp =
GuiPackage.getInstance().getGui(component);
guicomp.configure(component);
guicomp.modifyTestElement(component);
I've removed them and commited the change. Everything seems to be OK.
(The behaviour of the GUIs when a new element is created has changed:
they are no longer initialized with the values of the last edited
element of the same type. Actually, I prefer this behaviour.)
However, I feel this is a high-risk change. We should monitor closely.
--
Salut,
Jordi.
Jordi Salvat i Alabart wrote:
> There is a bugzilla entry for this. Yes, it's very annoying. The most
> annoying GUI feature as of now, IMO.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Recording Controller overwrites selected Tree Node
Posted by Jordi Salvat i Alabart <js...@atg.com>.
There is a bugzilla entry for this. Yes, it's very annoying. The most
annoying GUI feature as of now, IMO.
--
Salut,
Jordi.
Mark Lassau wrote:
> Has anyone else noticed that the Recording Controller overwrites the
> selected HTTP Request in the JMeter tree?
> (When used with Proxy Server)
>
> I couldn't find this bug reported in bugzilla or on this list.
> I will add it if it is unknown.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Recording Controller overwrites selected Tree Node
Posted by mstover <ms...@rochester.rr.com>.
Actually, I just noticed this yesterday.
It's a bad bug that needs to be fixed. If you are hopping around your
previously recorded samplers while simultaneously recording new samplers
through the proxy, it can overwrite the sampler currently selected.
-Mike
On Wed, 2004-02-11 at 19:10, Mark Lassau wrote:
> Has anyone else noticed that the Recording Controller overwrites the
> selected HTTP Request in the JMeter tree?
> (When used with Proxy Server)
>
> I couldn't find this bug reported in bugzilla or on this list.
> I will add it if it is unknown.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org