llm
This commit is contained in:
Binary file not shown.
@@ -8,10 +8,13 @@ class StatusCode200Check(BaseAPITestCase):
|
||||
description = "验证 API 响应状态码是否为 200 OK。"
|
||||
severity = TestSeverity.CRITICAL
|
||||
tags = ["status_code", "smoke_test"]
|
||||
use_llm_for_body = False
|
||||
# 适用于所有方法和路径 (默认)
|
||||
# applicable_methods = None
|
||||
# applicable_paths_regex = None
|
||||
use_llm_for_body: bool = True
|
||||
use_llm_for_path_params: bool = True
|
||||
use_llm_for_query_params: bool = True
|
||||
use_llm_for_headers: bool = True
|
||||
|
||||
def __init__(self, endpoint_spec: dict, global_api_spec: dict):
|
||||
super().__init__(endpoint_spec, global_api_spec)
|
||||
|
||||
Reference in New Issue
Block a user