You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Azure load testing in our Staging environment.
We have already implemented Azure load testing in our Internal environment. We want to duplicate this in Staging. You can read how to do this in the README.md. The CDC subscription has already opted into the Locust load test preview.
These load tests seem to cause the service to generate 499 HTTP status codes. As best as I can tell, that status code means that when TI finished processing the HTTP request and was about to send back the HTTP response, it realized that Locust had already closed the connection. So, even if TI was going to send back a 200 HTTP status, TI couldn't send that HTTP response and therefore the HTTP status is registered as a 499 in Azure's system. Locust reports zero 4xx HTTP statuses on its end.
Is this a problem? I'm leaning towards no because Locust thinks everything is fine, and I don't think it's a problem that Locust decides to end an HTTP request early.
There's a task in this ticket to look into this some more.
The text was updated successfully, but these errors were encountered:
Apparently we are blocked from creating load tests in the CDC domain (where the Staging environment is located). I tried using my -SU account. It looks like there's a policy deny on the entire subscription.
I tried load testing Staging from our Flexion domain, but I get the 403 HTTP status on everything which is the same as if I was trying to interact with it via Postman.
We could put an allow in the "firewall" of our web app the same way we allow ourselves when we need to triage something. I looked up the IP CIDRs of Azure, searched for load testing, and I'm presented with 24 separate CIDR blocks. I don't think we really want to manually add (and then delete!) 24 CIDR blocks from the networking configuration of the web app.
At this point I see two options. There could be more! I just only see two at the moment.
Script adding and removing the CIDR blocks as an allow to the networking configuration of our web app. This would be run right before and after a load test that is ran from our Flexion domain.
Talk to the powers that be about allow load tests be created in the CDC domain. I'm not hopeful that this option will work. I lost the fight last time a permission was randomly taken away, and our allies couldn't persuade the powers that be either.
DevEx/OpEx
Implement Azure load testing in our Staging environment.
We have already implemented Azure load testing in our Internal environment. We want to duplicate this in Staging. You can read how to do this in the
README.md
. The CDC subscription has already opted into the Locust load test preview.This builds upon #1122.
Tasks
499
s.Additional Context
These load tests seem to cause the service to generate
499
HTTP status codes. As best as I can tell, that status code means that when TI finished processing the HTTP request and was about to send back the HTTP response, it realized that Locust had already closed the connection. So, even if TI was going to send back a200
HTTP status, TI couldn't send that HTTP response and therefore the HTTP status is registered as a499
in Azure's system. Locust reports zero4xx
HTTP statuses on its end.Is this a problem? I'm leaning towards no because Locust thinks everything is fine, and I don't think it's a problem that Locust decides to end an HTTP request early.
There's a task in this ticket to look into this some more.
The text was updated successfully, but these errors were encountered: