cancel
Showing results for 
Search instead for 
Did you mean: 

modify soap request during load testing

Highlighted
Occasional Contributor

modify soap request during load testing

I want to use SOAPUI to load test a standard create customer functionality.

Request needs to be modified during load test to change name of customer. How can I pass a different customer for every request that load test sends?

Thanks!
2 REPLIES 2
Highlighted
Super Contributor

Re: modify soap request during load testing

Hi!

If you want to use a fixed set of customer names please check out the DataSource functionality in soapUI Pro which can be shared between threads during a loadtest. Alternatively if you just want to generate unique names you can add a simple inline groovy script to generate some random number into the name, for example:

customer${=(int)(Math.random()*100000)}

regards!

/Ole
eviware.com
Highlighted
Occasional Contributor

Re: modify soap request during load testing

Thanks so much! It helped me get the load testing going!

Cheers!
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors