Contributions
Re: ReadyAPI 3.8.0 error on report generation from Jenkins job run
Below is the Windows Batch Script which I call to run the READY API tests :- REM ReadyAPI Tester Version 1.18 11/28/2016 @setlocal enableextensions enabledelayedexpansion Echo OFF set RepositoryFolder=%1 set ProjectFolder=%2 set SoapUIDir=%3 set TestCase=%4 set Environment=%5 set ExitCode=%6 echo Running ReadyAPI with the following variables: echo RepositoryFolder=%RepositoryFolder% echo ProjectFolder=%ProjectFolder% echo SoapUIDir=%SoapUIDir% echo TestCase=%TestCase% echo Environment=%Environment% echo ExitCode=%ExitCode% SET SoapUIProject=%RepositoryFolder%\%ProjectFolder% cd /d "%SoapUIDir%" if not x%TestCase:testcase:=%==x%TestCase% set cmdString=-c %TestCase:testcase:=% if not x%TestCase:testsuite:=%==x%TestCase% set cmdString=-s %TestCase:testsuite:=% if [%Environment%]==[] set cmdString=%cmdString% -E "%Environment%" cmd.exe /C CALL testrunner.bat -j -a -r -f "%WORKSPACE%" -R "Status" ^ -Djenkins.build.number=%BUILD_NUMBER% -Djenkins.job.name="%JOB_NAME%" -Dreadyapi.environment="%Environment%" "%SoapUIProject%" %cmdString% if Defined ExitCode exit /b %ExitCode%3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes1CommentReadyAPI 3.8.0 error on report generation from Jenkins job run
ExitCode= OpenJDK 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release. Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\soapui-log4j.xml] 11:22:26,512 INFO [license] ReadyAPI 3.8.0 (build 7077) started - System properties: {OS=Windows 7, User name=xformer} 11:22:26,662 INFO [DefaultSoapUICore] ReadyAPI settings were initialized from [C:\Users\xformer\.readyapi\readyapi-settings.xml] 11:22:26,694 INFO [SoapUIExtensionClassLoader] "C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\ext\mysql-connector-java-5.1.46-bin.jar" has been added to the classpath. 11:22:26,695 INFO [SoapUIExtensionClassLoader] "C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\ext\mysql-connector-java-5.1.46.jar" has been added to the classpath. 11:22:26,695 INFO [SoapUIExtensionClassLoader] "C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\ext\ojdbc14.jar" has been added to the classpath. 11:22:26,695 INFO [SoapUIExtensionClassLoader] "C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\ext\ojdbc6.jar" has been added to the classpath. 11:22:26,696 INFO [SoapUIExtensionClassLoader] "C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\ext\postgresql-9.3-1102.jdbc41.jar" has been added to the classpath. 11:22:26,696 INFO [SoapUIExtensionClassLoader] "C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\ext\sqljdbc42.jar" has been added to the classpath. 11:22:26,696 WARN [SoapUIExtensionClassLoader] The path to the custom library is not specified. 11:22:26,814 INFO [DefaultSoapUICore] 5 JDBC drivers have been registered from the directory bin/ext: [com.mysql.jdbc.Driver, com.mysql.fabric.jdbc.FabricMySQLDriver, oracle.jdbc.OracleDriver, org.postgresql.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver]. 11:22:27,501 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\listeners\demo-listeners.xml] 11:22:28,010 ERROR [SoapUIProTestCaseRunner] Unable to generate Status. Please check ReadyAPI report generation options. Archiving artifacts ‘report.xml’ doesn’t match anything No artifacts found that match the file pattern "report.xml". Configuration error? Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. Finished: SUCCESS Though I am providing the custom path but still it keeps complaining about it. Path is mentioned below :- C:\Program Files\SmartBear\ReadyAPI-3.8.0\bin\reports\reportsSolved1.6KViews0likes3Comments