mirror of
https://repository.entgra.net/community/community-product.git
synced 2025-09-16 23:42:18 +00:00
Add android device mgt jmeter script
This commit is contained in:
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");
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -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…
Reference in New Issue
Block a user