Locally I run it on Windows or Mac, not Linux. However, Jenkins work runs on Linux.
Environment details are as follows:
> Jenkins (running Linux on a virtual machine)
> Xvfb is used to simulate a browser (no display connected to the VM)
> Firefox 38
> Java 8
I’m not sure if Jenkins configuration or anything else will make it faster. Is it the VM that caused it? Everything works well, but this is the slowness that leads to inefficiency.
Any ideas for improving performance will be highly appreciated.
I am using the Firefox driver to run Selenium UI tests on Jenkins, compared to local execution, Their execution speed is very slow. Specifically, it is almost 4 times the time required to run locally. This is too inefficient.
Locally I run it on Windows or Mac, and Not Linux. However, Jenkins’ work runs on Linux.
The environment details are as follows:
> Jenkins (running Linux on a virtual machine)
> Xvfb is used for simulated browsing (No display connected to the VM)
> Firefox 38
> Java 8
I’m not sure if the Jenkins configuration or anything else will make it faster. Is it the VM that caused it ? Everything works well, but this is the slowness that leads to inefficiency.
Any ideas for improving performance will be highly appreciated.
< p>The problem is basically based on the disk IO of the Jenkins slave running the test. The local computer (Mac or Windows) is very fast and usually uses SSD as the disk type. Update the Jenkins slave to have better hardware resources and faster disk IO Something solves this problem.