ContributionsMost RecentMost LikesSolutionsWhat Framework does Ready API use? I know ReadyAPI uses Data-Driven but I haven't I haven't been able to find the exact answer on the Smartbear website Run Test Cases via Groovy Script Hi, I am wanting to run specific test steps within Groovy Script that will then correlate to my DataSource excel. In my datasource I have 3 fields that need to be called but they can't be run in the data source loop as it would run all 6 tests from the same test step. It could run 1-2 which would be fine. I didn't want to setup a new test case to point to DataSource start at A2, A4 etc. I would basically want 6 test steps and the groovy script calling TC001, TC002, TC003 etc in every loop. Let me know if anyone has any solution. MongoDB slow connection to DB Anyone faced any slow connection issues to MongoDB to create or validate data? Any tricks to speed up the connection as when I create data and then go to remove that data on the database it is so slow to go through the collections. Test Case Count Displayed via Master Excel Hi All. I am looking to produce a report from my test results. I currently have about 10 test suites with about 3 test cases (GET/POST/POST) in each one but also have more via the Data Driven Excel which could hold between 5-10 per test case with the Data Source Loop. Does anyone if there is a way to count how many test cases will be executed when running the project locally or via Jenkins? Is there a groovy script that can be used to calculate the total number of test cases that have been executed in the project? Thanks DELETE MESSAGE DELETE MESSAGE Delete Post Delete Post Re: Random String Generator for REST Request Ah... I think I may have confused you with example... I didn't want to do it through the Properties step as that would just be creating replacements for a specific field then referencing them in the Json Payload. eg: def firstName= generator( (('A'..'Z')+('a'..'z')).join(), 7 ) def lastName= generator( (('A'..'Z')+('a'..'z')).join(), 9) def addressLine = generator( (('A'..'Z')+('a'..'z')+('0'..'9')).join(), 20) If I have a 500 fields with "string" I don't want to have to define them all in a Groovy step! I was looking for an easy way to basically do a REPLACE ALL "string" with random data in the JSON payload Re: Random String Generator for REST Request Thanks. The fields posted successfully with "string" so could you please provide an example of replacing "string" for all with random data containing 6 letters. I know how to replace a Name/Address etc but that would be DataGen... I don't want to have to reference the properties from DataGen. For my example I would just need this.. "newBusinessRatingReferenceId": "arfyui", "offerOriginChannelEntCd": "wordte", "offerOriginSubChannelEntCd": "tyuugi", "originalOfferOriginChannelEntCd": "jjiiop", "originalOfferOriginSubChannelEntCd": "lopuil", "ratingReferenceId": "string", Random String Generator for REST Request Hi All, I was wondering if anyone could help with being able to create random data for a POST request that contains about 1000 lines of json. So it would just REPLACE "string" any time it is mentioned/displayed with random data... Part of Example below: "newBusinessRatingReferenceId": "string", "offerOriginChannelEntCd": "string", "offerOriginSubChannelEntCd": "string", "originalOfferOriginChannelEntCd": "string", "originalOfferOriginSubChannelEntCd": "string", "ratingReferenceId": "string", "schemaVersionNbr": "string", "sourceSystemEntCd": "string", "transactionEffDtTimeStr": "string", "transactionProcessedDtTimeStr": "string", "transactionSubEntCd": "string", "transactionTypeEntCd": "string", "transactionUserId": "string" Re: Generate Random Guid (5 digits) Yeah DataGen script step would actually work as well to create a random 5 digit number. I used Math.round(10000 + Math.random() * 90000);