Forum Discussion

kamahade's avatar
kamahade
Regular Contributor
14 years ago

DB2 JDBC Xpath Assertion when ran with maven plugin

Hi,

I Have run into some inconsistencies between the resultset returned by the JDBC TestStep by the soapui maven plugin and the SoapUI Pro client

The client returns a result set in the following format:

<Results>
<ResultSet fetchSize="64">
<Row rowNumber="1">
<PRODUCT_GROUP.UUID>95c18afa-cc27-380a-e044-00144fb7b326</PRODUCT_GROUP.UUID>
</Row>
</ResultSet>
</Results>


The maven plugin returns a result set in the following format:

<Results>
<ResultSet fetchSize="64">
<Row rowNumber="1">
<PRODUCTGROUPUUID>95c18afa-cc27-380a-e044-00144fb7b326</PRODUCTGROUPUUID>
</Row>
</ResultSet>
</Results>

I'm tryingto create soapui projects that can be integration into our build mechanism and run within the SoapUI Client, including carrying out XPath assertions. This makes it very hard for them to be transferrable between the two.

Please, see Green color and Blue color text above. Tablename_Columnname convention NOT happening with Maven.

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    hmm.. I would have expected this to be the other way around; there was a recent change in the client that would have given you the "compressed" names, but this has been fixed in the latest nightly builds.. What versions are you using for the client and the maven plugin?

    regards!

    /Ole
    eviware.com