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,
const components::ComponentContext& component_context);
67 ~TestsControl() override;
73 formats::
json::Value HandleRequestJsonThrow(
74 const http::HttpRequest& request,
75 const formats::
json::Value& request_body,
76 request::RequestContext& context
82 formats::
json::Value PerformAction(
const std::string& action_name,
const formats::
json::Value& request_body)
const;
84 std::unique_ptr<testsuite::TestpointClientBase> testpoint_client_;
85 std::unordered_map<std::string, std::unique_ptr<testsuite::impl::actions::BaseTestsuiteAction>> actions_;