Groovy script to capture the incoming /Source url?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Groovy script to capture the incoming /Source url?
Hi Team,
I would like to capture the Source url using Groovy Script as shown below, I would be using script dispatcher to send my response, because I need to run on 10 different Environment.
I need to read the Source url and based on that I will be adding the condition to send the appropriate resposne.
Source: pegapp0001vj.metest.local - 10.220.104.50
Destination: http://VIRINF0001VT.metest.local:9080/ws/MEIS_XXXXXXX_0soap12http
POST /ws/MEIS_XXXXXXX_0soap12http HTTP/1.1
content-type: application/soap+xml; charset=UTF-8; action="MEB_SM_XXXXXXX"
user-agent: Axis2
host: VIRINF0001VT.metest.local:9090
content-length: 985
Thanks
Senthil kumar. M
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @senthkum,
Could you please check if the following topics help you?
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tanya,
Thanks for your support. But I need more clarity on this. I would not be testing from SOAPUI, functional tester would be testing from Online Application. I have created the Stub's in ServiceV Pro, based on the Operations called my stub should send the response. So I need to capture the ULR for my testing.
From the given link I do not see anything to capture the URL, it all talks about capturing the SOAPUI properties. Could you please provide me a link which helps me in capturing the URL using Groovy script.
attached file for reference.
Thanks
Senthil kumar. M
