public void ЕслиОтправляемСигналВ(string exchangeName, string multilineText) { multilineText = specFlowContextUtils.ResolveDataGenerationExpression(multilineText); multilineText = specFlowContextUtils.ResolveExtractorExpression(multilineText); rabbitMqClientFixture.PublishToExchange(exchangeName, multilineText); scenarioContext.SetSimpleApiRequest(multilineText); }
public void ЕслиОтправляемЗапросСJsonВМетодPOST(HttpMethod httpMethod, string pathWithQueryParams, string multilineText) { pathWithQueryParams = specFlowContextUtils.ResolveExtractorExpression(pathWithQueryParams); multilineText = specFlowContextUtils.ResolveExtractorExpression(multilineText); multilineText = specFlowContextUtils.ResolveDataGenerationExpression(multilineText); ProcessSimpleApiResponse(httpClientFixture.SendRequest(httpMethod, pathWithQueryParams, multilineText)); }