Request Timeout Interval, Resource Pool, and DNS Mapping
After DNS mapping is configured, if the URL request path in the automated API test case is a domain name, the IP address corresponding to the request is automatically mapped.
You can set the request timeout interval, agent pool, and DNS mapping in Settings.
- Log in to the CodeArts homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Settings > Testing > Other.
- Select the target resource pool for API case debugging and click OK.
- Default Resource Pool: DEFAULT is the default executor provided by CodeArts TestPlan.
- Custom Resource Pool: Add your own executors to CodeArts for unified, centralized scheduling of automated test tasks. You must first create a resource pool.
(Optional) The executor uses host network resources: If this function is enabled, the executor will use the network configuration of the host where the executor is located to obtain external resources.
- (Optional) User-defined executor parameter path: Enter the full path of the parameter configuration file that can be obtained by the executor. Use the full path format, for example, /etc/sample_enc. Ensure that the file exists. Otherwise, the custom executor task will fail.
- The parameter configuration file is stored on the host where the executor is located. If there are multiple nodes, this file must be available on each host.
- Currently, this configuration item supports only proxy configuration in the Key=value format. Examples (http_proxy, https_proxy, and no_proxy are in lowercase):
- http_proxy=http://proxy.example.com:8080
- https_proxy=https://proxy.example.com:8080
- no_proxy=localhost,127.0.0.1
- If the proxy contains special characters (such as ^ and %), convert them by URL encoding.
- For example, if the proxy address is http://TestU^&*ser:test%^&@Passproxy.example.com:8080, in which TestU^&*ser is the account, and test%^& is the password. After being URL-encoded, the account is converted to TestU%5E&*ser, and the password to test%25%5E&. Then the proxy address to be configured is http://TestU%5E&*se:test%25%5E&@Passproxy.example.com:8080.
- Set Request Timeout Interval. The default value is 10,000 ms.
- Set DNS Mapping.
- Domain Name: a unique website identifier
- IPS: the location of a device or host, containing four segments of numbers ranging from 0 to 255, separated by periods (.)
- Enter a JSON array to mask your sensitive parameters. For example, ["password","psd"]. This example configuration will mask the middle six digits of a password if it has more than six digits, or mask all the digits if it has six or fewer digits.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot