Testing as several users

Am developing a 2 person chat application. Is it possible to test with the same project on two devices to simulate a complete chat.

You would need to run the same project on another computer with a different companion for a second device

Easier to compile and run the apk on the two devices