Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

Changes done after recording

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:

  • When running a small(55 connection over 10 minute) loadtest I noticed several errors:
    • Winsock Errors
    • URLs not being found(maybe there's a particular timeout that needs to be adjusted?)
  • No labels