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

             Bug #: 52310
           Summary: variable in IPSource failed HTTP request if
                    "Concurrent Pool Size" is enabled
           Product: JMeter
           Version: 2.5.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 28057
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28057
Test plan to reproduce the issue

My test plan using IP aliasing.

If a http request use "Embedded Ressources" and "Concurrent Pool Size" with IP
Source defined as a variable, the sample failed with the following stack : 

java.net.UnknownHostException: ${IP_ADDR}
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
        at java.net.InetAddress.getAddressFromNameService(InetAddress.java:
1200)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1153)
        at java.net.InetAddress.getAllByName(InetAddress.java:1083)
        at java.net.InetAddress.getAllByName(InetAddress.java:1019)
        at java.net.InetAddress.getByName(InetAddress.java:969)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl.setupConnection(HTTPHC3Impl.java:
419)
        at
org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl.sample(HTTPHC3Impl.java:
237)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:
62)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
$ASyncSample.call(HTTPSamplerBase.java:1708)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
$ASyncSample.call(HTTPSamplerBase.java:1693)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to