Forum Discussion

armygrad's avatar
2 years ago

Running Tests from a .bat File



I set up a property transfer to capture a token and set it as a global variable which works fine.


However when i run it from a .bat  file it doesn't seem to populate the global variable with the new token, what am i doing wrong?




1 Reply

  • this is the command in the .bat file


    cd C:\Program Files\SmartBear\SoapUI-5.7.0\bin

    call testrunner.bat "C:\Users\User1\Desktop\SoapUiReports\A_Token.xml" -s "TestSuite 1" -c "TestCase 1" -f "C:\Users\User1\Desktop\SoapUiReports\LogFiles\Auth Token" -a

    TIMEOUT 10