Hi Raffaele,
If you need to make some kind of customization, XMLUnit is a great java library which I have used before to do what you describe. You can create an actual and an expected XML and then use the XMLUnit diff engine to compare the the two. You will however need to write quite a bit of code.
FYI A much earlier version of ODM - ILOG JRules 6 - used XML for testing. It was called Rule Scenario Manager (RSM) with which you created and ran tests in XML format.
It was replaced by DVS which in turn replaced by Decision Runner both of which use Excel for test data.
------------------------------
Peter Warde
peterwarde@rulearchitect.com------------------------------
Original Message:
Sent: Mon July 24, 2023 03:33 AM
From: Antony Viaud
Subject: DVS Alternatives in IBM Decision Center Business Console
Hello Raffaele,
thank you for your detailed description. Today, there is a UI in the RES Console to test the execution of a ruleset, with JSON or XML input. But I agree it would be nice to have a similar capability in the Business Console. For any request like this one, I strongly recommend that you enter an Idea for ODM at https://ideas.ibm.com/ .
There might be workarounds today, using some customization features:
- use Decision Runner (the new name for DVS), with a custom scenario provider and possibly a custom resource file containing JSON / XML input
- add a custom tab / action to the Business Console, to display a custom form and launch an execution
But these customizations require some advanced dev work (better to get help from Lab Experts).
------------------------------
Antony Viaud
Product Manager, IBM Decision Automation
Original Message:
Sent: Thu July 20, 2023 02:30 PM
From: Raffaele Cocucci
Subject: DVS Alternatives in IBM Decision Center Business Console
Hi. I have a federal client that uses ODM extensively, but have gone away from using DVS for testing. Rather they like using SoapUI or Postman to sent HTTP requests to their deployed ruleapp. Has there been any thoughts around being able to integrate REST API tools in Business Console? My client wanted their business resources to be responsible for authoring rules in ODM, but the complexity of the ruleapp input object made managing test scenarios using DVS very difficult (i.e., numerous tabs to fill out in XLSX file). As such, the authoring and testing of rules have been assigned to the client's IT resources.
For instance, as part of the testing set up for a Change Activity, it would be nice to select "Postman" as the testing tool. Doing so would automatically generate a form that you could fill out with test data before selected the target server to use, and sending it. In the background, Decision Center would create a Postman Collection with the name of the Change Activity, configure the target server RES API service, generate the ODM request (based on the data entered in the form), and then executing the request. The response could use the default visualization method of DVS.
------------------------------
Raffaele Cocucci
------------------------------