Contributions
How to export SOAPUI test results from within a powershell script
Hi, I have written a powershell script which downloads the soapui at a folder ad extract the same. Then it will execute the testrunner.bat from the same file while taking project name as arguments. I have hardoced -r -a arguments in the script,now I want to export the testresults to a file/folder. How to get it done? Regards,1KViews0likes1CommentHow to pass arguments like -r -a for SOAPUI in VSTS task while integrating SOAPUI in the same.
Hi, I want to generate report from SOAPUI test using argument -r. I am trying to integrate the SOAPUI in VSTS task through a power shell script but I am not sure how to pass these arguments while executing soapui testcases. Does anyone knows about it.612Views0likes0CommentsError while executing testrunner.bat for SOAPUI
Hi, I am getting below error while executing the testrunner.bat through command line: PS C:\Users\Desktop\TESTSOAP\soapui\SoapUI-5.4.0\bin> .\testrunner.bat XYZ.xml .\testrunner.bat : java.lang.UnsupportedClassVersionError: com/eviware/soapui/tools/JfxrtLocator : Unsupported major.minor version 52.0 At line:1 char:1 + .\testrunner.bat XYZ.xml + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (java.lang.Unsup...or version 52.0:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482) Exception in thread "main" java.lang.UnsupportedClassVersionError: com/eviware/soapui/tools/SoapUITestCaseRunner : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) Can anyone please help on this.753Views0likes0CommentsInvoke-Tool error while executing powershell script
Hi, I am getting the below error while executing my powershell script to run SOAPUI task in VSTS, can anyone help: Invoke-Tool : The term 'Invoke-Tool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At D:\a\1\s\SOAPUI.ps1:59 char:1 Invoke-Tool -Path $soapUiExe -Arguments $args CategoryInfo : ObjectNotFound: (Invoke-Tool:String) [], CommandNotFoundException FullyQualifiedErrorId : CommandNotFoundException675Views0likes0CommentsRe: How can I schedule the tests to run automatically one a day
HiN78A, I have executed successfully through command line in SOAPUI. First you need to go to the below path: Program Files\SmartBear\SoapUI-5.4.0\bin Then from here you should execute the testrunner.bat command,see below example for reference: C:\Program Files\SmartBear\SoapUI-5.4.0\bin>testrunner.bat -sTESTSUITENAMEIFANYC:\XYX\XYZ\PROJECT.xml Give it a try,this worked for me.3.4KViews0likes6CommentsRe: How can I schedule the tests to run automatically one a day
HiN78A, You need to develop a script which can call soapui internally to process further. After going through your screenshots I can see that directly you are mentioning the testrunner.bat command to execute but it will not work unless until you have SOAPUI installed there. For testing purpose you can download soapui on your personal machine and then you can give the testrunner command from cmd line just to check. I am using a tool named VSTS(Visual Studio Team Services) which does this scheduling part through soapui. I can not say that its similar to Jenkins but Job scheduling can be done there also.8.9KViews0likes8Comments