Azure / load-testing

Automate azure load test through github actions
MIT License
17 stars 17 forks source link

[BUG] Error message when failing to fetch Load Testing Resource is too broad #41

Closed tonybaloney closed 1 year ago

tonybaloney commented 1 year ago

The code to get the Load Testing Resource will raise an error if the Azure API returns anything other than HTTP 200 to say that the resource does not exist.

https://github.com/Azure/load-testing/blob/40f4bb10cb50b4510e24da69b544a95675e33393/src/main.ts#L290-L294

I'm getting this error, but the resource does exist.

If the API returns a different error condition, e.g. a permissions error, this action will still report the resource does not exist and the error detail is not captured anywhere to understand why it isn't working

ninallam commented 1 year ago

@radhikajain99 Can you please look into this?