Can I pass the floating license as an Maven Argument??
Can I pass the floating license as an Maven Argument?? Executing Maven: -B -f /apps/jenkins-agent/workspace...../pom.xml clean test -e -DSuiteName=ITRN3-SmokeTest-Cycle1 -e LICENSE_SERVER=xx.xx.xxx.xxx:xxxx did not workSolved1.2KViews0likes1CommentHow can I include dependencies from an external jar file into a groovy script test step
Hello Community, I am using the ready-api maven plugin. I have my dependency in the pom.xml. The depedency is being downloaded. My question is how can I use the classes in this jar file in a groovy test step. I have tried using an import statement, but the script does not know where to locate the jar. As a side note, we do not have admin rights on our local machines so I cannot install the jar file to the soapUi install directory. So, I need a way to tell SoapUi how to find the Jar file. I pulled my code out into intelliJ and it works, but I cannot get it to work inside of soapUi.Solved3.7KViews0likes5CommentsSuppressing info logging when using a maven plugin
Hello, I am using the ready-api maven plugin to run tests. I have a composite project. I am trying to supress the logging and output file creation because it is filling up the filesystem on our jenkins build slave. <logger name="com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner" level="warn" additivity="false"> <appender-ref ref="STDOUT"/> </logger> Here is what I have tried, none of which seems to supress the info logging: - logback.xml in src/main/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner - logback.xml in src/test/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner - soapui-log4j.xml in src/main/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner - soapui-log4j.xml in src/test/java/resources <- set the log level to warn for the SoapUIProTestCaseRunner I am wondering why the project is not picking up the logging level when I build it. We do not have the acess to SOAP_UI home directory to install the logging configuration there. So, that is not an option for us.Solved4.3KViews0likes9CommentsReady api maven plugin - how to execute all suites in a composite project
I am trying to run all of the test suites in my ready-api project using the maven plugin. If I do not specify a test suite directly, I get the following stack trace. java.lang.ClassNotFoundException: com.sun.jdi.request.EventRequest at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.eviware.soapui.tools.DebugSupport.<clinit>(DebugSupport.java:19) at com.eviware.soapui.impl.wsdl.teststeps.registry.GroovyScriptStepFactory.buildTestStep(GroovyScriptStepFactory.java:38) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.createTestStepFromConfig(WsdlTestCase.java:390) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.<init>(WsdlTestCase.java:162) at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.<init>(WsdlTestCasePro.java:64) at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.buildTestCase(WsdlTestSuitePro.java:85) at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.buildTestCase(WsdlTestSuitePro.java:1) at com.eviware.soapui.impl.wsdl.WsdlTestSuite.<init>(WsdlTestSuite.java:115) at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.<init>(WsdlTestSuitePro.java:48) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.buildTestSuite(WsdlProjectPro.java:1146) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:416) at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:284) at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:263) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:193) at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:112) at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1) at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:385) at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:325) at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:97) at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:264) at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:152)Solved2.8KViews0likes7CommentsReadyApi maven plugin tips
I was sent this awesome link on maven builds and wanted to share: What I did was use ReadyApi to create a sample composite project and then crafted a pom file for it similar to the one in this example. I have attached the zip file, if you want to download it and play with it. https://support.smartbear.com/readyapi/docs/integrations/maven/example.html Maven tips in general. https://support.smartbear.com/readyapi/docs/integrations/maven/index.html985Views2likes1CommentExecuting ReadyAPi multiple testSuite within a project with maven and Jenkins?
Hi , I have a Ready API's [Soap UI Pro] project configuredthrough maven to run on jenkins now the issue i can execute either a testSuite or entire project So is there any way for executing multiple testSuite through maven ? <testSuite>${testSuite}</testSuite> Regards, Raviraj.Solved2.5KViews0likes3CommentsReadyAPI Maven plugin and proxy setup
Hi, I try to configurethe readyAPI maven plugin in order for my tests to use my corporate proxy when sending queries. No issue with the UI by using the Preferences/Proxy menu. But I would like to do the same with the maven plugin. I tried to setup some properties by using the readyApiProperties elements in the plugin configuration but without success. Is there a way to do this? Please note thatI am using the maven plugin on a linux machine in headless mode so do not have access to any UI. Thanks for your help William693Views0likes0CommentsHow to get reporting at test step level instead of test case level what surefire currently provides
I am running my test via jenkins and i have surefire plugin which generates xml reports in my workspace. But this report has run status of all test suites and all test cases. Each test case will have failed test step information too. I want a way by which i can have run status of each test step whether failed or passed. Can some one help here if we can do this with surefire plugin or with some other way/plugin. Thanks a lot.4.4KViews0likes7CommentsHow to set SoapUI project properties via Maven command line
I have a few project properies in SoapUI project. I also have those project properties overriddenin Maven pom.xml, for eg. ... <projectProperties> <value>propname1=propvalue1</value> <value>propname2=propvalue2</value> ... <value>propname9=propvalue9</value> </projectProperties> When running from command line using maven, SoapUI property values are overridden by the ones in Maven pom.xml, as expected. I need to run SoapUI from command line using Maven but needto use the properties specified in SoapUI project, not Maven. Is there any way to specify these properties in Maven command line? If not, is there any other solution? Versions: SoapUI Pro 5.1.2 maven-soapui-pro-plugin 4.5.1 I also found a related post (http://forum.soapui.org/viewtopic.php?t=20839) and tried to use the flag -Dsoapui.projectProperties but have not been successful. Since exact syntax is not specified in the post, I tried many variationsFor eg: - -Dsoapui.projectProperties.propname1.value="propvalue1" -Dsoapui.projectProperties.proname1="propvalue1"7.7KViews0likes3CommentsSoapUI NG Pro integration with Jenkins?
Ok, so I'm facing a SNI problem: opensource SoapUI 5.2.1 refuses to sendExtension server_name in the SSL handshake and as a result I getSSLHandshakeException. I did a bit of digging and opensource SoapUI 5.2.2 might have a fix for SNI - but I just can't find it at the official com.smartbear.soapui Maven repository, opensource SoapUI v5.2.2 is there at the github though but I can't seem to build it... SO with all that unnecessary hassleI've decided to give SoapUI NG Pro a go: but I don't get it how do I integrate your new fancy SoapUI NG Pro with Jenkins? Apart from shiny advertisement and happy-happy sales pitches I could find almost 0 information on actual Jenkins integration! Oh, I did find "Ready-API-jenkins-plugin" and that didn't work - did it mean to? According to that plugin description it's meant to run mockups and not SoapUI tests ?!! PS ...All I really need is a version of SoapUI which supports SNI (sends Extension server_name in the SSL handshake) and has a well documented (not well advertised) way of integrating with JenkinsSolved6.1KViews0likes8Comments