Forum Discussion

smartsuriya's avatar
smartsuriya
Occasional Contributor
14 years ago

Parameterization in Load UI

Is there any way to do parameterization of test data with a condition that each user picks up one unique value to do one full transaction? Is there any option to do the same or this needs to be done with help some groovy script?

Your early response will be greatly appreciated.

Regards,
Suriya

6 Replies

  • AndyHughes's avatar
    AndyHughes
    Regular Contributor
    Yes, do you mean you want to do a load test and read in a different value for each individual request? I do this using a SOAPUI runner in LoadUI. But you need SoapUI Pro.
  • smartsuriya's avatar
    smartsuriya
    Occasional Contributor
    Thanks for Prompt reply!! I saw the video as well. It was helpful but one qn which i have is will unique data for each request will be achieved even when ran with fixed load generator.

    Meanwhile i will also try working with SOAP UI pro.

    Regards,
    Suriya
  • AndyHughes's avatar
    AndyHughes
    Regular Contributor
    Yes, Fixed Load refers to the generated load (in this case, number of running requests), rather than the specific data used in each request.
  • smartsuriya's avatar
    smartsuriya
    Occasional Contributor
    Hi Andy,

    I have a problem in making each thread/user to take up unique values. I have upgraded to SOAP UI pro as suggested by you in order to use datasource functionality. I have grid datasource consists of my test data (10 different Partition IDs). When ran in SOAP UI pro with datasource and datasource loop each iteration in runner is successfully executed with unique partition id taken. But when ran in load ui (SOAP UI runner) for 10 fixed load (fixed load component), the test is failing due to concurrency.

    Following is my test case in SOAP UI pro:
    1. Partition IDs - Grid Datasource containing the list(10) of partition ids in which a file (~400MB)needs to be uploaded.
    2. Initial Free Partition - Rest Service to free the partition to upload the file.
    3. Open Partition - Rest Service to open the partition in order to upload the file.
    4. Update File - Groovy Script to read the xml file content (~400 MB) and to send in the request to upload the file in the partition.
    5. FRee PArtition - Rest service to the free the uploaded partition.
    6. DataSource Loop - Loop to iterate for different values in the grid datasource.

    My load test scenario is to ran this test case for 10 concurrent users with each user picking up unique partition ids to upload the file. If any two or more users, picks up same partition ids then the upload process will fail. So i have tried with fixed load component in load ui but i am not able achieve this objective since all users are taking up same partition ids.

    Could you please help me in letting me know the procedure to achieve above mentioned objective. I tried surfing all SOAP UI forum pages but i couldnt figure out a way to do this. Your early response will be greatly appreciated.

    Many Thanks,
    Suriya
  • smartsuriya's avatar
    smartsuriya
    Occasional Contributor
    Hi,

    This is very critical. Request anyone's immediate help on the above scenario if you have any knowledge on how it can be created.

    Many Thanks,
    Suriya