Jump to content


Many urls to test


  • Please log in to reply
1 reply to this topic

#1 Guest_grantdb_*

Guest_grantdb_*
  • Guests

Posted 07 April 2011 - 03:17 PM

I have a lot of urls to test, like this (there are 100s)

dictionary/english/a
dictionary/english/the
dictionary/english/fraternity
dictionary/english/program
dictionary/english/love
dictionary/english/practice
dictionary/english/to
dictionary/english/culture
dictionary/english/lead

I want to set them up so the values come from a file and users randomly go to different urls (say 3 or 4) then stop.

I am a bit confused how to do this. I have worked out that I shiould be using variables, and I get get variables to work as an initial variable but not for the same user. Parameters work, but not as above.

Can you provide any help

Thanks

Grant

#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 12 April 2011 - 05:26 AM

1. Create initial variable and initialize it with $LRand function from file.
2. Create Loop operator with one page request.
3. Use the variable in URI Path of request.
4. Reinitialize the variable in the request with $LRand function.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users