Hi Cormac,
try the following:
1) Create 2 requests after eachother, one with each option and the corresponding property-expansion from the DataSource
2) Create a groovy-script before them that checks the data availability and enables/disables the corresponding requests.. something like the following:
def value1 = context.expand( '${DataSource#Value1}' )
def value2 = context.expand( '${DataSource#Value2}' )
def testSteps = testRunner.testCase.testSteps
testSteps["Request 1"].disabled = value1.length() == 0
testSteps["Request 2"].disabled = value2.length() == 0
Hope this helps/works!
regards,
/Ole
eviware.com