A SmartBear plugin used to run ReadyAPI functional tests from Jenkins builds.
- The project you want to run must be saved in ReadyAPI version 2.1.0 or later.
- The Jenkins node where you want to run your test must have ReadyAPI installed with an activated ReadyAPI Test license. You can install and activate the license from a Jenkins build. To learn how to do that, see ReadyAPI documentation.
Make sure you run Jenkins under the same user account you used to activate the ReadyAPI Test license. Otherwise, you will get the "License not found" error. To learn how to fix this issue, see ReadyAPI documentation.
The build step has the following settings:
- Path to testrunner - Specifies the fully-qualified path to the runner file (testrunner.bat or testrunner.sh). By default, you can find it in the /bin directory.
- Path to ReadyAPI project - Specifies the fully-qualified path to the ReadyAPI project you want to run.
- Test Suite - Specifies the test suite to run. To run all the test suites of your project, leave the field blank.
- Test Case - Specifies the test case to run. If you leave the field blank, the runner will execute all the test cases of the specified test suite, or, if you have not specified a test suite, all the test cases of your project.
- Test Suite Tags and Test Case Tags - Specify which tags must contain the test suite or test case to be run. To create complex conditions, use the
&&(logical AND) and
!(logical NOT) operators.
- Project Password - Specifies the encryption password, if you encrypted the entire project or some of its custom properties.
- Environment - Specifies the environment configuration for the test run.
After the build is over, the plugin creates the following reports:
- A printable PDF report, which is published to Jenkins. To view it, open the build page you are interested in and select ReadyAPI Test Results on the left. Also, the link to the report is available at the end of the Console Output log.
- A JUnit-Style HTML report, which is available in the Jenkins workspace directory.
- A JUnit report, which is published to Jenkins. To view it, open the build page you are interested in and select Test Results on the left.
You can find more information on how to use the plugin in ReadyAPI documentation.
- New feature: Added the possibility to use EnvVars for TestRunner and project file paths.
- Fixed: Project execution sometimes hung on a slave machine.
- Fixed: The test case report could not be generated when a single test case was run.
- Fixed: A security vulnerability in project password storage.
If you update to version 1.4, to ensure the security of your passwords, you need to do the following for all the jobs that use the plugin:
- Select a job and click Configure.
- Save the configuration without making any changes by clicking Save or Apply.
- Fixed: In some cases, a job with a composite project could not be run.
- New feature: Support for tags.
- New feature: A printable PDF report is now published to Jenkins.
- Fixed: When a test failed, the build was not marked as failed.
- Fixed: JUnit reports were not published if the build was run on a slave computer.
- Fixed: The optional fields were required in the Blue Ocean UI.
- Initial release.