Argument values not matching on Property Expression comparison operator.

Document ID : KB000045818
Last Modified Date : 14/02/2018
Show Technical Document Details


When we choose to match an incoming request argument value to a property  expression, it does not match. Transaction always responds with a meta match.

The request argument is set as :     beginningdeparture Date    "property expression"   {{=doDateDeltaFromCurrent("yyyy-MM-dd","2D");/*2016-07-24*/}}


DEVTEST 8.x, 9.x


When the argument operation is set to "Property Expression" then the expression should either return true or false, not a value.   In this case it was failing as it was returning a date string.

To make it to work, do the following changes

1. Change the operation to "=" instead of "Property Expression"

2. Leave the value as {{=doDateDeltaFromCurrent("yyyy-MM-dd","2D");/*2016-07-24*/}}
3. Remove the date pattern (yyyy-MM-dd)  specified in the  “Date Pattern” field. 

4. Save the VSI.