Jump to content

How to load data into a database using WAPT

  • Please log in to reply
3 replies to this topic

#1 Guest_abhinav_*

  • Guests

Posted 02 April 2008 - 10:05 AM

Hi Angela,

I am recording a scenario where in I fill a form for creating a new user in an application.What I am intending to do is that when I run this particular test for 5 users they must create 5 new users with different names and details .I tried using the "ordered sequence " option and provided the required details but my test failed to what it needed to.Could you help on this?

#2 Guest_angela_*

  • Guests

Posted 03 April 2008 - 10:36 AM

Hi Abhinav,

Do you mean that you are trying to emulate login for 5 users with different names\passwords?

If yes, you can provide an individual login\password for each user. For this, you should use the function "Ordered list" with different login values for different users. This function returns the first element of the list (for instance, username) for the first virtual user, the second element for the second user and so on.

You can also use "User number" function ($clid(prefix,postfix)) for this purpose. This function returns the concatenation of prefix string, the ordinal number of the current virtual user and postfix string. So you can use it if usernames and passwords have uniform structure like TestUser1, TestUser2 and so on.

You need to add login page to Initial test sequence to set WAPT perform this operation once at the beginning of the test (Main test sequence is repeated several times equal to the number of iterations). Do not forget to remove login page from the Main test sequence.

If all the above conditions are met, and you still have problems, please send to me your scenario, profile, full and error logs (to support@loadtestingtool.com).

#3 Guest_abhinav_*

  • Guests

Posted 04 April 2008 - 04:53 AM

Hi Angela,

Thanks for your reply.I would try to do what you have suggested .Thanks once again.

#4 Guest_abhinav_*

  • Guests

Posted 04 April 2008 - 06:42 AM

Hello Angela,

I have attached a screen shot of the application form from the Castrol Application which I am working on .Now ,what I want to do is upload data from a CSV file to this application form using WAPT (upload file option).Could you please let me know if there is a way out.

Also , the same form should be filled by different users simultaneously and thus performance of the application under load be determined.

Attached Files

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users