How to write property value in setup script for test Suite? SOLVED
Hi, This is one of the previously resolved issue forCXina frequent contributor. Please assist me in the similar kind of error I am encountered for the following script I have developed. def projectProperty = testSuite.project.getPropertyValue("MyProp") import com.eviware.soapui.support.types.StringToStringMap import com.eviware.soapui.model.testsuite.TestPropertyListener testCaseList = testSuite.getTestCases() testCaseList.each { testCase = testSuite.getTestCaseByName(it.key) wsdlTestSteps = testCase.getTestStepsOfType(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.class) wsdlTestSteps.each { if (projectProperty == "IMP1A_Secured" ) { it.getHttpRequest().setOutgoingWss("IMP1A") it.testRequest.setSslKeystore("qa.hub.jks") } else { it.getHttpRequest().setOutgoingWss("") it.testRequest.setSslKeystore("") } } } Thank You.Solved1.8KViews0likes4Comments