Jump to content
WAPT Forum
Sign in to follow this  
Guest abhinav

How to load data into a database using WAPT

Recommended Posts

Guest abhinav

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?

Share this post


Link to post
Share on other sites
Guest angela

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).

 

Share this post


Link to post
Share on other sites
Guest abhinav

Hi Angela,

 

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

Share this post


Link to post
Share on other sites
Guest abhinav

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.

Application_Screen_shot.doc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×