diff --git a/http_benchmark/clients/requestx_adapter.py b/http_benchmark/clients/requestx_adapter.py index 50b82df..7e5b18d 100644 --- a/http_benchmark/clients/requestx_adapter.py +++ b/http_benchmark/clients/requestx_adapter.py @@ -54,7 +54,7 @@ def make_request(self, request: HTTPRequest) -> Dict[str, Any]: "status_code": response.status_code, "headers": dict(response.headers), "content": response.text, - "response_time": response.elapsed.total_seconds(), + "response_time": response.elapsed, "url": str(response.url), "success": True, "error": None, diff --git a/pyproject.toml b/pyproject.toml index 02d9a3d..38dd066 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "http-client-benchmarker" -version = "5.1.1" +version = "5.1.2" description = "A Python HTTP Client Performance Benchmark Framework" readme = "README.md" authors = [{name = "Qunfei Wu", email = "wu.qunfei@gmail.com"}]