Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Soap UI startup parameters

I have the free version of Soap UI and several different workspaces. I would like to set up several shortcuts to Soap UI with each shortcut including a start-up parameter indicating which workspace to load, but I can't find what the actual parameters are to do that. I looked over the documentation, and I saw a reference to the fact that there are start-up parameters available, but I couldn't find where they were listed.

Is there a way to do this (similar to eclipse's "-data" parameter)?

thanks.

like image 400
Jeremy Avatar asked Nov 18 '10 19:11

Jeremy


People also ask

How do you add parameters in SoapUI?

When you have an URL that contains parameters, SoapUI can extract them as you create the TestStep. Enter the URL into the URL field. Click Extract Parameters.

How do I disable the start page in SoapUI?

In particular, the "SoapUI Start Page" window can never be closed. Clicking the X at top-right simply clears the contents from the window. The menu item: Desktop -> Close All also appears to have no effect most of the time.


1 Answers

You can do this fairly easily by creating a workspace file that references your project, and then starting soapui from the command line or a batch file. The switch you need to specify a workspace file is -w.

soapui-4.5.1 -w "c:\path to my workspace file"

All your workspace file needs, in turn, is a single node with your project name and the path to your project file.

<con:soapui-workspace xmlns:con="http://eviware.com/soapui/config" soapui-version="4.5.1" name="Projects"> <con:description/> <con:settings/> <con:project name="My Project Name">D:/path to my project.xml</con:project> </con:soapui-workspace>

I know this is old, but I had the same question, and was frustrated that I couldn't specify a startup project. I downloaded the SoapUI source code, and dug around until I found the answer.

like image 139
kiprainey Avatar answered Nov 04 '22 01:11

kiprainey