public class AddDataSourceHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
fillRequestPropertiesFromDataSource(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep request,
List<String> requestProperties,
WsdlDataSourceTestStep dataSourceTestStep,
boolean requiredElementsOnly,
boolean existingPropertiesOnly)
Fills request's properties from the data source properties.
|
static List<String> |
getParamsFromRequest(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep requestStep)
Returns a list with the names of the request's properties
|
public static List<String> getParamsFromRequest(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep requestStep) throws Exception
requestStep - - SOAP or REST requestExceptionpublic static void fillRequestPropertiesFromDataSource(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep request,
List<String> requestProperties,
WsdlDataSourceTestStep dataSourceTestStep,
boolean requiredElementsOnly,
boolean existingPropertiesOnly)
throws org.jdom.JDOMException,
IOException
request - - SOAP or REST requestrequestProperties - - List with the names of request's properties. Use getParamsFromRequest(WsdlTestStep) to get it.dataSourceTestStep - - datasource test steprequiredElementsOnly - - fill only properties required by schemaexistingPropertiesOnly - - fill only request's properties with the same names as in the data sourceorg.jdom.JDOMExceptionIOExceptionCopyright © 2019. All rights reserved.