Ask Your Question
0

Can Locust Load Testing be used with OAuth Login?

asked 2023-01-13 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-10-18 10:00:00 +0000

pufferfish gravatar image

Yes, Locust Load Testing can be used with OAuth Login. However, the implementation may vary depending on the specific OAuth implementation used.

Generally, for performing OAuth login load testing, you will need to simulate the behavior of end-users who are trying to log in using OAuth. This includes sending requests to the authorization server to obtain an access token and setting the access token in the subsequent requests.

There are also some open-source libraries available, like OAuthLib, that can help with the implementation of OAuth in Locust scripts.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-01-13 11:00:00 +0000

Seen: 9 times

Last updated: Oct 18 '21