Reset Test Device
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.
api.appvirality.com/v2_0/resettestdeviceapplication/jsonInput 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: Dashboard › Testing and pick the device ID for your the device you want to reset.
Response
{ "success": true, "statuscode": 1, "message": success}Response Params
| Output Params | Description |
|---|---|
| success | returns true on successful execution |
| status code | code based on status of the API call |
| message | Information 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 Code | Description |
|---|---|
| 1 | Success |
| 8 | Invalid Test DeviceID |
