Skip to content

Helps reset the test device added, to enable running new test cycles again using same device


Full scale testing involves a plethora of test scenario. That requires us to run, re-run & again run similar scenarios with minor changes in data points or steps undertaken. In doing so we need the device parameters to be unaffected, hence it is most convenient to reuse the same device over and over again.

This API call shall reset the device for you when executed. Ideally this can also be done on the click of a button - this API is to facilitate any scope to automate much of the steps involved in large scale testing.

POSTapi.appvirality.com/v2_0/resettestdeviceapplication/json

Input i.e. Request

{
"apikey":"7b808b1f934448db8463a4c60091c49b",
"privatekey":"097262223465191eda4ec006d601b",
"deviceid":"d3e7190ac98140faa9932e89f2ba84e3"
}

The deviceid in this context shall relate to the Device ID shown in the Test Devices list, corresponding to your desired device.
Navigate to: DashboardTesting and pick the device ID for your the device you want to reset.


Response

{
"success": true,
"statuscode": 1,
"message": success
}

Response Params

Output ParamsDescription
successreturns true on successful execution
status codecode based on status of the API call
messageInformation regarding API call (if relevant)

Status codes which you will see while using Reset Test Device API

Status codes and description for API responses

Status CodeDescription
1Success
8Invalid Test DeviceID