Jump to content


Scripting Error


  • Please log in to reply
1 reply to this topic

#1 Guest_Yogesh_*

Guest_Yogesh_*
  • Guests

Posted 21 September 2011 - 05:32 AM

Hello All ,
Please tell me that if one script/profile run successfully for one user and Cant run with other user.Why it Happens?????

Please give me suggestion
Thanks and Regards
Yogesh Bandgar(95792750553)

#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 21 September 2011 - 07:04 AM

Most probably the problems appear because you have not parameterized the HTTP requests in your profile after recording it. Note that initially all requests are recorded as is. If you use a recorded profile without modifications, WAPT will simply repeat all the same requests with the same values of all parameters. However when working with dynamic site content, some parameters should have unique values for each session. The values of such parameters should be extracted from server response to the previous requests. You can read more about that using the following two links.
http://www.loadtestingtool.com/help/working-with-session-variables.shtml
http://www.loadtesti...lculation.shtml

(Note: The above links refer to WAPT Pro 2.0. If you use other version of the product, some GUI elements can be different, but the whole concept is the same. You can also find corresponding topics in the help file provided with your product.)

Recently we also created a demo clip showing step by step how to perform the parameterization. You can download it here: http://www.loadtesti...rt/WAPTdemo.avi

Also, I recommend you to use the "Verify test" button to check your profiles before running the test. It will execute each profile one time and log all the details. After the verification is finished you can expand the "Logs" folder in the left view. You will see all the requests and server responses logged during the profile execution. You can also use logs for test runs, but you need to choose the level of details on the “Log and Report Settings” page.

Note also that when you record a profile, you should start from the very first URL that you use to access the web site. If you start recording from a page inside a user session, your profile will be incomplete and will not produce a valid session during the test.
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