Is there a way I can input a specific value what will only run tests with that value
I'm wanting to input a specific value before running my tests that will allow me to only run tests that have that specific value in the Datasource.
Would I be able to do this in TestRunner under Global/System/Project Properties? Each test has multiple iterations I would want to skip the iterations that don't contain the variable that has been inputed. I imagine that this could be done with a Groovy script inserted into each step but I need to know what to specify the value to be ran.
if I understand you correctly, your question is only, how you access the global properties from a groovyScript, right?
If yes, the answer is as follows:
def objGlobalProperties = com.eviware.soapui.SoapUI.globalProperties; //set the global property -> if the property does not exist then it will be created automatically objGlobalProperties.setPropertyValue("globalPropertyName", "globalPropertyValue"); //get the global property def strValue = objGlobalProperties.getPropertyValue("globalPropertyName"); log.info("The value is:" + strValue);
SmartBear preferred value-added Service
Provider in the DACH region