Forum Discussion

preethishekar's avatar
preethishekar
Occasional Contributor
13 years ago

Does Groovy script support in distributed setting

Hi,

I have a scenario where SOAPUI script is having the groovy script to fetch the parameter value from CSV file. I have a distributed setup, i created the scenario and tested on Local, the values are getting changed with each run.Till here fine, when i select the scenario to distributed mode and pull the scenario to agent and run the scenario. Here are finding

1. The agent will pump the load and each time i see the same record being push into DB and same is shown on agent window also.
2. I copied all the file and folder structure to agent setup and installed the SOAPUI pro.
3. I kept all the files and folder in the . Loadui and .soap (Relative path)
4. I changed the path (Absolute path)
5. Copied the project file to same path.
6. All the same happens, if i switch the same scenario to local. it works

I wanted to know, groovy script will work on distributed setup or NOT.

I tried to get the parameterized value from Data source, here in my application, they will sent different header they are email-id (each time different), when i keep these data source and created parameter in header, it is not getting the data from data source.

Can any one tell me how to solve this issue.

6 Replies

  • preethishekar's avatar
    preethishekar
    Occasional Contributor
    If you dont know the answer, this not the place to make fun.....please..anyone can gimme solution...
  • preethishekar's avatar
    preethishekar
    Occasional Contributor
    Please can any one address this issue...is this setup working or is there a bug in the loadUI
  • Hi,

    Groovy scripts definitely works when distributing Scenarios.

    If you are a loadUI Pro user, please use the appropriate support channels (the loadUI Pro forum or the Pro support e-mail). Unfortunately, we don't have the resources to troubleshoot problems for Open Source users.

    Regards

    Henrik
    SmartBear Software
  • preethishekar's avatar
    preethishekar
    Occasional Contributor
    Sorry we are not the pro users, we are planing to take pro if this works. I wanted to know, will the agent be able to read the CSV file which is specified in Groove script in SOAPUI level (Setup script in soapUI). when i run with controller, it reads the CSV file which is on drive and path is specified in groove script.If this Yes and it is limitation on loadUI, then we will be going to LoadUI pro as we need that implementation for our client.

    Please tel me. if it is limitation in loadui so that we can ask client to purchase, he will be ready to purchase as this is the main requirement in project, distributed mode
  • Hi,

    LoadUI doesn't run setup scripts, but it runs Groovy TestSteps (both Pro and Open Source).

    Regards

    Henrik
    SmartBear Software
  • preethishekar's avatar
    preethishekar
    Occasional Contributor
    Thanks a lot....so whatever the script present in the setup script of SOAPUI tool, will not be supported by LOADUI rite. okay... Just reconfirming...if Yes, then again i need to change in all the script...sorry for the inconvenience....