Power Test Cloud/Bench
UP TO DAE
How to launch benchmarks or functional tests with the Power Test Cloud/Bench?
You can create a job 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 Benchmark on the left-hand menu.
Then, fill the form. In particular, you need to select (or create) an application and a version in which the measures will be stored. You also need to select whether you want to test a mobile application (APK) or a website (URL).
When you validate the form, a job is created and added to the queue before being processed by the Power Test Cloud/Bench.
Command Line Interface (CLI)
You can use GREENSPECTOR Command Line Interface (see CLI reference guide for more details).
Continuous Integration
You can user the Power Test Cloud/Bench in your continuous integration, either with the GREENSPECTOR CLI (see above) or with the GREENSPECTOR Jenkins Plugin (see /wiki/spaces/DOCUMENTATION/pages/43909140 for more details).
How to consult the results?
On your GREENSPECTOR Web Interface, you can click on Tests tracking on the left-hand menu.
In this screen, you can follow up the progress of your tests. In this version, you have to refresh the page manually with the refresh button at the top right.
When the job is finished, you can see in the table Finished if the job was correctly executed or if there was a failure.
In case of a failure, you can see the reason by flying over the exclamation mark. If the job is finished, you can also see the number of passed functional tests in the column Tests Passed and click to see the details and the potential errors in the Test Results tab.
You can also directly access the dashboard of your application by clicking on the magnifying glass button.