LiuTianyou commented on PR #2684: URL: https://github.com/apache/hertzbeat/pull/2684#issuecomment-2335330223
> [api-testing](https://github.com/LinuxSuRen/api-testing/blob/b6188a0e6831b1af4df52ea63d509d298848ac14/e2e/test-suite-common.yaml#L18) has the similar way to check if the server is ready. But it cannot send a payload to the endpoint. > > I'm wondering if there is an API for the health check. Return status code when the server is ready to accept requests.`200` @LinuxSuRen Hello, thanks for your reply. I used the login API of hertzbeat to check whether the service is ready, but it seems that the e2e instability is not caused by inaccurate health checks.We have encountered a situation where the API that requires authentication occasionally fails in the test case. Is there a debug mode in api-testing that can output more log information, such as the URL, header, payload of the sent http request, etc. to help us troubleshoot this problem? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
