Menu

Getting error code 199 when executing test using STAF

Help
Jayasankar
2016-10-05
2016-10-05
  • Jayasankar

    Jayasankar - 2016-10-05

    i'm using STAF to execute tests in vm machines (for executing protractor web ui automation tests)
    The tests are launched from jenkins using STAF
    it is seen that tests are not getting executed and i'm getting STAF response as 199.

    Can someone tell what could be the issue?
    Thanks!!

     
  • Jayasankar

    Jayasankar - 2016-10-05

    please find the details in attachment

     
  • Sharon Lucas

    Sharon Lucas - 2016-10-05

    Did you verify that STAF is working correctly on the machine where you are running the STAF executable and that it can communicate with machine 10.179.104.246? Try running the following STAF PING request and verify it returns PONG:

    C:\>STAF 10.179.104.246 PING PING
    Response
    --------
    PONG
    
    C:\>
    

    Did you verify that running your .bat command without STAF is working on your vm machines?

    e.g. Logon on vm machine 10.179.104.246 and run:

    C:\>cd \UIAutomation
    C:\UIAutomation>OfflineTests.bat FRENCH MP vm2
    

    Note that 199 is not a STAF return code. My guess is that 199 is a operating system error code that is returned when trying to run your .bat command via STAF.

    C:\>net helpmsg 199
    
    The operating system cannot run this application program.
    
    C:\>
    
     

Log in to post a comment.