You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2019/11/02 10:02:43 UTC

[jmeter] branch master updated (af6fc56 -> bcc6e9b)

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git.


    from af6fc56  Remove unsused private field and change javadoc accordingly
     new 6aebb3b  temporary test code
     new bcc6e9b  Add header

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/jmeter/protocol/http/control/DnsManagerTest.java    | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)


[jmeter] 01/02: temporary test code

Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 6aebb3bb8a51fa87edb2819f4dcee3d00bfc100e
Author: Sebb <se...@apache.org>
AuthorDate: Sat Nov 2 09:32:27 2019 +0000

    temporary test code
---
 .../org/apache/jmeter/protocol/http/control/DnsManagerTest.java  | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
index 784a607..98e1b7b 100644
--- a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
+++ b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
@@ -44,7 +44,14 @@ public class DnsManagerTest {
         dns.addServer("20.0.118.11");
         // By default it uses 3 retries (see org.xbill.DNS.ExtendedResolver#setRetries)
         dns.setTimeoutMs(2000);
-
+        try { // Temporary test: what do other hosts generate?
+            java.net.InetAddress ina[];
+            ina = dns.resolve("localhost");
+            System.out.println(java.util.Arrays.toString(ina));
+        } catch (Exception e) {
+            // TODO Auto-generated catch block
+            e.printStackTrace();
+        }
         HTTPSamplerBase http = HTTPSamplerFactory.newInstance(httpImplementation);
         http.setDNSResolver(dns);
         http.setMethod(HTTPSampler.GET);


[jmeter] 02/02: Add header

Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit bcc6e9be98091bdfd680c22e18ada7b9162bd63e
Author: Sebb <se...@apache.org>
AuthorDate: Sat Nov 2 10:02:30 2019 +0000

    Add header
---
 .../java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
index 98e1b7b..5dcc618 100644
--- a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
+++ b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
@@ -45,6 +45,7 @@ public class DnsManagerTest {
         // By default it uses 3 retries (see org.xbill.DNS.ExtendedResolver#setRetries)
         dns.setTimeoutMs(2000);
         try { // Temporary test: what do other hosts generate?
+            System.out.println("Testing localhost");
             java.net.InetAddress ina[];
             ina = dns.resolve("localhost");
             System.out.println(java.util.Arrays.toString(ina));