Documente Academic
Documente Profesional
Documente Cultură
Installing Jenkins
First, you need to start Jenkins before installing it. This can be done from JNLP, or by
running "java -jar jenkins.war".
8. In the Tests box, enter a test with its full absolute path, or a folder or MTB
containing one or more tests or LoadRunner scenarios. To specify multiple entries,
click the down arrow on the right of the field and enter each test path on a separate
line. Make sure that the paths are accessible from all machines in the local network.
For functional tests (UFT), you can also indicate a batch file that contains a list of
tests, along with their parameters. You can specify multiple tests, or the same test
several times with different parameters. Note that you can use Jenkins environment
variables in the path names. The batch file should have an .mtbx extension and
follow this sample syntax.
<Mtbx>
1. Optionally, indicate a timeout in seconds after which the job will fail in
the Timeout box.
2. Click Apply to save your changes and continue with more build steps.
Click Save when you are finished adding build steps.
1. In the Post-build Actions section, expand the Add post-build action drop-
down and select Publish HP test result.
2. Select an archiving option for the test run results:
* Archive test run results for failed tests - save test results for failed tests only
* Always archive test run results - always save test result reports
* Do not archive test run results - never save the test results
Run the job
1. Run or schedule the job as you would with any standard Jenkins job.
In functional tests, the extracted zip file contains the result files, viewable in the Run
Results Viewer. To view the results:
1. Open the Run Results Viewer and select File > Open.
2. In the Open dialog box, select Results XML file and navigate to
the Results.xml file in the folder that you extracted.
3. Click Open and view the results.
2. Click the link “Manage Jenkins” -> “Manage Plugins”, then click
“Advanced” tab.
3. Click on the Install checkbox and click on the “Download Now and
Install After Restart“ button.
Config Jenkins
Set up a job
1. Click on the “Jenkins“ –> “New Item“ menu option.
2. Enter a Job Name as “UFT Integration Test” and click on the ”Free Style
Project”.
1. Configuration Screen will Open. Select Build Tab and click on the “Add
build step“ and Select “Execute HPE tests from file system“ option.
Enter the required details in the next screen about the UFT test
Run Job
Open Your Jenkins Project and click on “Build Now” options from the left
Check Result
You will see the job links in the Build history Section as above. Click on the link
and select Console Output.