diff --git a/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx index bd736ca4..f6f6147a 100644 --- a/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx +++ b/modules/integration/tests-integration/src/test/resources/jmeter-scripts/NewAndroidDeviceManagementAPI.jmx @@ -2166,6 +2166,15 @@ GEL4ZNjZ+jnwSkzwBU5vh/QS", + + + Status of android device that carries the id \u0027d24f870f390352a41000${DeviceID}\u0027 is ACTIVE + + Assertion.response_data + false + 16 + + true @@ -8702,6 +8711,159 @@ GEL4ZNjZ+jnwSkzwBU5vh/QS", + + + + + ${host} + ${https_port} + + + https + + /api/device-mgt/android/v1.0/devices/d24f870f390352a4${DeviceID} + DELETE + true + false + true + false + HttpClient4 + false + + + + + + + Authorization + Bearer ${access_token} + + + Content-Type + application/json + + + Accept + application/json + + + + + + + Android device that carries id \u0027d24f870f390352a4${DeviceID}\u0027 has successfully dis-enrolled + + Assertion.response_data + false + 16 + + + + + + + + ${host} + ${https_port} + + + https + + /api/device-mgt/android/v1.0/devices/d24f870f390352a4${DeviceID}/status + GET + true + false + true + false + HttpClient4 + false + + + + + + + Authorization + Bearer ${access_token} + + + Content-Type + application/json + + + Accept + application/json + + + + + + + Status of android device that carries the id \u0027d24f870f390352a4${DeviceID}\u0027 is REMOVED + + Assertion.response_data + false + 16 + + + + + + + + ${host} + ${https_port} + + + https + + /api/device-mgt/android/v1.0/devices/d24f870f390352sssa4${DeviceID}/status + GET + true + false + true + false + HttpClient4 + false + + + + + + + Authorization + Bearer ${access_token} + + + Content-Type + application/json + + + Accept + application/json + + + + + + + No Android device is found upon the id \u0027d24f870f390352sssa4${DeviceID}\u0027 + + Assertion.response_data + true + 16 + + + + + 404 + + Assertion.response_code + false + 8 + + + false diff --git a/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json b/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json index 2b158a47..86b0b010 100644 --- a/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json +++ b/modules/integration/tests-integration/src/test/resources/payloads/android-enrollment-response-payloads.json @@ -5,7 +5,7 @@ }, "GET": { "responseCode": "OK", - "responseMessage": "Android device that carries the id \u0027d24f870f390352a41234\u0027 is enrolled" + "responseMessage": "Status of android device that carries the id \u0027d24f870f390352a41234\u0027 is ACTIVE" }, "PUT": { "responseCode": "Accepted", diff --git a/pom.xml b/pom.xml index f4420105..82c46fd2 100644 --- a/pom.xml +++ b/pom.xml @@ -1524,7 +1524,7 @@ ${project.version} - 4.0.76 + 4.0.80 6.1.95