I am completely new to the Groovy.
thanks for your time and help in advance.
I am using soapUI mock service and trying to write a Groovy script. The request query URL I receive looks like:
http://{host}:{port}/readwrapper/historicalData/medicalHistory/STR/888888_2.16.840.1.113883.3.42.10012.100001.206_h0102a3727570b14038b349136f2a5fd58e0102
and the search criteria are embedded in the above URL. The search criteria that I am trying to extract from this URL are
A. 2.16.840.1.113883.3.42.10012.100001.206 which is the communityID
B. h0102a3727570b14038b349136f2a5fd58e0102 which is the document ID
All I am able to code in Groovy is:
and I do not know how to proceed further. Please help.