Skip to content

Mocking an HTTP Request to an External API not mocking #41

@ShaneLucykHCS

Description

@ShaneLucykHCS

We have run into an issue where we are unable to mock an HTTP request to an external API. No matter how we build the Mock, we receive live data back from the system.

In larger tests we have been able to mock request to local function app actions, but are unable to mock requests to an external API using the HTTP action.

I have attached the workflow.json, test class & project file, the parameters.json and the testConfiguration.json file.

HttpTriggerTests2.cs.txt
parameters.json
testConfiguration.json
Tests.csproj.txt
workflow.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions