Can you have automated regression/integration tests for Azure Logic Apps?

后端 未结 2 1754
谎友^
谎友^ 2021-02-06 15:52

Can you have automated regression/integration tests for Azure Logic Apps?

And if you can, how? ... especially in the context of CI/CD builds and deployments

2条回答
  •  失恋的感觉
    2021-02-06 16:07


    I would like to share one of the approach for LogicApp testing that my team has followed.
    First level of validation is the ARM template deployment status (ProvisioningState) which should not have any errors.
    After that we have developed test automation using the logic app sdk which does the following

    1. Get auth token.
    2. Execute a specific logic app trigger with a synthetic transaction.
    3. Waits till the execution is completed.
    4. Gets logic app & its action status (succeed, failed or skipped), validates it as per the expected scenario.
    5. Gets the outputs from each action execution, validates them against an expected scenario.
    6. Repeat above steps for all the various cases that logic app might go through.
    7. Hook this all-in CI/CD :)

    Deployed an LA, ran a synthetic transaction & validated the results. Hope this helps.

提交回复
热议问题