git-gurus-itu-devops / itu-minitwit

0 stars 0 forks source link

Add simulator test #56

Closed silkeholmebonnen closed 6 months ago

silkeholmebonnen commented 6 months ago

This PR should close issue #38. It adds simulator test to workflow.

The test makes sure that there are fewer than 10 errors in total, and checks that no errors of type tweet, register, follow or unfollow. This is to get around the fact that we usually get a few ReadTimeout and ConnectionError. I also limited the simulator to only do a 1000 requests. I don't know if we want this or if we want to fire the 25000 requests of?

Btw it was a mistake that i made this branch of #53, sorry if it makes it hard to review but idk what to do about it

sonarcloud[bot] commented 6 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
16.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud