You can nicely simulate multiple users from different hosts interacting with your application by using more than one sfTestBrowser instance in one test:
$user1 = new myTestBrowser(null, '127.0.0.1');
$user2 = new myTestBrowser(null, '127.0.0.2');
This however messes up the test output:
...
ok 14 - page not redirected
...
ok 12 - page not redirected
1..12
Looks like everything went fine.
1..14
Looks like everything went fine.
The test:all task wrongly reports failed tests and a warning: # Looks like you planned 14 test but ran 12 extra.
The reason for this behavior is that each sfTestBrowser instance creates its own lime_test instance. By reusing the same lime_test instance these problems can be avoided. See proposed patch against http://svn.symfony-project.com/branches/1.1 r8172