mardi 4 juin 2019

I want to test a feature

Feature: From a single IP only send 300 login requests can be sent within 5 minutes . After 300 login requests in 5 minutes an error message is shown saying"Retry later". I want to test this by sending 300 login requests within 5 minutes and than test that if error message is displayed in the end. Since there is a login form that needs to be filled , so my guess is that selenium is necessary. Can you suggest what other python libraries should i use alongside selenium to test this feature? If there is some solution where it can be tested without selenium , than that is also acceptable.

I have tried using python request library , but it takes more than 5 minutes to send 300 requests.

Aucun commentaire:

Enregistrer un commentaire