Monday, September 26, 2011

Generating sessions

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 ; 


  1. Hello,

    I'm trying to figure out how to use feed files with CURL to post to the Endpoint URLs. I'm not clear how to accomplish this. Could you help me out??? Thanks!!

  2. Hi Josh,

    I'll have to start a new blog post on the SP8 SIS data integrations, and what we've learned from the few webinars and testing we've done. 8-)

    - Ian

  3. You can find more information about the SIS integrations in the online admin help now. > Help for Administrators > System Integration > Student Information System (SIS)

    Specifically, Testing XML/HTTP SIS Integrations covers the CURL bit.