webMethods 10.2 | Unit Test Framework | Advanced Options | Custom Comparator
 
Custom Comparator
Custom comparator provides an extension that can be used to extend, enhance, or replace the standard comparison of expected output.
Each test suite can have its comparator that can be specified from the user interface.
Custom comparators are Java classes that implement the com.wm.ps.test.ResultsValidator interface.
Custom comparators also provide a mechanism to execute operations pre and post service execution. Using custom comparators you can build some basic functional testing capability. For example, if a service writes to a database table, a custom comparator can compare the results from the service and check the destination table to confirm the operation executed successfully.

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release