Try using @ to get the attribute value of "name" in your xpath condition.
Did you get a chance to restart SOAVirt after adding your mongodbquerytool.jar file to system preferences? After restart, it should appear in your tools selection when adding a new test to your test suite.
Had a question come up on this where the rules are showing up in DTP, but not in C++test.
The rules are stored with the C++test installation.
So if you create custom rules in a C++test installation, then "sync" those with DTP.
You will have visibility to the new rules and be able to manage them from DTP and the C++test installation where you originally created them.
But other C++test installations will not have these rules and you will not see them when you access the DTP test configuration.
You need to share the new user rules between C++test installations.
The easiest way to do this is to:
The XML Sort tool is somewhat deprecated. It was originally used to sort XML prior to diffing as a means to ignore element order. However, this has been somewhat obsoleted by the fairly recent addition of the XMLUnit diff engine which has a "Ignore element order" option. So, consider not using the XML Sort tool to simplify your test setup.
JSON diffs require array elements to be in the same order, which is why you are seeing this behavior. One way to do this is to convert your JSON to XML using the XML Converter tool, and then use the XML Sort tool to sort the XML before performing an XML diff using the Diff tool. This will require you to use XML within your regression control, which you will need to get by identifying what the sorted XML will look like and then pasting that into your Diff tool.