Forum Discussion
Thanks for your answer Rao.
This is not what I'm trying to do.
The idea is take status of previous SOAP step (which is inside a loop) in execution time. And report it in the txt file indicating if has passed (all assertions are ok) or not (some of the assertion have failed)
Your approach is after execution and in testCase level. In my case, if testRunner.status is called (following your approach), response is RUNNING :( . I'm trying to obtain the Result of a testStep.
Screenshot added, maybe can help you to understand what I need
Thanks
Assuming that test request has all the assertions to be made.
So if any assertion failed in certain iteration, the next step (writing result) is not executed, otherwise it is executed.
- tonielfuster10 years agoOccasional Contributor
Hi again Rao.
I deactivated that in TestCase options.
I had to indicate this before, sorry.
Thanks again :D
- tonielfuster10 years agoOccasional Contributor
Any idea? Should be possible for sure :(
- kondasamy10 years agoRegular Contributor
Hi,
Please let me know whether my understanding is correct upon you problem!
1) You are running a data driven test case using Data Source and Data Sink with single SOAP teststep
2) You need to export result of the SOAP teststep as a TXT file, as and when the teststep is executed, with the condition you are running in test case level (coz, you are using data driven approach)
If the above explaination matches your need, I have the solution implemented using a plugin which calls TestRunListener. Please let me know if it would help for you!
Thanks,
Samy