Hi,

I am using dbunitTask.jar to make database comparison in my webtest, but it
is not working fine.

Code snippet:-
<dbunit
                driver="com.sybase.jdbc3.jdbc.SybDriver"
                url="jdbc:sybase:Tds:${idb_host}:${idb_port}/${idb}"
                userid="${idb_user}"
                password="${idb_password}">

                <export dest="../expected/test.xml" >
                    <query name="FOO" sql="select * from sfyreq where
typ_id=3 and req_ms like '${ms}'"/>
                </export>

                <compare src="../expected/test.xml">
                    <query name="FOO" sql="select * from sfyreq where
typ_id=3 and req_msisdn like '${ms}'"/>
                </compare>

</dbunit>

everytime I run the webtest this fails. I dont know the reason why this is
failing. If anyone has any idea about whats the mistake here or why it is
failing then please tell me.

Thanks a lot in advance...!!


Hitesh

Reply via email to