https://issues.apache.org/bugzilla/show_bug.cgi?id=25430

--- Comment #13 from Dzmitry Kashlach <[email protected]> ---
So, what do you think about suggestion to make HTTP Auth Manager first element
of node?

It may look like this:

src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
  try {
                 log.debug("Creating HTTP Authentication manager for
authorization:"+authorization);
                 AuthManager authManager =
newAuthorizationManager(authorization);
                JMeterTreeNode authManagerNode = new
JMeterTreeNode(authManager,jmeterTreeModel);
                int index=(target.getChildCount()>0&&
                       
((JMeterTreeNode)target.getFirstChild()).getTestElement() instanceof
TestPlan)?2:0;
                jmeterTreeModel.insertNodeInto(authManagerNode, target,index);
             } catch (IllegalUserActionException e) {
                 log.error("Failed to add Authorization Manager to target
node:" + target.getName(), e);
             }

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

Reply via email to