Scenario 5 - Testing with Required UDF Input
Send a validation request when UDF input is required.
Procedure
-
Create a product in which you have specified that the input
characteristic
gender must be passed in the request.
-
Set the gender characteristic to active.
-
Set the flag
validateData = true in the offer validation request.
-
Add the product to your basket without defining the gender.
Result
You get an error in
the reply during validation when that product is in your basket and the flag
validateData = true without the UDF gender entry.
Copyright © Cloud Software Group, Inc. All rights reserved.