Forum Discussion
binardo
15 years agoNew Contributor
Hi,
I created a LOADUI component to set parameters that are then passed into SOAPUI (see attached). You can set them to increament or cycle through lists of values. If you need it to randomise then you could easily edit the counter in the code to be a random value when selecting the item from the comma separated list.
Just put the .groovy file in your eviware\loadUI-1.0.1\script-components folder and it will be instantly available in LOADUI. If you open the .groovy file in a text editor it has instructions on parameterising you SOAPUI test case, though I think you might need SOAPUI pro.
Alternatively I have an edited version of the SOAPUI teams example custom component that reads in a .csv file and applies the read values to parameters named on the component. That can read the rows in the file randomly.
I created a LOADUI component to set parameters that are then passed into SOAPUI (see attached). You can set them to increament or cycle through lists of values. If you need it to randomise then you could easily edit the counter in the code to be a random value when selecting the item from the comma separated list.
Just put the .groovy file in your eviware\loadUI-1.0.1\script-components folder and it will be instantly available in LOADUI. If you open the .groovy file in a text editor it has instructions on parameterising you SOAPUI test case, though I think you might need SOAPUI pro.
Alternatively I have an edited version of the SOAPUI teams example custom component that reads in a .csv file and applies the read values to parameters named on the component. That can read the rows in the file randomly.