Forum Discussion
saurabhsharma09
11 years agoContributor
I was able to Validate Service Response against JDBC successfully through Xpath Indeed.
Final Project Structure looks like
1. Service Request(It returns xml as Response)
2. JDBC Request
3. xml DataSource Step to Extract Parameters from JDBC Request
4. Assertion Step with Xpath Match Step With Source as Service Request and Property as Response.
5. DataSource Loop with Source as xml DataSource Step and Target as Assertion Step.
The catch was to compare Xpath with Data Source Value ie. XPath with ${DataSource#Property}
I am able to continue further and Appreciate your Response.
Thanks,
Final Project Structure looks like
1. Service Request(It returns xml as Response)
2. JDBC Request
3. xml DataSource Step to Extract Parameters from JDBC Request
4. Assertion Step with Xpath Match Step With Source as Service Request and Property as Response.
5. DataSource Loop with Source as xml DataSource Step and Target as Assertion Step.
The catch was to compare Xpath with Data Source Value ie. XPath with ${DataSource#Property}
I am able to continue further and Appreciate your Response.
Thanks,
Related Content
- 2 years agojerry91