How to check assertion status or test result of specific test step
Hi,
Can someone please help me check the test result of specific test step..
Or result of previous test step
Or result of assertion in previous test step.
I can do this on SOAP UI But don't know how this works on SOATest.
Thanks,
Tarun
Comments
-
It really depends on what you need to check. You can start by looking here:
- https://docs.parasoft.com/display/SOA9106/Validating+the+Value+of+an+Individual+Response+Element
- https://docs.parasoft.com/display/SOA9106/Configuring+Regression+Testing
If you need to do something different than is described in these links please be more specific about what you need to do.
0 -
Hi @jakubiak, Thanks for your response.
I would like to set the value of a "Test_Indicator" variable to "PASS" or "FAIL" based on the test step result. i.e. if any of the assertions are failed in a specific step (Mostly previous test step) then I would like to set the value to FAIL.
I know that I achieve this by using execution flow option - Execute "Set Value to PASS" script if the test step passes OR Execute "Set value to FAIL" script if the step fails. But, this will introduce two additional extension tools in my test script. However, I would like to do this within single extension tool.
I hope, this clarifies my test script requirement.
Thanks,
Tarun0 -
Hi,
I raised a Parasoft Support Ticket and got below response..
_The only way to check if the previous test passed or failed within the tst would be to use test flow logic as you said in your forum post. There is no value you can pull or access in SOAtest to find out if the previous test or output passed or failed.
_
Therefore, I am closing this topic.Regards,
Tarun0