UI Automated testing – Environment preparation

  • Install Chrome browser on node devices (or use headless browser)
  • Chromedriver installed on node devices (note the mapping between supported browser versions)

The module that reads the configuration file: ConfigParser

Docs.python.org/3/library/c…

www.cnblogs.com/plf-Jack/p/…

Appium Automated Testing – Environment ready

  • APP automation driver framework: Appium

Before running the Appium Server, start the Appium Server

  • Physical machine, or analog machine

Interface automation testing – Environment preparation

  • Install the Python library:pip install requests 

Interface pressure automation test – environment preparation

  • Jmeter must be installed on node devices

Related Scripts

Github.com/princeqjzh/…

Create Jenkins task

  • Create a new free style project

  • Fill in the description as required (optional)

  • Select the project run node

  • Configure Git: including the repository address, Git account, etc

  • Configuring build Commands

  • Specify the configuration file as a JSON file

Jmeter related

  • Add Groovy Postbuild to remove Jenkins’ restrictions on JS rendering
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
Copy the code

  • Adding a test Report