Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Li,
If you are going to assert the entire content of the response you could create a separate datasource containing the assertions expected response; ie create one xpath assertion with the xpath expression selecting the envelope and the expected content set to ${AssertionDataSource#expectedContent}
(Since you can have only one DataSourceLoop, you need to make sure that the loop actually "passes" the AssertionDataSource for each run so it gets the next row each time)
Could that be an option?
regards!
/Ole
eviware.com
If you are going to assert the entire content of the response you could create a separate datasource containing the assertions expected response; ie create one xpath assertion with the xpath expression selecting the envelope and the expected content set to ${AssertionDataSource#expectedContent}
(Since you can have only one DataSourceLoop, you need to make sure that the loop actually "passes" the AssertionDataSource for each run so it gets the next row each time)
Could that be an option?
regards!
/Ole
eviware.com
Related Content
- 8 years agorvteja1990
- 8 years agomgroen2
- 5 years agofmensah