_ivanovich_
6 years agoFrequent Contributor
What is testPassErrorsSuccess property?
Hi,
in my soapui project, i added a groovy step where i try to get the test status.
try{
def A = "Hello"
assert slurper.data.DOC.ACT[0].toString() == A
testRunner.testCase.testSuite.project.setPropertyValue("statusPass_A",'TEST PASS')
catch (AssertionError e){
testRunner.testCase.testSuite.project.setPropertyValue("statusFail_A",'TEST FAIL')
log.info context.getTestRunner().fail("ERROR")
}
}
The result is:
when the test pass, it creates the property "statusPass_A" with "TEST PASS"
But it creates also another property named testPassErrorsSuccess with "TEST PASS"
Where does it come from?
Is it soapui inbuilt propety?
Thank you