ContributionsMost RecentMost LikesSolutionsRe: Iterating through Data source values and verifying the matched value Hi mu123 , would you mind sharing your final script? I am trying a similar implementation and I haven't figured out how to advance the data source to the next line. I am not able to make the data source to go to the next line. It always prints the same value. I am not if it's because my Data Source is in another Test Suite??. This is my code: def tStep = testRunner.testCase.testSuite.project.testSuites["Innitialization"].testCases["Test Data Setup"].getTestStepByName("Data Source for Registration") def data = tStep.getDataSource() //run the datasource test step data.prepare(testRunner,context,data.getPreparedProperties() ) tStep.run(testRunner,context) //loop through the datasource to find number of rows def cnt = 1 while(data.isExhausted() == false) { data.next(testRunner,context,data.getPreparedProperties() ) def MIP = context.expand( '${#[Innitialization#Test Data Setup#Data Source for Registration]#MIP}' ) def IS_CMA_ACCOUNT_CREATED = context.expand( '${#[Innitialization#Test Data Setup#Data Source for Registration]#IS_CMA_ACCOUNT_CREATED}' ) def mobileNumber = context.expand( '${#[Innitialization#Test Data Setup#Data Source for Registration]#mobileNumber}' ) log.info("MIP: " + MIP) log.info("IS_CMA_ACCOUNT_CREATED: " + IS_CMA_ACCOUNT_CREATED) log.info("mobileNumber: " + mobileNumber) cnt++ } log.info("Number of rows in the datasource is: " + cnt) Not able to call an Oracle Procedure and perform a SQL statement right after I need to interact with a table which is under a Oracle VPD policy(Virtual Private Database), so I need to run a Procedure first, which runs fine from JDBC Test Step. I am calling like: {call dbms_application_info.set_client_info('SYSTEM_DDL')} But I need to run a SQL Statement right after this: SELECT count (1) FROM CLIENTSERVICESSCHEMA.Account So the whole code is: {call dbms_application_info.set_client_info('SYSTEM_DDL')} SELECT count (1) FROM CLIENTSERVICESSCHEMA.Account I am getting the following error: 2022-09-09 12:35:32.156 - Error getting response; java.sql.SQLException: ORA-06550: line 3, column 1: PLS-00103: Encountered the symbol "SELECT" ORA-06550: line 5, column 0: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: . , @ ; for <an identifier> <a double-quoted delimited-identifier> group having intersect minus order partition start subpartition union where connect sample Having the call to the procedure in one test step and then the Select statement in another test step does not work. I've tried so many things, I ran out of ideas. Does anyone have any idea how to do this? Thank you! Query doesn't return records in JDBC Test Step, but works fine in Oracle SQl Editor Hi, I am trying to run this query in JDBC Test Step: SELECT ACCOUNT.ID FROM PERSON JOIN CLIENT on PERSON.ID = client.person_id JOIN CLIENTACCOUNTMAP on client.id = CLIENTACCOUNTMAP.CLIENT_ID JOIN ACCOUNT on ACCOUNT.id = clientaccountmap.account_id WHERE mobilephone = '0468 600 391' But t doesn't return any record. But when I run from Oracle directly, records are returned just fine: Does anyone have any idea? Thanks Re: While trying to import JSON/XML file in data source, it throws "Unsupported file format" The problem is that I was never able to import any json file, simple or complex, it always gives me the same error. So I pasted a simple structure to show that even that it doesn't work. Re: While trying to import JSON/XML file in data source, it throws "Unsupported file format" This is the content: { "scenario" : "Negative", "username": "wrongUsername", "name": "Blah" } Re: While trying to import JSON/XML file in data source, it throws "Unsupported file format" I am having the same issue. Does anyone know any workaround to solve this?