ContributionsMost RecentMost LikesSolutionsneed to pass oauth token in readyapi tests can someone please help me in passing oauth token in readyapi tests without using the client browser. We are using the auth token in our API tests but there is no provision to pass the bearer token in ReadyAPI Header neither to fetch Bearer token from any browser. Re: Passing a dynamic authentication token HI there, could you please let me know what step we need to use in below step to get auth token. Create a step that goes out and gets your token. Name it "get_token" getting auth token in ReadyAPI tests Hi team, We are trying to run ReadyAPI tests from Linux build agent, our API endpoints have authentication layer. We are unable to get the bearer token in our API response through readyapi. The token gets validated in chrome or IE browser. Could you please help us in getting the token from browser and pass it in readyapi endpoints. Re: Maven + SoapUI ClassNotFoundException(com.microsoft.sqlserver.jdbc.SQLServerDriver) Hello All, I am also facing the issue while executing the ready API script file in VSTS release java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver error import groovy.sql.Sql def dbURL= "jdbc:sqlserver://servername:1433;databaseName=abcd" def dbUsername= "ffff" def dbPassword= "ffff!" def dbDriver= "com.microsoft.sqlserver.jdbc.SQLServerDriver" def db = Sql.newInstance(dbURL,dbUsername,dbPassword,dbDriver) def List1 =[] def index = 0 /**********************Select query*******************************/ def q1 = "select ITEM_ID, * from ITEM_PROPERTY" // interact with DB try{ //log.info(q1) //db.eachRow(q1){ //if(qa) //log.info "${it.ITEM_ID}" log.info("Database connection successful") //} }catch(InstantiationException e){ log.info "Some db error" log.info e.getMessage() }finally{ // close database connection db.close() } The script is working fine in tool. could someone please help.... Re: Nested loop in groovy to run the test case please let me know someone implemented same scenarios Nested loop in groovy to run the test case Hello All, I am having difficulty in using nested loops in groovy for running the below scenario: API call : http://[host]/variable1/varaible2 Test Data: Variable 1- V1 V2 V3 Variable 2- E1 E2 E3 E4 I need to call the API for all values in Variable 1 with all values in Variable 2. how can i do this in groovy script because this API call is another test case and I need to run the test case using groovy script testrunner method. Please help!! Re: Fail during startup after installing readyAPI i am also having the same issue on Ready API license. please assist. exit code for testrunner.bat in partial success of test cases If we want to run the test cases results as partially succeeded for the test cases where test execution completes with some pass and fail percentage. For example- Total test cases- 10 Total pass- 5 Total Fail- 5 So the percentage will be 50% pass, hence in this scenario I want to return the exit code as not failed but partially succeeded. Is this possible? Re: exit code for testrunner.bat If we want to run the test cases results as partially succeeded for the test cases where test execution completes with some pass and fail percentage. For example- Total test cases- 10 Total pass- 5 Total Fail- 5 So the percentage will be 50% pass, hence in this scenario I want to return the exit code as not failed but partially succeeded. Is this possible? Re: ERROR [errorlog] java.lang.Exception: Failed to load the project file using testrunner command line issue fixed. please ignore