mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
48 lines
3.4 KiB
Markdown
48 lines
3.4 KiB
Markdown
# EndpointHttpServerInstantTest
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**agent_selector_type** | [**EndpointTestAgentSelectorType**](EndpointTestAgentSelectorType.md) | |
|
|
**agents** | **List[str]** | List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`. | [optional]
|
|
**has_ping** | **bool** | Optional flag indicating if the test should run ping. | [optional] [default to True]
|
|
**has_traceroute** | **bool** | Optional flag indicating if the test should run traceroute. | [optional] [default to True]
|
|
**endpoint_agent_labels** | **List[str]** | List of endpoint agent label IDs (obtained from `/endpoint/labels` endpoint), required when `agentSelectorType` is set to `agent-labels`. | [optional]
|
|
**max_machines** | **int** | Maximum number of agents which can execute the test. |
|
|
**port** | **int** | Port number, if not specified, the port is selected based on a protocol (HTTP 80, HTTPS 443). | [optional]
|
|
**test_name** | **str** | Name of the test. |
|
|
**auth_type** | [**EndpointTestAuthType**](EndpointTestAuthType.md) | | [optional]
|
|
**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]
|
|
**http_time_limit** | **int** | Maximum amount of time in milliseconds the agents wait before a request times out. |
|
|
**protocol** | [**EndpointTestProtocol**](EndpointTestProtocol.md) | | [optional]
|
|
**url** | **str** | Test target URL. Optionally, you can specify a protocol (http or https). If no protocol is provided, the default `https` protocol is used. |
|
|
**username** | **str** | Username for Basic/NTLM authentication. | [optional]
|
|
**ssl_version_id** | [**TestSslVersionId**](TestSslVersionId.md) | |
|
|
**tcp_probe_mode** | [**TestProbeModeResponse**](TestProbeModeResponse.md) | | [optional]
|
|
**verify_certificate** | **bool** | Flag indicating if a certificate should be verified. |
|
|
**target_response_time** | **int** | Response time target in milliseconds. Affects the colors of agents and legends on the view page. The value is compared with actual response time in order to determine the color scale (from green to red). |
|
|
**password** | **str** | Password for Basic/NTLM authentication. | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_instant_test import EndpointHttpServerInstantTest
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of EndpointHttpServerInstantTest from a JSON string
|
|
endpoint_http_server_instant_test_instance = EndpointHttpServerInstantTest.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(EndpointHttpServerInstantTest.to_json())
|
|
|
|
# convert the object into a dict
|
|
endpoint_http_server_instant_test_dict = endpoint_http_server_instant_test_instance.to_dict()
|
|
# create an instance of EndpointHttpServerInstantTest from a dict
|
|
endpoint_http_server_instant_test_from_dict = EndpointHttpServerInstantTest.from_dict(endpoint_http_server_instant_test_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|