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 2019/10/17 10:37:30 UTC

[Bug 63858] New: DNS Cache Manager - Static Host Table in distributed mode

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

            Bug ID: 63858
           Summary: DNS Cache Manager - Static Host Table in distributed
                    mode
           Product: JMeter
           Version: 5.1.1
          Hardware: Macintosh
                OS: Mac OS X 10.1
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: auro.rolle@gmail.com
  Target Milestone: JMETER_5.2

We are using jmeter in distributed mode. 
We put on the script a DNS Cache Manager on the test plan root, configured with
"Clear cache each iteration" flagged, "Use custom DNS resolver" ON, Static host
table with one entry like hostname - ip address. All the HTTP sampler use
HTTPClient4 implementation and https as protocol.

On the first run all seems working well, but is we canche the hostname on the
Static host table, save the script and do a second run, we have the following
error on the http sampler view result tree:

java.lang.NullPointerException
        at
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:115)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$JMeterDefaultHttpClientConnectionOperator.connect(HTTPHC4Impl.java:336)
        at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
        at
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
        at
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
        at
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
        at
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
        at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:843)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:574)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:67)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1231)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1220)
        at
org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:622)
        at
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:546)
        at
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:486)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253)
        at java.lang.Thread.run(Thread.java:748) 

It seems like the new hostname is not correctly set on the jmeter slave.

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

[Bug 63858] DNS Cache Manager - Static Host Table in distributed mode

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

--- Comment #1 from Auro <au...@gmail.com> ---
Sorry, I mean

"On the first run all seems working well, but if we change the hostname"

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

[Bug 63858] DNS Cache Manager - Static Host Table in distributed mode

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

--- Comment #3 from Auro <au...@gmail.com> ---
Hi,

1/ Can you check if issue is fixed with JMeter 5.2 ? Unfortunately no, the
slaves are on a server room behind a firewall and I can't change them.

2/ Can you clarify the steps ? Sure

Do you have this issue in GUI or Non GUI mode ? In GUI Mode

Does it happens when in GUI mode you change hostname and run again without
quitting JMeter ? Exactly!, but the slavers are always running waiting for new
master connections so they don't restart between tests.

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

[Bug 63858] DNS Cache Manager - Static Host Table in distributed mode

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

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

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

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Auro from comment #1)
> Sorry, I mean
> 
> "On the first run all seems working well, but if we change the hostname"

Hello,
1/ Can you check if issue is fixed with JMeter 5.2 ? 
2/ Can you clarify the steps ?
Do you have this issue in GUI or Non GUI mode ? Does it happens when in GUI
mode you change hostname and run again without quitting JMeter ?

Thank you

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