mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
4.4 KiB
4.4 KiB
EndpointHttpServerTest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| aid | str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. | [optional] |
| links | EndpointTestLinks | [optional] | |
| agent_selector_config | EndpointAgentSelectorConfig | [optional] | |
| created_date | datetime | UTC created date (ISO date-time format). | [optional] [readonly] |
| is_prioritized | bool | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False] |
| interval | TestInterval | [optional] | |
| is_enabled | bool | Indicates if test is enabled. | [optional] [default to True] |
| is_saved_event | bool | Indicates if the test is a saved event. Note: Saved Events are now called Private Snapshots in the user interface. This change does not affect API. | [optional] [readonly] |
| has_path_trace_in_session | bool | Enables "in session" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session. | [optional] |
| modified_date | datetime | UTC last modification date (ISO date-time format). | [optional] [readonly] |
| network_measurements | bool | Enable or disable network measurements. Set to true to enable or false to disable network measurements. | [optional] [default to True] |
| protocol | EndpointTestProtocol | [optional] | |
| ip_version | EndpointIpVersionTemplate | [optional] | |
| server | str | Target domain name or IP address. | [optional] |
| test_id | str | Each test is assigned a unique ID to access test data from other endpoints. | [optional] [readonly] |
| test_name | str | Name of the test. | [optional] |
| type | str | Type of test being queried. | [readonly] |
| tcp_probe_mode | TestProbeModeResponse | [optional] | |
| port | int | Port number. | [optional] [default to 443] |
| auth_type | EndpointTestAuthType | [optional] | |
| http_time_limit | int | Maximum amount of time in milliseconds the agents wait before a request times out. | [optional] [default to 5000] |
| username | str | Username for Basic/NTLM authentication. | [optional] |
| ssl_version_id | TestSslVersionId | [optional] | |
| verify_certificate | bool | Flag indicating if a certificate should be verified. | [optional] [default to True] |
| url | str | The test target URL. | [optional] |
| follow_redirects | bool | To disable following HTTP/301 or HTTP/302 redirect directives, set this parameter to `false`. | [optional] [default to True] |
| http_target_time | int | Target time for HTTP server completion, specified in milliseconds. | [optional] |
| http_version | int | HTTP protocol version. Set to '2' to prefer HTTP/2, or '1' to use only HTTP/1.1. | [optional] [default to 2] |
| ssl_version | str | Reflects the verbose SSL protocol version used by a test. | [optional] [readonly] |
| use_ntlm | bool | Set to true to use NTLM, false to use Basic Authentication. Requires username and password to be set. | [optional] |
| labels | **List[TestLabel]** | [optional] [readonly] |
Example
from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_test import EndpointHttpServerTest
# TODO update the JSON string below
json = "{}"
# create an instance of EndpointHttpServerTest from a JSON string
endpoint_http_server_test_instance = EndpointHttpServerTest.from_json(json)
# print the JSON string representation of the object
print(EndpointHttpServerTest.to_json())
# convert the object into a dict
endpoint_http_server_test_dict = endpoint_http_server_test_instance.to_dict()
# create an instance of EndpointHttpServerTest from a dict
endpoint_http_server_test_from_dict = EndpointHttpServerTest.from_dict(endpoint_http_server_test_dict)