Demonstrates the capabilities of the SmartMeter.io Smart proxy recorder. It contains Selenium WebDriver test enhanced with requests to Smart proxy recorder.
- Clone this repository.
- Download and install SmartMeter.io.
- Copy all files from smartmeter/tests folder from this repo into tests folder in installed SmartMeter.io.
- Run SmartMeter.io and open scenario academy-recorder.jmx.
- Start Smart proxy recorder.
- Run tests in this Java project using Maven or your preferred IDE.
You should see updated tests/academy-from-selenium.jmx scenario in installed SmartMeter.io.
Showcase was prepared for SmartMeter.io 1.2.0 version.
Java tests runs Selenium WebDriver 2.53.1 version which is compatible with Firefox 47. Do not use Selenium WebDriver 3.0.1 as it controls Firefox with geckodriver and its latest version has issues with setting the proxy.
If you have a newer version of Firefox than 47 (probably yes), then please install second Firefox. For Mac OS X or Linux download and install additional Firefox binary from official releases. For Windows download and install portable Firefox provided by PortableApps.com. Then you need set JVM system property webdriver.firefox.bin and point it to installed binary.