Forum Discussion
Hi Ssbsts,
Judging by you command line, you are using the –t command line parameter. As far as I know, this parameter allows specifying a file with custom SoapUI settings. However, that file and the settings.xml file located in a composite project are different.
Could you please clarify what information is stored in your test-settings.xml, which you want to pass to SoapUI?
- ssbsts9 years agoOccasional Contributor
After further reading it seems to me (unlesss i misinterpreted) that the '-t' flag is to allow you to load a different "soapui-settings.xml" file (located in C:\Users\<user>\soapui-settings.xml". Not the "settings.xml" file that is a per project file for each composite project.
From my experience the settings.xml file located in my composite projects directory holds the name of the project and the associated properties for that specific project. What I would like to do is call this project but i have different environments that I am running the same project in, so having the ability to load the settings.xml file of my choosing at runtime is what I am after. I dont do any configuraiton or anything at all with C:\Users\<user>\soapui-settings.xml.
- TanyaYatskovska9 years agoSmartBear Alumni (Retired)
Thanks for the explanation.
Ready! API provides the Environments feature that allows you to quickly change test setup. You can easily control your target environments by changing the –E parameter of TestRunner’s command line. Does it work for you?
- ssbsts9 years agoOccasional Contributor
I have thought about the environments, but from what i can tell, it stores the environment information in the settings.xml file. Maybe it could work, i am not sure. I was hoping that the environments would be stored in their own files, not inside the settings.xml of the composite project.
Related Content
- 5 years agotech321
- 4 years agomrdwprice
- 4 years agotobias_wolff