Michael_Pratt
16 years agoNew Contributor
Generate random requests
I've just started using Groovy scripts and I was wondering the best way to accomplish something. I have 8 SOAP functions I want to test, but I want to provide random values for them. I thought about creating a test suite with 8 test steps, but how could I generate random value(s) for the input? Can properties help here?
Or, the second thought was just have a Groovy script that randomly generates one of the 8 possible test steps, then generates the params as needed. I was reading the example of how to create new test steps, but it's not very complete and doesn't show how to modify them.
Any help would be appreciated.
Thanks,
Mike
Or, the second thought was just have a Groovy script that randomly generates one of the 8 possible test steps, then generates the params as needed. I was reading the example of how to create new test steps, but it's not very complete and doesn't show how to modify them.
Any help would be appreciated.
Thanks,
Mike