Forum Discussion

exp1's avatar
exp1
Occasional Contributor
14 years ago

Parameterize Activation link?

Hi,

I want make load test on the registration page in my tested web application.



Scenario is



1-write url then go to loginPage

2-click to I want registration

3-These are the textboxes I need to fill an Post via "Complete subscribe" button:Name,surname and mail adress

After registration complete the activation link goes to e-mail.



I can give parameter to registerationPage but how can I complete activation for each Vuser.The activation link is uniqe I can get activation link from database.



But I don't know how I can goes to this link for each Vuser than input data to textbox(password,gender,birthdate etc.) for load testing.



I wonder can be done with scripting ? Eventually I have activation link for registeration!



If you have a visual or a simple solution about that please let me know.



Thanks.

1 Reply

  • Hello Celalettin,



    Yes, it is possible to do this through scripting - you can have two tests, the first one works with the registration form, and the second sends the activation requests. You will need to start both tests from code, and before the second test is started, read the activation links from the DB, and modify the virtual user tasks inside the second test. Here are some useful links:



    Working With Databases


    Modifying Virtual Users' Traffic