ShikharSaxenaOccasional ContributorJoined 9 years ago8 Posts1 LikeLikes received1 SolutionView All Badges
ContributionsMost RecentMost LikesSolutionshow to implement JsonPath expression using groovy script Hi All, Is there any way we can implement JsonPath expression using groovy script ? thanks Re: Couch-Base Driver for Ready API(JDBC request) HI Msiadak, Thanks for the reply, But driver on "http://cdn.simba.com/products/Couchbase/doc/JDBC_InstallGuide/content/jdbc/intro.htm" is paid one and free one is only last for 30 days, I am looking for free driver that I can integrate with Ready Api. Is there any link/site where I can find the free driver and get this done. Again thanks for helping me! Shikhar Couch-Base Driver for Ready API(JDBC request) Is there any way to connect Couch-base and pull the data using JDBC request ? If yes please guide me. Thanks in advance !!! Shikhar Not Getting Full Content(Details) in exported security report .(Using groovy script) HI All , Need your help!! when ever I am exporting report using groovy script getting only limited content in exported report, below is my code. import com.eviware.soapui.reporting.ReportEngineRegistry import com.eviware.soapui.reporting.reports.testcase.* import com.eviware.soapui.reporting.reports.security.* import com.eviware.soapui.security.result.SecurityScanResult; def tc = testRunner.testCase def st = tc.getSecurityTestList() def report = new SecurityTestCaseReport(st[0]) // st[0] is the security test case def AvailableReports = ReportEngineRegistry.getAvailableReports(report) AvailableReports[0].generate( report.getModelItem().getSettings(), (String[])[ "PDF" ], "C:\\Reports") AvailableReports[0].release() But when I used the GUI export from Soapui Tool itself (click on report icon) , got the full detail report. request you to please help me getting full detail / content report using groovy script. Attached both report. Note: Using SOAPUI PRO 4.5.1 Regards Shikhar Re: create PDF report with groovy HI Rao, Problem got resolve after including below class import com.eviware.soapui.reporting.reports.security.* Thanks for your help cheers Shikhar Re: create PDF report with groovy HI Rao, Thanks for prompt reply , but I am executing above code in groovy test step. Also when we use def report = new WsdlTestCaseReport(context.testCase) its execute without any error . but unfortunately not for def report = new SecurityTestCaseReport(st[0]) Note : I am using Pro version unable to resolve class SecurityTestCaseReport HI All, While Creating PDF Security report using Groovy script , encounter unable to resolve class error below is my code import com.eviware.soapui.reporting.ReportEngineRegistry import com.eviware.soapui.reporting.reports.testcase.* def tc = testRunner.testCase def st = tc.getSecurityTestList() def report = new SecurityTestCaseReport(st[0]) def AvailableReports = ReportEngineRegistry.getAvailableReports( report )// get list of all reports for test case log.info "reports"+AvailableReports But While executing above code getting below exception org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script4.groovy: 8: unable to resolve class SecurityTestCaseReport @ line 8, column 14. def report = new SecurityTestCaseReport(st[0]) ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class SecurityTestCaseReport @ line 8, column 14. at org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:148) at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:229) at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:239) at org.codehaus.groovy.control.ResolveVisitor.transformConstructorCallExpression(ResolveVisitor.java:1069) at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:754) at org.codehaus.groovy.control.ResolveVisitor.transformDeclarationExpression(ResolveVisitor.java:1110) Please let me know which import statement or jar I need to use here to resolve the exception. Thanks In advance Shikhar saxena Re: create PDF report with groovy Hi guys, I know its off topic now but need help on above topic ,While trying this I am getting below exception org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script4.groovy: 8: unable to resolve class SecurityTestCaseReport @ line 8, column 14. def report = new SecurityTestCaseReport(st[0]) ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class SecurityTestCaseReport @ line 8, column 14. at org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:148) at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:229) at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:239) at org.codehaus.groovy.control.ResolveVisitor.transformConstructorCallExpression(ResolveVisitor.java:1069) at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:754) at org.codehaus.groovy.control.ResolveVisitor.transformDeclarationExpression(ResolveVisitor.java:1110) at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:746) at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:139) at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:165) at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1337) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:101) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:112) at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitConstructorOrMethod(ClassCodeExpressionTransformer.java:50) at org.codehaus.groovy.control.ResolveVisitor.visitConstructorOrMethod(ResolveVisitor.java:173) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:123) at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1056) Request to please tell me which jar or import statement required to resolve this problem