Merge pull request #1006 from ruwany/master

Fixing test failure
merge-requests/1/head
Geeth 8 years ago committed by GitHub
commit 74db12e08f

@ -60,8 +60,7 @@ public class MobileDeviceManagementWithNoDevices extends TestBase {
TimeUnit.SECONDS.sleep(5); TimeUnit.SECONDS.sleep(5);
long WAIT_TIME = 40000; long WAIT_TIME = 40000;
if (System.currentTimeMillis() - startTime > WAIT_TIME) { if (System.currentTimeMillis() - startTime > WAIT_TIME) {
Assert.fail("Required APIs are not deployed after waiting for " + WAIT_TIME + " ms time-out has " Assert.fail("Required APIs are not deployed after waiting for " + WAIT_TIME + " time-out has happened");
+ "happened");
} }
} }
} }

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.2"> <jmeterTestPlan version="1.2" properties="2.9" jmeter="3.0 r1743807">
<hashTree> <hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Android Device Management API" enabled="true"> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Android Device Management API" enabled="true">
<stringProp name="TestPlan.comments"></stringProp> <stringProp name="TestPlan.comments"></stringProp>
@ -10206,7 +10206,15 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
</hashTree> </hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Device Management Call 131" enabled="true"> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Device Management Call 131" enabled="true">
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/> <collectionProp name="Arguments.arguments">
<elementProp name="limit" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">100</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
<boolProp name="HTTPArgument.use_equals">true</boolProp>
<stringProp name="Argument.name">limit</stringProp>
</elementProp>
</collectionProp>
</elementProp> </elementProp>
<stringProp name="HTTPSampler.domain">${host}</stringProp> <stringProp name="HTTPSampler.domain">${host}</stringProp>
<stringProp name="HTTPSampler.port">${https_port}</stringProp> <stringProp name="HTTPSampler.port">${https_port}</stringProp>

Loading…
Cancel
Save