Dynamically update the request test step with different types of services?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2016
08:20 AM
04-20-2016
08:20 AM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2016
05:54 PM
04-20-2016
05:54 PM
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.
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2016
04:04 PM
04-21-2016
04:04 PM
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
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
