I needed a way to generate 1000+ sessions in the Bb sessions table in development. However, development doesn't garner that many active users. I hit upon using webdav to generate sessions via curl. Here's a simple bash script to do so. Assumption is there's at least one userid you have the password for.
for i in {1..1000};
do echo $i;
curl 'https://bbserver/bbcswebdav/users/userid' -u userid:pw ;
done