philhayes16 years agoWhat's the exact syntax for checking that a step has failed?// issue SOAP message def result = testRunner.runTestStepByName( "TEST Purchase" )// I know this syntax is wrong!if ( FAILED = result.getStatus() ){ // tell me the result log.error( "step failed" )}
1 ReplyReplies sorted by Most LikedSmartBear_SuppoAlumni16 years agoHi!try if( "FAILED" == result.getStatus().toString() ){...}regards,/Oleeviware.com
SmartBear_SuppoAlumni16 years agoHi!try if( "FAILED" == result.getStatus().toString() ){...}regards,/Oleeviware.com
Recent DiscussionsSoapUI - Apache Commons FileUpload (CVE-2025-48976)(High)Log4j vulnerability (CVE-2025-68161)Signature\Encryption tags missing in Security HeaderSolved
Related ContentTestComplete property check failed even after match!!!Checking API Status in TestCompleteAt What Frequency Does WaitProperty Checks For Property