Forum Discussion

exp1's avatar
exp1
Occasional Contributor
15 years ago

Confused about MultiTask Testing

I want to make a multi-task just like described in the help, and my web site is nearly the same used in the help.



I want to run different tasks with different groups of vusers using Complex Task feature of the http load test.



From the help page, I dont understant one point, the help pages are about multi tasking, but the help example finaly uses all tasks for one vuser group



The example in the help works like this,



one user grup runs 2 diffeerent one after another, using complex task as running task.



in this help page

-Load Testing Complex Tasks Tutorial

--3: Executing a Complex Load Testing Task



it says that



TestComplete simulates three concurrent virtual users. Each of the users performs the following actions: logs onto a server, creates and modifies 5 orders and then logs out.



I do not understand the reason here, if I will run 3 different task with same vuser group , why I need 3 different sub task ? I can just record all task with one record.



So, What do I have to do in order to run different task "concurrently" properly during a test ? Do I have to use multi task feature ?

If I assign a add-to-chart task to a group of vuser, they have to be logged before, so How can I run a test that, a group will already be login and try to add-to-chart, while another vuser groups doing different tasks like login and browse pages etc.? Thanks for advance

1 Reply

  • Hello Celalettin,



    How can I run a test that, a group will already be login and try to add-to-chart, while another vuser groups doing different tasks like login and browse pages etc.?

     

    You need to record tasks like this: Login, AddToCart, Browse, Logout.


    Then you will create two Complex Tasks:


    Complex Task 1 will contain Login, AddToCart, Logout;


    Complex Task 2 will contain Login, Browse, Logout.



    You will assign the two complex tasks to two different Virtual User groups, and all of the VUs will run in parallel.



    BTW, we have recently posted an article related to Complex Tasks usage - it may be helpful, take a look:


    Creating Long-Running Load Tests.