Adding android negatove test cases and group management initial test cases

application-manager-new
megala21 8 years ago
parent faa5eb34d6
commit 0fea4d6eb0

@ -36,9 +36,8 @@ public class AndroidDeviceManagementAPIJmeterTestCase {
@Test() @Test()
public void permutationTest() throws AutomationFrameworkException { public void permutationTest() throws AutomationFrameworkException {
URL url = Thread.currentThread().getContextClassLoader().getResource( URL url = Thread.currentThread().getContextClassLoader().getResource(
"jmeter-scripts/AndroidDeviceManagementAPIAdditionalPermutations.jmx"); "jmeter-scripts" + File.separator + "AndroidDeviceManagementAPIAdditionalPermutations.jmx");
JMeterTest script = new JMeterTest( JMeterTest script = new JMeterTest(new File(url.getPath()));
new File(url.getPath()));
JMeterTestManager manager = new JMeterTestManager(); JMeterTestManager manager = new JMeterTestManager();
log.info("Running permutation test using jmeter scripts"); log.info("Running permutation test using jmeter scripts");
manager.runTest(script); manager.runTest(script);
@ -46,13 +45,11 @@ public class AndroidDeviceManagementAPIJmeterTestCase {
@Test(dependsOnMethods = {"permutationTest"}) @Test(dependsOnMethods = {"permutationTest"})
public void listServices() throws AutomationFrameworkException { public void listServices() throws AutomationFrameworkException {
URL url = Thread.currentThread().getContextClassLoader().getResource( URL url = Thread.currentThread().getContextClassLoader()
"jmeter-scripts/NewAndroidDeviceManagementAPI.jmx"); .getResource("jmeter-scripts" + File.separator + "NewAndroidDeviceManagementAPI.jmx");
JMeterTest script = new JMeterTest( JMeterTest script = new JMeterTest(new File(url.getPath()));
new File(url.getPath()));
JMeterTestManager manager = new JMeterTestManager(); JMeterTestManager manager = new JMeterTestManager();
log.info("Running API service test using jmeter scripts"); log.info("Running API service test using jmeter scripts");
manager.runTest(script); manager.runTest(script);
} }
} }

@ -0,0 +1,43 @@
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.wso2.iot.integration.jmeter;
import org.testng.annotations.Test;
import org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException;
import org.wso2.carbon.automation.extensions.jmeter.JMeterTest;
import org.wso2.carbon.automation.extensions.jmeter.JMeterTestManager;
import java.io.File;
import java.net.URL;
/**
* This is to test the Device Management API scenarios, which gives a bad response.
*/
public class DeviceManagementAPINegativeTestCase {
@Test(description = "This test case tests the response when the APIs are called with invalid payloads and without"
+ " required parameters")
public void negativeTests() throws AutomationFrameworkException {
URL url = Thread.currentThread().getContextClassLoader()
.getResource("jmeter-scripts" + File.separator + "AndroidDeviceManagementAPI_Negative_Tests.jmx");
JMeterTest script = new JMeterTest(new File(url.getPath()));
JMeterTestManager manager = new JMeterTestManager();
manager.runTest(script);
}
}

@ -0,0 +1,46 @@
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.wso2.iot.integration.jmeter;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.testng.annotations.Test;
import org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException;
import org.wso2.carbon.automation.extensions.jmeter.JMeterTest;
import org.wso2.carbon.automation.extensions.jmeter.JMeterTestManager;
import java.io.File;
import java.net.URL;
/**
* This test case is used to run the jmeter test cases related with Group Management APIs.
*/
public class GroupManagementJMeterTestCase {
private static Log log = LogFactory.getLog(GroupManagementJMeterTestCase.class);
@Test(description = "This test case tests the Group Management APIs")
public void GroupManagementTest() throws AutomationFrameworkException {
URL url = Thread.currentThread().getContextClassLoader()
.getResource("jmeter-scripts" + File.separator + "GroupManagementAPI.jmx");
JMeterTest script = new JMeterTest(new File(url.getPath()));
JMeterTestManager manager = new JMeterTestManager();
log.info("Running group management api test cases using jmeter scripts");
manager.runTest(script);
}
}

@ -312,12 +312,10 @@
<elementProp name="" elementType="HTTPArgument"> <elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp> <boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">{ &#xd; <stringProp name="Argument.value">{ &#xd;
&quot;callbackUrl&quot;:&quot;www.google.lk&quot;,&#xd; &quot;applicationName&quot;:&quot;app_${randAppNum}&quot;,&#xd;
&quot;clientName&quot;:&quot;app_${randAppNum}&quot;,&#xd; &quot;isAllowedToAllDomains&quot;:false,&#xd;
&quot;tokenScope&quot;:&quot;Production&quot;,&#xd; &quot;tags&quot;:[&quot;android&quot;, &quot;device_management&quot;],&#xd;
&quot;owner&quot;:&quot;user111&quot;,&#xd; &quot;isMappingAnExistingOAuthApp&quot;:false&#xd;
&quot;grantType&quot;:&quot;password refresh_token&quot;,&#xd;
&quot;saasApp&quot;:true&#xd;
}</stringProp> }</stringProp>
<stringProp name="Argument.metadata">=</stringProp> <stringProp name="Argument.metadata">=</stringProp>
</elementProp> </elementProp>
@ -329,7 +327,7 @@
<stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp>
<stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/api/appm/oauth/v1.0/register</stringProp> <stringProp name="HTTPSampler.path">/api-application-registration/register</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@ -348,7 +346,7 @@
</elementProp> </elementProp>
<elementProp name="" elementType="Header"> <elementProp name="" elementType="Header">
<stringProp name="Header.name">Host</stringProp> <stringProp name="Header.name">Host</stringProp>
<stringProp name="Header.value">10.100.1.90:9763</stringProp> <stringProp name="Header.value">localhost:9763</stringProp>
</elementProp> </elementProp>
<elementProp name="" elementType="Header"> <elementProp name="" elementType="Header">
<stringProp name="Header.name">Content-Type</stringProp> <stringProp name="Header.name">Content-Type</stringProp>
@ -360,7 +358,7 @@
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientID Extractor" enabled="true"> <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientID Extractor" enabled="true">
<stringProp name="RegexExtractor.useHeaders">false</stringProp> <stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">clientId</stringProp> <stringProp name="RegexExtractor.refname">clientId</stringProp>
<stringProp name="RegexExtractor.regex">&quot;clientId&quot;:&quot;(.+?)&quot;</stringProp> <stringProp name="RegexExtractor.regex">&quot;client_id&quot;:&quot;(.+?)&quot;</stringProp>
<stringProp name="RegexExtractor.template">$1$</stringProp> <stringProp name="RegexExtractor.template">$1$</stringProp>
<stringProp name="RegexExtractor.default">0</stringProp> <stringProp name="RegexExtractor.default">0</stringProp>
<stringProp name="RegexExtractor.match_number">1</stringProp> <stringProp name="RegexExtractor.match_number">1</stringProp>
@ -369,7 +367,7 @@
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientSecret Extractor" enabled="true"> <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientSecret Extractor" enabled="true">
<stringProp name="RegexExtractor.useHeaders">false</stringProp> <stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">clientSecret</stringProp> <stringProp name="RegexExtractor.refname">clientSecret</stringProp>
<stringProp name="RegexExtractor.regex">&quot;clientSecret&quot;:&quot;(.+?)&quot;</stringProp> <stringProp name="RegexExtractor.regex">&quot;client_secret&quot;:&quot;(.+?)&quot;</stringProp>
<stringProp name="RegexExtractor.template">$1$</stringProp> <stringProp name="RegexExtractor.template">$1$</stringProp>
<stringProp name="RegexExtractor.default">0</stringProp> <stringProp name="RegexExtractor.default">0</stringProp>
<stringProp name="RegexExtractor.match_number">1</stringProp> <stringProp name="RegexExtractor.match_number">1</stringProp>
@ -416,7 +414,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
</elementProp> </elementProp>
<elementProp name="scope" elementType="HTTPArgument"> <elementProp name="scope" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">true</boolProp> <boolProp name="HTTPArgument.always_encode">true</boolProp>
<stringProp name="Argument.value">appm:subscribe device:view activity:view device:android:operation:change-lock device:admin:view configuration:view device:android:enroll user:view</stringProp> <stringProp name="Argument.value">perm:android:enroll perm:android:wipe perm:android:ring perm:android:lock-devices perm:android:configure-vpn perm:android:configure-wifi perm:android:enroll perm:android:uninstall-application perm:android:manage-configuration perm:android:location perm:android:install-application perm:android:mute perm:android:change-lock-code perm:android:blacklist-applications perm:android:set-password-policy perm:android:encrypt-storage perm:android:clear-password perm:android:enterprise-wipe perm:android:info perm:android:view-configuration perm:android:upgrade-firmware perm:android:set-webclip perm:android:send-notification perm:android:disenroll perm:android:update-application perm:android:unlock-devices perm:android:control-camera perm:android:reboot perm:android:logcat appm:subscribe perm:sign-csr perm:admin:devices:view perm:roles:add perm:roles:add-users perm:roles:update perm:roles:permissions perm:roles:details perm:roles:view perm:roles:create-combined-role perm:roles:delete perm:dashboard:vulnerabilities perm:dashboard:non-compliant-count perm:dashboard:non-compliant perm:dashboard:by-groups perm:dashboard:device-counts perm:dashboard:feature-non-compliant perm:dashboard:count-overview perm:dashboard:filtered-count perm:dashboard:details perm:get-activity perm:devices:delete perm:devices:applications perm:devices:effective-policy perm:devices:compliance-data perm:devices:features perm:devices:operations perm:devices:search perm:devices:details perm:devices:update perm:devices:view perm:view-configuration perm:manage-configuration perm:policies:remove perm:policies:priorities perm:policies:deactivate perm:policies:get-policy-details perm:policies:manage perm:policies:activate perm:policies:update perm:policies:changes perm:policies:get-details perm:users:add perm:users:details perm:users:count perm:users:delete perm:users:roles perm:users:user-details perm:users:credentials perm:users:search perm:users:is-exist perm:users:update perm:users:send-invitation perm:admin-users:view perm:groups:devices perm:groups:update perm:groups:add perm:groups:device perm:groups:devices-count perm:groups:remove perm:groups:groups perm:groups:groups-view perm:groups:share perm:groups:count perm:groups:roles perm:groups:devices-remove perm:groups:devices-add perm:groups:assign perm:device-types:features perm:device-types:types perm:applications:install perm:applications:uninstall perm:admin-groups:count perm:admin-groups:view perm:notifications:mark-checked perm:notifications:view perm:admin:certificates:delete perm:admin:certificates:details perm:admin:certificates:view perm:admin:certificates:add perm:admin:certificates:verify perm:ios:enroll perm:ios:view-device perm:ios:apn perm:ios:ldap perm:ios:enterprise-app perm:ios:store-application perm:ios:remove-application perm:ios:app-list perm:ios:profile-list perm:ios:lock perm:ios:enterprise-wipe perm:ios:device-info perm:ios:restriction perm:ios:email perm:ios:cellular perm:ios:applications perm:ios:wifi perm:ios:ring perm:ios:location perm:ios:notification perm:ios:airplay perm:ios:caldav perm:ios:cal-subscription perm:ios:passcode-policy perm:ios:webclip perm:ios:vpn perm:ios:per-app-vpn perm:ios:app-to-per-app-vpn perm:ios:app-lock perm:ios:clear-passcode perm:ios:remove-profile perm:ios:get-restrictions perm:ios:wipe-data perm:admin perm:android:applications</stringProp>
<stringProp name="Argument.metadata">=</stringProp> <stringProp name="Argument.metadata">=</stringProp>
<boolProp name="HTTPArgument.use_equals">true</boolProp> <boolProp name="HTTPArgument.use_equals">true</boolProp>
<stringProp name="Argument.name">scope</stringProp> <stringProp name="Argument.name">scope</stringProp>
@ -429,7 +427,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp>
<stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/oauth2/token</stringProp> <stringProp name="HTTPSampler.path">/token</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@ -626,12 +624,10 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
<elementProp name="" elementType="HTTPArgument"> <elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp> <boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value">{ &#xd; <stringProp name="Argument.value">{ &#xd;
&quot;callbackUrl&quot;:&quot;www.google.lk&quot;,&#xd; &quot;applicationName&quot;:&quot;app_${randAppNum}&quot;,&#xd;
&quot;clientName&quot;:&quot;appp_${randAppNum}&quot;,&#xd; &quot;isAllowedToAllDomains&quot;:false,&#xd;
&quot;tokenScope&quot;:&quot;Production&quot;,&#xd; &quot;tags&quot;:[&quot;android&quot;, &quot;device_management&quot;],&#xd;
&quot;owner&quot;:&quot;admin&quot;,&#xd; &quot;isMappingAnExistingOAuthApp&quot;:false&#xd;
&quot;grantType&quot;:&quot;password refresh_token&quot;,&#xd;
&quot;saasApp&quot;:true&#xd;
}</stringProp> }</stringProp>
<stringProp name="Argument.metadata">=</stringProp> <stringProp name="Argument.metadata">=</stringProp>
</elementProp> </elementProp>
@ -643,7 +639,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp>
<stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/api/appm/oauth/v1.0/register</stringProp> <stringProp name="HTTPSampler.path">/api-application-registration/register</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@ -662,7 +658,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
</elementProp> </elementProp>
<elementProp name="" elementType="Header"> <elementProp name="" elementType="Header">
<stringProp name="Header.name">Host</stringProp> <stringProp name="Header.name">Host</stringProp>
<stringProp name="Header.value">10.100.1.90:9763</stringProp> <stringProp name="Header.value">localhost:9763</stringProp>
</elementProp> </elementProp>
<elementProp name="" elementType="Header"> <elementProp name="" elementType="Header">
<stringProp name="Header.name">Content-Type</stringProp> <stringProp name="Header.name">Content-Type</stringProp>
@ -674,7 +670,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientID Extractor" enabled="true"> <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientID Extractor" enabled="true">
<stringProp name="RegexExtractor.useHeaders">false</stringProp> <stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">clientId</stringProp> <stringProp name="RegexExtractor.refname">clientId</stringProp>
<stringProp name="RegexExtractor.regex">&quot;clientId&quot;:&quot;(.+?)&quot;</stringProp> <stringProp name="RegexExtractor.regex">&quot;client_id&quot;:&quot;(.+?)&quot;</stringProp>
<stringProp name="RegexExtractor.template">$1$</stringProp> <stringProp name="RegexExtractor.template">$1$</stringProp>
<stringProp name="RegexExtractor.default">0</stringProp> <stringProp name="RegexExtractor.default">0</stringProp>
<stringProp name="RegexExtractor.match_number">1</stringProp> <stringProp name="RegexExtractor.match_number">1</stringProp>
@ -683,7 +679,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientSecret Extractor" enabled="true"> <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="ClientSecret Extractor" enabled="true">
<stringProp name="RegexExtractor.useHeaders">false</stringProp> <stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">clientSecret</stringProp> <stringProp name="RegexExtractor.refname">clientSecret</stringProp>
<stringProp name="RegexExtractor.regex">&quot;clientSecret&quot;:&quot;(.+?)&quot;</stringProp> <stringProp name="RegexExtractor.regex">&quot;client_secret&quot;:&quot;(.+?)&quot;</stringProp>
<stringProp name="RegexExtractor.template">$1$</stringProp> <stringProp name="RegexExtractor.template">$1$</stringProp>
<stringProp name="RegexExtractor.default">0</stringProp> <stringProp name="RegexExtractor.default">0</stringProp>
<stringProp name="RegexExtractor.match_number">1</stringProp> <stringProp name="RegexExtractor.match_number">1</stringProp>
@ -730,7 +726,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
</elementProp> </elementProp>
<elementProp name="scope" elementType="HTTPArgument"> <elementProp name="scope" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">true</boolProp> <boolProp name="HTTPArgument.always_encode">true</boolProp>
<stringProp name="Argument.value">appm:subscribe device:view activity:view device:android:operation:change-lock device:admin:view configuration:view device:android:enroll user:view</stringProp> <stringProp name="Argument.value">perm:android:enroll perm:android:wipe perm:android:ring perm:android:lock-devices perm:android:configure-vpn perm:android:configure-wifi perm:android:enroll perm:android:uninstall-application perm:android:manage-configuration perm:android:location perm:android:install-application perm:android:mute perm:android:change-lock-code perm:android:blacklist-applications perm:android:set-password-policy perm:android:encrypt-storage perm:android:clear-password perm:android:enterprise-wipe perm:android:info perm:android:view-configuration perm:android:upgrade-firmware perm:android:set-webclip perm:android:send-notification perm:android:disenroll perm:android:update-application perm:android:unlock-devices perm:android:control-camera perm:android:reboot perm:android:logcat appm:subscribe perm:sign-csr perm:admin:devices:view perm:roles:add perm:roles:add-users perm:roles:update perm:roles:permissions perm:roles:details perm:roles:view perm:roles:create-combined-role perm:roles:delete perm:dashboard:vulnerabilities perm:dashboard:non-compliant-count perm:dashboard:non-compliant perm:dashboard:by-groups perm:dashboard:device-counts perm:dashboard:feature-non-compliant perm:dashboard:count-overview perm:dashboard:filtered-count perm:dashboard:details perm:get-activity perm:devices:delete perm:devices:applications perm:devices:effective-policy perm:devices:compliance-data perm:devices:features perm:devices:operations perm:devices:search perm:devices:details perm:devices:update perm:devices:view perm:view-configuration perm:manage-configuration perm:policies:remove perm:policies:priorities perm:policies:deactivate perm:policies:get-policy-details perm:policies:manage perm:policies:activate perm:policies:update perm:policies:changes perm:policies:get-details perm:users:add perm:users:details perm:users:count perm:users:delete perm:users:roles perm:users:user-details perm:users:credentials perm:users:search perm:users:is-exist perm:users:update perm:users:send-invitation perm:admin-users:view perm:groups:devices perm:groups:update perm:groups:add perm:groups:device perm:groups:devices-count perm:groups:remove perm:groups:groups perm:groups:groups-view perm:groups:share perm:groups:count perm:groups:roles perm:groups:devices-remove perm:groups:devices-add perm:groups:assign perm:device-types:features perm:device-types:types perm:applications:install perm:applications:uninstall perm:admin-groups:count perm:admin-groups:view perm:notifications:mark-checked perm:notifications:view perm:admin:certificates:delete perm:admin:certificates:details perm:admin:certificates:view perm:admin:certificates:add perm:admin:certificates:verify perm:ios:enroll perm:ios:view-device perm:ios:apn perm:ios:ldap perm:ios:enterprise-app perm:ios:store-application perm:ios:remove-application perm:ios:app-list perm:ios:profile-list perm:ios:lock perm:ios:enterprise-wipe perm:ios:device-info perm:ios:restriction perm:ios:email perm:ios:cellular perm:ios:applications perm:ios:wifi perm:ios:ring perm:ios:location perm:ios:notification perm:ios:airplay perm:ios:caldav perm:ios:cal-subscription perm:ios:passcode-policy perm:ios:webclip perm:ios:vpn perm:ios:per-app-vpn perm:ios:app-to-per-app-vpn perm:ios:app-lock perm:ios:clear-passcode perm:ios:remove-profile perm:ios:get-restrictions perm:ios:wipe-data perm:admin perm:android:applications</stringProp>
<stringProp name="Argument.metadata">=</stringProp> <stringProp name="Argument.metadata">=</stringProp>
<boolProp name="HTTPArgument.use_equals">true</boolProp> <boolProp name="HTTPArgument.use_equals">true</boolProp>
<stringProp name="Argument.name">scope</stringProp> <stringProp name="Argument.name">scope</stringProp>
@ -743,7 +739,7 @@ vars.put(&quot;base64encodedId&quot;,new String(encryptedId));</stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp>
<stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/oauth2/token</stringProp> <stringProp name="HTTPSampler.path">/token</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp>

