Forum Discussion

bchandu141's avatar
bchandu141
New Contributor
14 years ago

SoapUI with Junit

Hi,

I am integrating soapui with Junit i was able to run tests but i could not customize the scripts.
Is it possible to provide input to elements from junit?
I am using these lines of code to run the soapUI-project,
String projectFile = "..\\workspace\\Soapui\\ptable-soapui-project.xml";
String exportFolder = "..\\workspace\\Soapui\\output";
String[] options = { "-r","-j", "-A", "-i", "-f" + exportFolder, "-j", projectFile };
runner.runFromCommandLine(options);
but I want to override the inputs and to test with the new set of input data.

Thanks in advance.

-chandu
No RepliesBe the first to reply