public void ЕслиОтправляемСигналВ(string exchangeName, string multilineText)
 {
     multilineText = specFlowContextUtils.ResolveDataGenerationExpression(multilineText);
     multilineText = specFlowContextUtils.ResolveExtractorExpression(multilineText);
     rabbitMqClientFixture.PublishToExchange(exchangeName, multilineText);
     scenarioContext.SetSimpleApiRequest(multilineText);
 }
예제 #2
0
 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));
 }