Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Script Login/Chat

Recording (what the thing is supposed to do)

When recording this script, I did the following:

  1. Go to smartsite
  2. Click Login
  3. Enter login: sakaistu1
  4. Enter password: *******
  5. Click Login
  6. Click "Mike's Test Site"
  7. Click "Chat Room"
  8. Write 5 static messages (after which click Add Message)
  9. Write 1 dynamic message (after which click Add Message)
  10. Click Logout

Implementation Changes

What has been done:

  1. Coded dynamic messgae
  2. Made login/password combo come from a file
  3. The Recorded script did some "garbage" at the beginning(went to an unrelated URL, set some useless looking cookies), which has been eliminated
  4. Base system URLS are hardcoded all over the place. Rather than query/replace them each time, I put in a variable that's defined/set in TInit that has the URL in it. I then validated that two URLS can use it.
  5. "ThinkTime"(or as i'm gonna probably call it, sleep) is static. I changed one to be random

What needs to be done:

  • URL hardcoding should be completed
  • sleeps should be random. The approach that will be taken is to have two to four random sleeps of varying time intervals, and each will be used in different places.
  • There needs to be more than 5 student test users, and the 15 regular users are not going to be enough. The load test will have to be modifed to accomodate the changes in the auth filter. This needs to be documented better.
  • Better stuff done in the test. I'm considering:
    • Hitting site info
    • Hitting Test/Quizzes
    • Hitting random sites in a created site list.
    • Creating sites
    • Adding stuff to forums.
    • Viewing wikis

Issues seen:

...

Load Testing for Fall

Scripts

Tests

...