SoapUI 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.1KViews0likes8CommentsReceiving JVM error in jenkins when using testrunner.bat
Team, We are doing Continuous Integration with Jenkins by using SoapUI NG TestRunner. Daily 50 plus jobs are running in it. At times, we could see the below error in the job log, ------------------------------------------------------------------------------- The process cannot access the file because it is being used by another process. C:\Users\...\AppData\Local\Temp\jfxrtpath The process cannot access the file because it is being used by another process. The process cannot access the file because it is being used by another process. C:\Users\...\AppData\Local\Temp\readyxmx The process cannot access the file because it is being used by another process. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Invalid maximum heap size: -Xmx Build step 'Execute Windows batch command' marked build as failure Recording test results readyapi.bat had -Xmx2048m. Not sure what caused this issue. We believe, it is not following any patterns , it occurs randomly for some jobs. Please suggest solution for this issue and let us know, if you need any further details.Solved4.8KViews0likes7CommentsHow 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.4KViews0likes7CommentsHealth-check for SOAP UI Pro in continuous integration with Jenkins
Hello, Most of tools dispose of “health check” routine that verify that everything is OK before starting the CI pipeline. So before executing the SoapUI tests in Jenkins I want to verify that : - TestRunner of ReadyAPI is available - Licences are available in sufficient quantity - Each component of the testing tool is ready to use Maybe it is very simple and I just have to run a blanc test, maybe the control is stricter and I can run some of health-check procedure. So the point is : - What are the best-practices you have observed in IC integration ? What is your advice ? - Does the health-check procedure exists and how to run it ? Thanks a lot :) Mohamed.Solved3.9KViews0likes19CommentsValue on Custom properties not incremented in the remote repository on the master branch
Hello, I use this groovy script to increment variable "increment" that i declared on Custom properties : // read the property as a string def uniqueUserPortion = testRunner.testCase.testSuite.project.getPropertyValue("increment") // convert it to an Integer, and increment def uniqueUserPortionInc = uniqueUserPortion.toInteger() + 1 // set the property back as string testRunner.testCase.testSuite.project.setPropertyValue("increment", uniqueUserPortionInc.toString()) // check return testRunner.testCase.testSuite.project.getPropertyValue("increment"); When I launch the script in my local branch, the variable 'increment' is successfully incremented, but when the Jenkins started to run the job automatically on the master branch, the value of the variable 'increment' doesn't change. So I supposed that the script could not be executed automatically on the master branch. the project on my local branch is the same that I have on the master branch Have you any ideas about that issue? Thank you in advance for your responseSolved3KViews0likes11CommentsReadyAPI Runner on Jenkins writes logs in the home directory how do I clean up?
We use a ReadyAPI Runner on our Jenkins slave and we have seen that the runner writes his own log for every Job that it running. The log is located in the <home directory>/.readyapi directory, where we have a reduced space to write something. After a while the node will be unusable because the logfiles will exceed the space available. In the documentation I did not find an option to specify not to write logs there or a different location. How can I tell the runner not to write logs or write them elsewhere? I'm running on linux, the used readyapi version is at 2.6.0 at the moment.Solved2.9KViews0likes7CommentsSoapUI Jenkins: how to use TestSuiteRunListener
Hi, I have a test pipeline running in Jenkins with a SoapUI node connected to it. I want to run a script (in a test suite, in a testcase) ONE time before I start running my testsuite (I have only one for now). I thought about using the Event TestRunListener.beforeRun, but that will run the script everytime a test case starts.Then I thought about using the TestSuiteRunListener.beforeRun. But that one gave the following exception: 08:59:45 08:59:45,811 ERROR [EventHandlersRequestFilter] com.eviware.soapui.support.scripting.ScriptException: Error in TestSuiteRunListener.beforeRun 08:59:45 08:59:45,817 ERROR [SoapUI] An error occurred [Error in TestSuiteRunListener.beforeRun], see error log for details 08:59:45 08:59:45,818 ERROR [errorlog] com.eviware.soapui.support.scripting.ScriptException: Error in TestSuiteRunListener.beforeRun 08:59:45 com.eviware.soapui.support.scripting.ScriptException: Error in TestSuiteRunListener.beforeRun 08:59:45 Caused by: groovy.lang.MissingPropertyException: No such property: testCase for class: com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner Apparently there is something wrong with the following code that I use: // Check if the test case is run from the command line if (com.eviware.soapui.SoapUI.isCommandLine()) { log.info "This code is executed by Command Line SoapUI" log.info "Now running setup scripts" def testCase = testRunner.testCase.testSuite.project.testSuites['testsuite'].testCases['testcase'] def testStep = testCase.getTestStepByName("teststep") testStep.run( testRunner, context ) } It doesn't recognize testCase for class: com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner used here: def testCase = testRunner.testCase.testSuite.project.testSuites['testsuite'].testCases['testcase'] So how do I script to have the testRunner run the testcase'Setup Project' in the testsuite 'tooling-general' using theestSuiteRunListener.beforeRun?Solved2.3KViews0likes3CommentsCan we trigger a jenkins job thru ready api
Hi All, I am trying to automate a process in my present project, i have two questions related to it. 1) can I trigger a Jenkins job using ready api? 2) If the answer to my 1st question is Yes, then this jenkins job does a spark submit and run an etl job on hadoop cluster and presently I do a manual check on job status (accept, running, finished) on hadoop by passing a parameter which I used while triggering the jenkins job, So, my second question is can I make calls to the hadoop cluster to check the job status (as this job takes times around 5 to 10 mins to complete can I make recurring calls until the status changes to finished).1.7KViews0likes5CommentsFail to Run SoapUI Testrunner from Jenkins: ERROR [SoapUIProTestCaseRunner] java.lang.Exception: Fai
Trying to run my tests in Jenkins. Tests run from GUI and from Windows command line (I've copied testrunner command from interface): However, when I run the same batch command from Jenkins, I'm getting: Test #14 Console [Jenkins] ERROR [SoapUIProTestCaseRunner] java.lang.Exception: Failed to load the project file Any ideas how to fix it?1.7KViews0likes1CommentNeed help to setup Jenkins job using project from Git
Hi All. I have a composite project in GITHUB. I installed the ReadyAPI in jenkins server. Now I want to run readyAPI test cases from Jenkins jobs. which has to pick the project from github. How can I achieve this? I'm strugging to find the information. Anyhelp would be appreciated .Solved1.7KViews0likes1Comment