当逻辑应用程序触发器是 Http 请求时,如何使用 SpecFlow 测试逻辑应用程序?

How to test logic apps using SpecFlow when Logic app trigger is Http Request?

我有already gone through这篇Michael Stephenson的文章 automated-testing-logic-apps-specflow

我的 Logicapp triggers with Http Request 我想知道如何使用 SpecFLow 库编写测试用例。

我尝试了如下几个步骤,但我怎样才能触发它的第一步?

@dev
Scenario: WhiteboxTest - Process Topic Message - Yes
    Given the storage account is empty
    | Storage account |
    | mydemo |
    And the logic app is enabled
    When a message is submitted to the topic
    | Topic |
    | TestTopic |
    Then the logic app will receive the message

您必须使用 C# 中的帮助程序 class 通过 HTTP 调用您的逻辑应用程序 URL,...正如 Michael Stephenson 的文章中那样发布了一条新消息队列中。