thousandeyes-sdk-python/thousandeyes-sdk-test-results/docs/ApiTestResult.md
2024-09-20 09:48:48 +00:00

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)

[Back to Model list] [Back to API list] [Back to README]