Neo
Neo

Reputation: 16239

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

I have already gone through this article of Michael Stephenson automated-testing-logic-apps-specflow

My Logicapp triggers with Http Request I wonder how can I write test case using SpecFLow library .

I tried few steps like below but how can I trigger its very first step?

@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

enter image description here

Upvotes: 0

Views: 1213

Answers (1)

felixmondelo
felixmondelo

Reputation: 1474

You have to implement the logic of invoke by HTTP your Logic App URL with a helper class in C#, ... as in the article of Michael Stephenson did publishing a new message on the queue.

Upvotes: 1

Related Questions