# Perf test : Several login at the same time

**URL:** <https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272>\
**Category:** Robot Framework\
**Created:** [1 February 2021 09:23 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272 "2021-02-01T09:23:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Centaure13](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@Centaure13](https://forum.robotframework.org/u/Centaure13)\
**Post date:** [1 February 2021 09:23 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272/1 "2021-02-01T09:23:02Z")

</div>

Hello,

I would like to know if it’s possible with RF to run tests many times at the same time ?  
For example, I would like to run login tests 20 times to verify if the system can support multiple connections?  
I don’t find an existing solution but perhaps there is another tip?

Thanks !

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [1 February 2021 16:50 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272/2 "2021-02-01T16:50:27Z")

</div>

You should try to integrate [https://locust.io/](https://locust.io/) or [https://gettaurus.org/](https://gettaurus.org/).

Then if you make a useful library for RF, please share with the community. Thanks!

---

<div class="post-metadata">

**Author:** ![Centaure13](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@Centaure13](https://forum.robotframework.org/u/Centaure13)\
**Post date:** [2 February 2021 06:55 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272/3 "2021-02-02T06:55:17Z")

</div>

Thank you !  
I’m going to have a look on this !

---

<div class="post-metadata">

**Author:** ![lucagiove](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/lucagiove/32/85_2.png) [@lucagiove](https://forum.robotframework.org/u/lucagiove)\
**Post date:** [6 February 2021 10:05 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272/4 "2021-02-06T10:05:06Z")

</div>

You could try RequestsLibrary for api login, data driver as source of credentials for a data driven test and pabot to parallelize requests

---

<div class="post-metadata">

**Author:** ![lucagiove](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/lucagiove/32/85_2.png) [@lucagiove](https://forum.robotframework.org/u/lucagiove)\
**Post date:** [6 February 2021 10:09 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272/5 "2021-02-06T10:09:09Z")

</div>

Here you can find an example

> <https://github.com/RobotFramework-Italia/http-api-testing-workshop/blob/main/pabot/test_parallel_api.robot>

But doesn’t really give you metrics for performance besides requests per time.

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [6 February 2021 21:43 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272/6 "2021-02-06T21:43:44Z")

</div>

I didn’t reply here earlier as John seems to have already found [rfswarm](https://github.com/damies13/rfswarm/blob/master/README.md) which is a tool designed exactly for what he wants to do.

But I guess this post might be useful for anyone else who comes across this thread.

Dave.

---

<div class="post-metadata">

**Author:** ![shenthils](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/shenthils/32/631_2.png) [@shenthils](https://forum.robotframework.org/u/shenthils)\
**Post date:** [9 February 2021 18:03 UTC](https://forum.robotframework.org/t/perf-test-several-login-at-the-same-time/1272/7 "2021-02-09T18:03:52Z")

</div>

@damies13 it is useful to me. Thanks
