cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically update the request test step with different types of services?

lisukapallipru
New Contributor

Dynamically update the request test step with different types of services?

SOAP,REST,HTTP etc services will be read from a database datasource and the request test step should be dynamically changed based on the input. So can a empty manual request step be created and dymanically this can be changed for different type of services through Groovy. Or is the option to create individual request test steps for SOAP, REST etc.

2 REPLIES 2
nmrao
Community Hero

Re: Dynamically update the request test step with different types of services?

It is possible to set the request dynamically. But there needs to be existing test request of required one should be present as test step.

For eg: how to set a json to a rest test step
https://github.com/nmrao/soapUIGroovyScripts/blob/b1f3a2eea91b1f82bd5f4c8ff9d4198afd7d3245/groovy/Se...

Set dynamic soap request - https://github.com/nmrao/soapUIGroovyScripts/blob/b1f3a2eea91b1f82bd5f4c8ff9d4198afd7d3245/groovy/Ge...


Regards,
Rao.
lisukapallipru
New Contributor

Re: Dynamically update the request test step with different types of services?

Thank you for the response.
So can I build a empty request and pass my request and resources through a data source
I have a data source with some rest, some soap, some http requests.
I want to read the paramaters like url,request from data source, execute request and capture response
My question was probably not clear
New Here?
Join us and watch the welcome video:
Top Kudoed Authors