GetTestType
———————————
This method allows you to get your test cases’ type(s).
URL:
https://dev.geoloqal.com/GetTestType
Supported Method(s):
GET
———————————
This method allows you to get your test cases’ type(s).
https://dev.geoloqal.com/GetTestType
GET
| api_key: | This is the api_key that’s associated with your account. Remember not to share this with anyone. |
required |
| device_type: | (Android, iPhone, Blackberry) |
required |
| testcase_name: | Name of the test case that you want to get the type of |
required |
| output_type: | Default is json. You can also use xml. |
not required |
| For missing required fields/inputs: |
{"error":"insufficient input"}
|
| For wrong api_key : |
{"error":"wrong api key"}
|
| For wrong device_type : |
{"error":"invalid device_type"}
|
| For missing device_type : |
{"error":"device type required"}
|
| For an invalid testcase: |
{"error":"testcase doesn't exist"}
|
| For wrong api_key and testcase_name : |
{"error":"invalid request"}
|
| Success: Your test case’s type. E.g. |
By Sequential Polyline OR {"test_type":"By Sequential Polyline"}
|
curl "https://dev.geoloqal.com/GetTestType?api_key=InsertYourAPIKeyHere&testcase_name=YOURTESTCASE&device_type=Android&output_type=xml"