Forum Discussion
SmartBear_Suppo
Alumni
13 years agoPlease follow these steps:
- In you TestCase, create a new "Assertion Test Step" after your Request Test Step.
- Choose the appropritate "Source" (your JDBC Request) and "Property" (Response).
- Select "Property Content" as your assertion type, then choose "Message Content Assertion".
- Click the "Add" button.
- The popup that will come up allows you intuitively select which XML fields to validate (tick the checkbox for the tags you need to validate) and their Expected Values. Notice you can choose an operator to use in the drop-down list.
Regards,
Renato Athaydes
SmartBear Software
- In you TestCase, create a new "Assertion Test Step" after your Request Test Step.
- Choose the appropritate "Source" (your JDBC Request) and "Property" (Response).
- Select "Property Content" as your assertion type, then choose "Message Content Assertion".
- Click the "Add" button.
- The popup that will come up allows you intuitively select which XML fields to validate (tick the checkbox for the tags you need to validate) and their Expected Values. Notice you can choose an operator to use in the drop-down list.
Regards,
Renato Athaydes
SmartBear Software