Add android device mgt jmeter script

pull/1/head
Gimhan Wijayawardana 2 years ago
parent ae9d376c78
commit 4e53faae20

@ -32,13 +32,13 @@ import java.net.URL;
/**
* JMeter Test cases for Device Management APIs.
*/
public class DeviceMgtCoreAPIJmeterTestCase {
private static Log log = LogFactory.getLog(DeviceMgtCoreAPIJmeterTestCase.class);
public class AndroidDeviceManagementAPIJmeterTestCase {
private static Log log = LogFactory.getLog(AndroidDeviceManagementAPIJmeterTestCase.class);
@Test(description = "Testing the device-mgt core functionalities")
@Test(description = "Testing the android device management functionalities")
public void permutationTest() throws AutomationFrameworkException {
URL url = Thread.currentThread().getContextClassLoader().getResource(
"jmeter-scripts" + File.separator + "DeviceMgtCoreTestPlan.jmx");
"jmeter-scripts" + File.separator + "AndroidDeviceManagementAPI.jmx");
JMeterTest script = new JMeterTest(new File(url.getPath()));
JMeterTestManager manager = new JMeterTestManager();
log.info("Running permutation test using jmeter scripts");

@ -31,7 +31,7 @@
<test name="iot-test-cases" preserve-order="true" parallel="false">
<classes>
<class name="org.wso2.iot.integration.jmeter.DeviceMgtCoreAPIJmeterTestCase"/>
<class name="org.wso2.iot.integration.jmeter.AndroidDeviceManagementAPIJmeterTestCase"/>
</classes>
</test>
</suite>

Loading…
Cancel
Save