Forum Discussion
bernhardn
10 years agoOccasional Contributor
Hi Ole, Erik,
I have spent a number of days researching this issue, reading API documentation, this forum, and the web, but no luck -please advise.
Background info:
We have a groovy test automation framework, reading test data and verification criteria from an XLS file, executing the tests and then preparing a test report.
With REST the 'request' is, in most cases, the URI being sent, including host, resource path and parameters (all with expanded values if parameterised).
This means that if I cant get hold of the 'completed', (i.e. the one being sent) URI, then I have nothing to write into my report about what the test was actually composed of and what parameter values were being used.
The suite works very well for web services but for REST services I am also keen to provide a meaningful report, not just run the requests.
I tried a number of methods like testStep.getResource() but they all only return the resource path before any parameter substitution and without the resource parameters and their values.
Hope you can help.
Many thanks
Bernhard
PS I am using SOAPUI 5.0, free version; our test suites do have a mixture of web and REST services.
I have spent a number of days researching this issue, reading API documentation, this forum, and the web, but no luck -please advise.
Background info:
We have a groovy test automation framework, reading test data and verification criteria from an XLS file, executing the tests and then preparing a test report.
With REST the 'request' is, in most cases, the URI being sent, including host, resource path and parameters (all with expanded values if parameterised).
This means that if I cant get hold of the 'completed', (i.e. the one being sent) URI, then I have nothing to write into my report about what the test was actually composed of and what parameter values were being used.
The suite works very well for web services but for REST services I am also keen to provide a meaningful report, not just run the requests.
I tried a number of methods like testStep.getResource() but they all only return the resource path before any parameter substitution and without the resource parameters and their values.
Hope you can help.
Many thanks
Bernhard
PS I am using SOAPUI 5.0, free version; our test suites do have a mixture of web and REST services.