UP TO DAE
How to launch benchmarks or functional tests with the Power Test Bench/Cloud?
You can create a job demand to be handled by the Power Test Bench/Cloud. There are three ways to do that.
Web Interface
On your GREENSPECTOR Web Interface, you can click on the left menu on 'Schedule a Test'. Then fill the form. In particular, you need to select or create an application and a version for which the measures will be stored. You can then select if you want to test on a computer or on a mobile phone by selecting the environment. If you want to test on mobile phone, you need to select if you want to test a mobile app (APK) or a website (URL). When you validate the form, a job is created and put in a queue to be handled by the Power Test Bench/Cloud.
Command Line Interface (CLI)
You can use the CLI command (seeĀ CLI documentation).
Continuous Integration (Jenkins)
You can use the Jenkins plugin (see /wiki/spaces/DOCUMENTATION/pages/43909140).
How to consult the results?
On your GREENSPECTOR Web Interface, you can click Schedule a Test
in the left menu and then on the Jobs
Tab. In this screen, you can follow the state of your job demand. In this version, you have to refresh manually the state of the screen with the refresh button on the top right above the tables. When the job has been handled, you can see if the job has successfully finished or failed in the table Finished
. In case of a failure, you can see the reason by flying over the exclamation mark. If the job is finished, you can see the number of functional tests passed on column Tests Passed
and click to see the details and the potential errors in the Tests Results
screen. You can also directly access the dashboard of your application by clicking the magnifying glass button.
Related articles