mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 16:05:30 +00:00
1.8 KiB
1.8 KiB
ApiTestResult
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| var_date | datetime | Data point date UTC (ISO date-time format). | [optional] [readonly] |
| round_id | int | Epoch time (seconds) indicating the start time of the round | [optional] [readonly] |
| links | TestResultAppLinks | [optional] | |
| start_time | int | Epoch time (seconds) indicating the start time of the round | [optional] [readonly] |
| end_time | int | Epoch time (seconds) indicating the end time of the round | [optional] [readonly] |
| agent | TestResultAgent | [optional] | |
| api_transaction_time | float | Elapsed execution time of the API steps. | [optional] [readonly] |
| completion | float | Percentage of steps which completed successfully and passed assertions. | [optional] [readonly] |
| error_type | str | Type of error encountered. | [optional] [readonly] |
| error_details | str | Error details, if an error were encountered | [optional] [readonly] |
Example
from thousandeyes_sdk.test_results.models.api_test_result import ApiTestResult
# TODO update the JSON string below
json = "{}"
# create an instance of ApiTestResult from a JSON string
api_test_result_instance = ApiTestResult.from_json(json)
# print the JSON string representation of the object
print(ApiTestResult.to_json())
# convert the object into a dict
api_test_result_dict = api_test_result_instance.to_dict()
# create an instance of ApiTestResult from a dict
api_test_result_from_dict = ApiTestResult.from_dict(api_test_result_dict)