WAPT Forum: How do i add dynamic values to parameter, - WAPT Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How do i add dynamic values to parameter, order list or randam or seq...

#1 User is offline   aargsr 

  • Member
  • PipPip
  • Group: Members
  • Posts: 13
  • Joined: 25-August 08

  Posted 26 January 2009 - 04:37 PM

Hello all,

we have a web appplication.

login to site -----> open a page ----> filling the required parameters -----> submit that page.

there is one parameter called "Number" For different users/Iterations this value should be different.

i added few values to this parameter by using order list / randam list. while recording the script, am able to submit it.

if i run the test then the tool is not able submit the form or that page. but no errors.

can anybody tell me the solution?

txs
ankit
0

#2 User is offline   viren 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 15-September 10

Posted 15 September 2010 - 10:22 AM

My question is "how to convert static values
to dynamic values".
Also i would like to know how to run a test for 1 hour with 20 vusers.

0

#3 User is offline   viren 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 15-September 10

Posted 15 September 2010 - 10:32 AM

SAME PROBLEM IM GETTING





QUOTE (aargsr @ Jan 26 2009, 08:37 AM) <{POST_SNAPBACK}>
Hello all,

we have a web appplication.

login to site -----> open a page ----> filling the required parameters -----> submit that page.

there is one parameter called "Number" For different users/Iterations this value should be different.

i added few values to this parameter by using order list / randam list. while recording the script, am able to submit it.

if i run the test then the tool is not able submit the form or that page. but no errors.

can anybody tell me the solution?

txs
ankit


0

#4 User is offline   Sergei Leonov 

  • Advanced Member
  • PipPipPip
  • Group: Administrators
  • Posts: 484
  • Joined: 12-February 08

Posted 20 September 2010 - 05:03 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/workin...variables.shtml
http://www.loadtestingtool.com/help/parame...lculation.shtml

Recently we also created a demo clip showing step by step how to perform the parameterization. You can download it here: http://www.loadtestingtool.com/quickstart/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
<a href="http://www.loadtestingtool.com" target="_blank">http://www.loadtestingtool.com</a>
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users