Liberty_Informa
13 years agoRegular Contributor
[Resolved] Execute Setup Project from Command line
Hi
I use following script to execute set-up project from all the project. Set-up project populates set-up data which is necessary to run individual projects.
This works perfectly on my local with running soapUI project within the tool.
We also run all the projects daily at some scheduled time on remote server. There we run through command line. Above script doesn't work there due to the statement 'com.eviware.soapui.SoapUI.workspace.projectList'
Can you tell me how can I make it working through command line so that set-up project is run within all domain projects?
Thanks
I use following script to execute set-up project from all the project. Set-up project populates set-up data which is necessary to run individual projects.
/* Calling Setup Project */
for(project in com.eviware.soapui.SoapUI.workspace.projectList) {
if(project.open && project.name == "SetupDynamicTestData") {
log.info " ${text*5} Running project: " + project.name
project.run( null, false )
}
}
This works perfectly on my local with running soapUI project within the tool.
We also run all the projects daily at some scheduled time on remote server. There we run through command line. Above script doesn't work there due to the statement 'com.eviware.soapui.SoapUI.workspace.projectList'
Can you tell me how can I make it working through command line so that set-up project is run within all domain projects?
Thanks