8#include <userver/server/handlers/http_handler_json_base.hpp>
9#include <userver/testsuite/http_testpoint_client.hpp>
11USERVER_NAMESPACE_BEGIN
14class BaseTestsuiteAction;
17namespace server::handlers {
66 TestsControl(
const components::ComponentConfig& config,
67 const components::ComponentContext& component_context);
68 ~TestsControl()
override;
74 formats::
json::Value HandleRequestJsonThrow(
75 const http::HttpRequest& request,
76 const formats::
json::Value& request_body,
77 request::RequestContext& context)
const override;
82 formats::
json::Value PerformAction(
83 const std::string& action_name,
84 const formats::
json::Value& request_body)
const;
86 std::unique_ptr<testsuite::TestpointClientBase> testpoint_client_;
89 std::unique_ptr<testsuite::impl::actions::BaseTestsuiteAction>>