ContributionsMost RecentMost LikesSolutionsDev and TST env Hi All, I have two end-points for TST and DEV environments separately with different API key. https://api.xxxx.tst.xxxxxx.com/school/student-mapper : 123xxxAPIKEYxxxKey (Variable Name - apiurl="", apikey="") https://api.xxxx.dev.xxxxxx.com/school/student-mapper : 777xxxAPIKEYxxxKey (Variable Name - apiurl="", apikey="") What is the best way to configure this in ReadyAPI in the environment variable section (with same variable name in dev/tst) and when we switch the environment - test case should work fine. SolvedSonarQube Integration with ReadyAPI Hi Team, Please provide step by step approach to integrate sonarqube with readyapi. Or do we have any alternative approach within ReadyAPI to do the code quality check for groovy scripting. Thanks! SolvedRe: 5000 payloads with different combinations - ReadyAPI Hi - End point will be same for all the payloads. Re: 5000 payloads with different combinations - ReadyAPI I am not checking on the performance of the API. Wanted to understand if there is any performance issue with ReadyAPI considering endpoint will be same for all payloads. 5000 payloads with different combinations - ReadyAPI Hi Team, Please advise will there be any performance issues, if I process 5k payloads with different combinations and permutations (production like data), using ready API. Scenario: 1. 5k + payloads will be stored external to ReadyAPI - XML type 2. one payload size (2k + lines) - XML Type 3. Response - 1.5k + lines; (JSON Response) 4. Payloads will be picked one after another; (Production type data) 5. Validate only 5 fields in the response Expectation: Validate if the output from the new system, as per the old system. Note: This is functional testing. So, this task not related to validating the load; SolvedBest Practices using ReadyAPI Please share some of the best practices using ReadyAPI based on your experience with this tool. SolvedRe: ExtenrtReport for ReadyAPI v3.x Thanks Himanshu for the help! I did few more modification in the script and made it dynamic. Step1: Only below imports needed Step2: Add TestReport property at project level: ${projectDir}/TestReport; This location all extents reports will be stored Step3: keep this code at suite level Run it; import java.io.File; import java.util.Date; import com.aventstack.extentreports.ExtentReports; import com.aventstack.extentreports.ExtentTest; import com.aventstack.extentreports.Status; import com.aventstack.extentreports.reporter.ExtentHtmlReporter; import com.aventstack.extentreports.reporter.configuration.Protocol; import com.aventstack.extentreports.reporter.configuration.Theme; log.info "start" ExtentReports extent; ExtentTest extentTest; def testReport = context.expand( '${#Project#TestReport}' ) assert !testReport.equals(''), 'TestReport location not found' log.info "testReport: "+testReport if (extent == null) { //ExtentReport file name Date d=new Date(); String fileName=d.toString().replace(":", "_").replace(" ", "_")+".html"; //String folderName="C:\\reports\\"; File folderPath=new File(testReport); if(!folderPath.exists()) { log.info "Directory created" folderPath.mkdir(); } else log.info "Directory already exists" String htmlFilePath=testReport+'/'+fileName; log.info 'HTML File Path' + htmlFilePath ExtentHtmlReporter htmlReporter=new ExtentHtmlReporter(htmlFilePath); extent=new ExtentReports(); extent.attachReporter(htmlReporter); htmlReporter.config().setCSS("css-string"); htmlReporter.config().setDocumentTitle("Automation Execution Report"); htmlReporter.config().setReportName("Test Automation Report"); htmlReporter.config().setEncoding("utf-8"); htmlReporter.config().setJS("js-string"); htmlReporter.config().setProtocol(Protocol.HTTPS); htmlReporter.config().setReportName("build name"); htmlReporter.config().setTheme(Theme.STANDARD); htmlReporter.config().setTimeStampFormat("MMM dd, yyyy HH:mm:ss"); } for ( testCaseResult in runner.results ) { // Getting all test cases’ names from the suite. testCaseName = testCaseResult.getTestCase().name extentTest = extent.createTest(testCaseName); // Checking whether the case has PASSED. if ( testCaseResult.getStatus().toString() == 'PASS' ) { // Logging passed cases and test steps’ resulting messages. extentTest.log(Status.PASS, testCaseName); log.info "$testCaseName has passed" for ( testStepResult in testCaseResult.getResults() ) { testStepResult.messages.each() { msg -> log.info msg extentTest.log(Status.INFO, msg); } } } // Checking whether the case has failed. if ( testCaseResult.getStatus().toString() == 'FAIL' ) { // Logging failed cases and test steps’ resulting messages. log.info "$testCaseName has failed" extentTest.log(Status.FAIL, testCaseName); for (testStepResult in testCaseResult.getResults() ) { testStepResult.messages.each() { msg -> log.info msg extentTest.log(Status.INFO, msg); } } } } extent.flush(); ExtenrtReport for ReadyAPI v3.x Please help me to integrate extentreport with ReadyAPI v3.x. Solved