This commit is contained in:
gongwenxin
2025-05-21 18:09:14 +08:00
parent 00de3a880a
commit 2b1afbf47e
14 changed files with 2287 additions and 22083 deletions
+4 -1
View File
@@ -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)