public class AddDataSourceHelper
Type Params | Return Type | Name and description |
---|---|---|
|
public static void |
fillRequestPropertiesFromDataSource(WsdlTestStep request, java.util.List<java.lang.String> requestProperties, WsdlDataSourceTestStep dataSourceTestStep, boolean requiredElementsOnly, boolean existingPropertiesOnly) Fills request's properties from the data source properties. |
|
public static java.util.List<java.lang.String> |
getParamsFromRequest(WsdlTestStep requestStep) Returns a list with the names of the request's properties |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Fills request's properties from the data source properties. Create Property Expansion for request's fields.
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 sourceReturns a list with the names of the request's properties
requestStep
- - SOAP or REST request