@ -64,14 +64,14 @@
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<!--<test name="android-policy" preserve-order="true" parallel="false">--> <!--<test name="android-policy" preserve-order="true" parallel="false">-->
<!--<classes>--> <!--<classes>-->
<!--<class name="org.wso2.iot.integration.device.policy.AndroidPolicy"/>--> <!--<class name="org.wso2.iot.integration.device.policy.AndroidPolicy"/>-->
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<!--<test name="operation-mgt" preserve-order="true" parallel="false">--> <!--<test name="operation-mgt" preserve-order="true" parallel="false">-->
<!--<classes>--> <!--<classes>-->
<!--<class name="org.wso2.iot.integration.operation.OperationManagement"/>--> <!--<class name="org.wso2.iot.integration.operation.OperationManagement"/>-->
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<test name="role-mgt" preserve-order="true" parallel="false"> <test name="role-mgt" preserve-order="true" parallel="false">
<classes> <classes>
@ -79,30 +79,41 @@
</classes> </classes>
</test> </test>
<!--<test name="policy-mgt" preserve-order="true" parallel="false">--> <!--<test name="policy-mgt" preserve-order="true" parallel="false">-->
<!--<classes>--> <!--<classes>-->
<!--<class name="org.wso2.iot.integration.policy.PolicyManagement"/>--> <!--<class name="org.wso2.iot.integration.policy.PolicyManagement"/>-->
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<!--<test name="feature-mgt" preserve-order="true" parallel="false">--> <!--<test name="feature-mgt" preserve-order="true" parallel="false">-->
<!--<classes>--> <!--<classes>-->
<!--<class name="org.wso2.iot.integration.feature.FeatureManagement"/>--> <!--<class name="org.wso2.iot.integration.feature.FeatureManagement"/>-->
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<!--<test name="license-mgt" preserve-order="true" parallel="false">--> <!--<test name="license-mgt" preserve-order="true" parallel="false">-->
<!--<classes>--> <!--<classes>-->
<!--<class name="org.wso2.iot.integration.license.LicenseManagement"/>--> <!--<class name="org.wso2.iot.integration.license.LicenseManagement"/>-->
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<!--<test name="configuration-mgt" preserve-order="true" parallel="false">--> <!--<test name="configuration-mgt" preserve-order="true" parallel="false">-->
<!--<classes>--> <!--<classes>-->
<!--<class name="org.wso2.iot.integration.configuration.ConfigurationManagement"/>--> <!--<class name="org.wso2.iot.integration.configuration.ConfigurationManagement"/>-->
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<!--<test name="notification-mgt" preserve-order="true" parallel="false">--> <!--<test name="notification-mgt" preserve-order="true" parallel="false">-->
<!--<classes>--> <!--<classes>-->
<!--<class name="org.wso2.iot.integration.notification.NotificationManagement"/>--> <!--<class name="org.wso2.iot.integration.notification.NotificationManagement"/>-->
<!--</classes>--> <!--</classes>-->
<!--</test>--> <!--</test>-->
<test name="group-mgt" preserve-order="true" parallel="false">
<classes>
<class name="org.wso2.iot.integration.jmeter.GroupManagementJMeterTestCase"/>
</classes>
</test>
<test name="negative-test" preserve-order="true" parallel="false">
<classes>
<class name="org.wso2.iot.integration.jmeter.DeviceManagementAPINegativeTestCase"/>
</classes>
</test>
<test name="user-mgt" preserve-order="true" parallel="false"> <test name="user-mgt" preserve-order="true" parallel="false">
<classes> <classes>
<class name="org.wso2.iot.integration.user.UserManagement"/> <class name="org.wso2.iot.integration.user.UserManagement"/>

Loading…
Cancel
Save