Forum Discussion

morciani's avatar
morciani
Occasional Contributor
16 years ago

Importing external XML requests into a Test Case

Hello,

Is anyone aware of a method I could use to import a set of XML requests into a soapUI test case?  I have a separate utility that creates sets of XML requests from a test database.  Each request created by my utility requires no changes / translation (i.e. I can copy / paste the text from my utility generated request into a soapUI test request and submit it successfully).  For example, my utility generates the following requests:

TestRequest1.xml
TestRequest2.xml
TestRequest3.xml
...and so on...

I want to import TestCase1 through TestCaseN into a single soapUI test case like this:

TestCase1
TestRequest1
TestRequest2
TestRequest3
...and so on...

I understand that I really should be creating a data driven test case that utilizes my test data source, but this would be a very sizable effort.  For now, I want to be able to utilize the utility I currently have in place that generates my requests.  I just don't want to have to copy / paste the text into individual test requests in soapUI!!

Any help is GREATLY appreciated!
No RepliesBe the first to reply