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

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...
Sign in to follow this  

×
×
  • Create New...