# How to test multiple logins from single host?

**URL:** <https://www.ruby-forum.com/t/how-to-test-multiple-logins-from-single-host/192988>\
**Category:** Rails\
**Created:** [August 9, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/how-to-test-multiple-logins-from-single-host/192988 "2010-08-09T17:24:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jedrin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@Jedrin](https://www.ruby-forum.com/u/Jedrin)\
**Post date:** [August 9, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/how-to-test-multiple-logins-from-single-host/192988/1 "2010-08-09T17:24:28Z")

</div>

When logging in to a web server using watir or some other means  
through rails test api, we would like to test things like multiple  
users logged in as well as different functionality. The problem seems  
to be that the website uses sessions to store various info and  
multiple requests from the same host will appear to be as though one  
session. Is there a way using some sort of IP spoofing or a different  
port maybe to facilitate some means of making the server think there  
are separate requests ?

---

<div class="post-metadata">

**Author:** ![Jedrin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@Jedrin](https://www.ruby-forum.com/u/Jedrin)\
**Post date:** [August 9, 2010, 7:34pm UTC](https://www.ruby-forum.com/t/how-to-test-multiple-logins-from-single-host/192988/2 "2010-08-09T19:34:27Z")

</div>

You can use a different browser (Firefox and Mozilla, Mozilla and IE,  
etc). They will get their own cookie and session ID
