You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2019/05/26 16:33:43 UTC
svn commit: r1860086 - /jmeter/trunk/bin/testfiles/Bug52310.jmx
Author: fschumacher
Date: Sun May 26 16:33:43 2019
New Revision: 1860086
URL: http://svn.apache.org/viewvc?rev=1860086&view=rev
Log:
Skip loopback addresses to use for Bug52310 testplan
Modified:
jmeter/trunk/bin/testfiles/Bug52310.jmx
Modified: jmeter/trunk/bin/testfiles/Bug52310.jmx
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/Bug52310.jmx?rev=1860086&r1=1860085&r2=1860086&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/Bug52310.jmx (original)
+++ jmeter/trunk/bin/testfiles/Bug52310.jmx Sun May 26 16:33:43 2019
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2-SNAPSHOT.20190525">
+<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2-SNAPSHOT.20190526">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="LoadTestsFront" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
@@ -51,7 +51,7 @@
<stringProp name="script">hostAddress = Collections.list(NetworkInterface.networkInterfaces)
.collect({Collections.list(it.inetAddresses)})
.flatten()
- .grep({it.address.size() == 4})[0].hostAddress
+ .grep({ it.address.size() == 4 && !it.isLoopbackAddress() })[0].hostAddress
vars.put("IP_ADDR", hostAddress)</stringProp>
<stringProp name="scriptLanguage">groovy</stringProp>