Contributions
Need help to modularizing tests using soapui pro
I have couple of test follows a similar pattern as below and I am trying to modularize these tests: Send RQ to create table Get table number and pass it is JDBC Datasoure to get the data fields for that table Validation script in groovy to validate RQ/RS data with the data fields in the db tables The way I am trying to accomplish as below TestCase1: Send RQ to create table, capture table number and store it as custom property of the test as S_table_no Run TestCase CommunVal CommonVal Groovy script to the get the table number from source testcase (in this example TestCase1) using below def tbl_no = testRunner.testCase.getPropertyValue("S_table_no") testRunner.testCase.SetPropertyValue("Table_No", tbl_no) DataSource step to get the for the table using tbl_no Validation script to validate source test RQ/RS and data fields for the table created in the source test case1 This is my current flow. I am not able to pass table number to the CommonVal using Run TestCase step. Appreciate any help or suggestion on this…..7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes1Comment