Contributions
Re: Groovy Scripting- TestRunner Property
PrathapR There are several columns in the datasource. Somehow what ever i do the value is nt getting reset to empty instead value fetched first time is always being fed to susbsequent request.4 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes1CommentGroovy Scripting- TestRunner Property
I am reading column value from data source(.csv) and using string split function to capture a sub string value. This substring value is stored in a property using : testRunner.testCase.setPropertyValue("card_number", cardNum) and then is passed to the request using${#TestCase#card_number} It works fine when there is only 1 loop in the test case. However in mine there are multiple test rows being run in loop and the property value is not getting reset instead value read first time from the property is being passed on to requests in subsequent loops. I triedtestRunner.testCase.setPropertyValue("card_number",null ) as well astestRunner.testCase.setPropertyValue("card_number","" ) but no luck..Need help from experts. richieChrisAPrathapRSolved4 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes5Comments- 4 years agoPlace ReadyAPI QuestionsReadyAPI Questions912Views0likes1Comment
ReadyAPI execution based on Tags
In my datasource i have created a column (testType) with values : Smoke and Regression where the value signifies if i want the row to be treated as Regression eligible scenario or smoke eligible.I want to be able to execute the scriptsfrom Jenkins using one of the testType value . My pipeline using jenkinsFile. Anyone has implemented such a feature or any suggestions?Solved4 years agoPlace ReadyAPI QuestionsReadyAPI Questions981Views0likes3CommentsTag in Datasource
I have a data source [.csv] with multiple records. I want to be able to make use of tags or other means to filter the data source based on certain criteria and have the Jenkins pick up only the resultant data source list for execution. How do we achieve this? ISolved1.3KViews0likes5Comments