je_load_density.utils.recording
- je_load_density.utils.recording.har_to_action_json(har: Dict[str, Any], user: str = 'fast_http_user', user_count: int = 10, spawn_rate: int = 5, test_time: int = 60, include: List[str] | None = None, exclude: List[str] | None = None) Dict[str, Any]
將 HAR 轉成 LoadDensity action JSON。 Convert a HAR document into a complete action JSON ready to feed into execute_action.
- je_load_density.utils.recording.har_to_tasks(har: Dict[str, Any], include: List[str] | None = None, exclude: List[str] | None = None) List[Dict[str, Any]]
將 HAR 轉成任務清單。 Convert a HAR document into a list of LoadDensity tasks.
- je_load_density.utils.recording.load_har(file_path: str) Dict[str, Any]
讀取 HAR JSON 檔。 Read a HAR JSON file from disk.
Modules
cURL command importer. |
|
JMeter JMX importer. |
|
k6 script importer. |
|
OpenAPI / Swagger importer. |
|
Postman v2.1 collection importer. |