accident113
8 years agoNew Contributor
Skip Tests without Tag on Jenkins
Hello,
I seem to run into the issue where I am executing:
/usr/local/ReadyAPI-2.0.0/bin/testrunner.sh -r -a -A -j -Duser.name=jenkins -Dsoapui.scripting.library=${WORKSPACE}/groovy-lib -E$2 -PSystemUnderTest=$2 -f $3/reports/$1/${userstory} "$f" -T"TestCase Framework Regression"
where It should only run the tags with Framework Regression. After running this Jenkins is returning the suite as a failure due to the skipped tests are returning:
21:11:50,014 ERROR [SoapUIProTestCaseRunner] java.lang.Exception: The tag "Framework Regression" was not found. 21:11:50,014 ERROR [SoapUI] An error occurred [The tag "Framework Regression" was not found.], see error log for details 21:11:50,014 ERROR [errorlog] java.lang.Exception: The tag "Framework Regression" was not found.
Is there anyway to skip all other tests or make it pass via running through command line?