Forum Discussion

API-Tester's avatar
API-Tester
Occasional Contributor
8 years ago

Run 2+ SecurityTests from SecurityTest Runner command line?

I don't see a board for Secure, so I am posting this in the SoapUI board.   I am attempting to create a .bat file to execute my security tests. Using the UI in Secure Pro, I can select either 'All'...
  • API-Tester's avatar
    8 years ago

    The solution is to put the word 'call' in front of each testrunner line:

     

    cd C:\Program Files\SmartBear\ReadyAPI-1.9.0\bin
    
    call securitytestrunner.bat -nSecurityTest1 -fC:\Users\myUser\Desktop\SecureReports -R"Security Issues Report" -E"Default environment" -I C:\Users\myUser\Documents\SoapUI
    
    call securitytestrunner.bat -nSecurityTest2 -fC:\Users\myUser\Desktop\SecureReports -R"Security Issues Report" -E"Default environment" -I C:\Users\myUser\Documents\SoapUI