Jump to content
WAPT Forum
Guest aargsr

How do i add dynamic values to parameter,

Recommended Posts

Guest aargsr

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

Share this post


Link to post
Share on other sites
Guest viren

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.

Share this post


Link to post
Share on other sites
Guest viren

SAME PROBLEM IM GETTING

 

 

 

 

 

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

 

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...