Forum Discussion
nmrao
Champion Level 3
It is mentioned "jdbc getting 6000 names, and rest response gets 6000 objects" - so you want to compare on these ? then why there exists #3?
kbourdel
9 years agoOccasional Contributor
Correct, I want to compare the JDBC result (6000 rows) with the Rest method.
For clarification, JDBC steps is getting a list of values from a type table, and the Rest method should be returning the same set of values.
What would be the most efficent way of doing this?
- nmrao9 years agoChampion Level 3Basically you need to bring the data in manner so that it can be easy to compare both.
1. either by transforming data to common xml for jdbc and rest response
2. use of class / model and create object list- kbourdel9 years agoOccasional Contributor
I've manage to put the API response into an XML Datasource, and the database portion into a JDBC Datasource.
At this point, how do you compare two Datasources against each other?
By the way, I'm using Ready API 1.5 PRO
- nmrao9 years agoChampion Level 3There are could lot of tools available in the internet.
Like XmlUnit etc. or you could also write your own as per the needs.
You may check this one and see if it is helpful
https://gist.github.com/karlin/789830
Related Content
- 9 months agoLuukdb
- 9 years agoilovechiku