Forum Discussion

sguda's avatar
sguda
Regular Contributor
15 years ago

Parameterization in Load Test task.

I have recorded a load test for loggin page with loginid: test1, password: sa.

I have seen the requests , in request 19, i have seen that it is login.aspx request and in the body i saw the parameters i am giving to login.



Now i want to run this load test with 10 users with 3 of the Virtual users using the login id mentioned above , another three Virtual users with loginId: test2, password; test1 and another 3 usres with LoginId: test3, password: test1.



So for each set of 3 Virtual users, i want to run the load test with different login id's and the password will be the same.



How can i acheive this.



I looked at parameterization, it is mentioned that for the POST requests, need to change the parameters in the request body of that particular request.



Or do i have to use regular expressions?



Or scripting is the only option?



How do i make it dynamically to pick up different loginId for every 3 users it is running.



Please let me know.


25 Replies

  • sguda's avatar
    sguda
    Regular Contributor
    Hi Alex,



    That is exactly what i did. But i am getting this error. Please look at the attached.

    I am able to do distribution test through scheduling in the job. but not through scripting. We have licence for 50 Virtual users . Do i have to have remote agent running on the remote machine to access and execute the distribution test on that mahine. If so how come i didn't get problem when tried to run test visually though job .



    Hi Alex,



    I am also attaching the zipped folder of my project. Please look into that and let me know the solution.
  • sguda's avatar
    sguda
    Regular Contributor
    Hi Alex,



    I am also attaching the zipped folder of my project. Please look into that and let me know the solution.

  • Hi Sri,





    The Remote Agent Service (RAS) tool is shipped only with the 250 VU and Unlimited VU packages. This tool is required to have distributed virtual users.

    With the 50 VU package, you cannot use this functionality.
  • sguda's avatar
    sguda
    Regular Contributor
    My First question is how come I am able to run distributed test visually scheduled in the job.

    Second question is the other machine where i want to run has Test complete installed. I read in help that i don't need remote agent service running if test complete installed on it.





    Please resond to this to clarify clearly what should we do further.



  • Hello Sri,





    According to your project suite contents, you are confusing two different TestComplete features:





    1. Distributed HTTP Load Testing.

    This feature requires the RAS tool to be installed on the remote PC to simulate distributed virtual users.





    2. Distributed testing (Network Suite).

    This feature has nothing to do with Load Testing. This feature provides a way to distribute any test on several PCs.

    You can use this function to make your test run on several computers, but you will get separate Load Testing results for each project you run remotely, but not the common Load Testing log.





    I read in help that i don't need remote agent service running if test complete installed on it.


    Could you please specify the name of the topic?