Jenkins integrates Apifox automated interface testing tool
1. Open the Jenkins plugin management and find the NodeJS plugin, install and restart
2. Go to the Jenkins server to install nodejs and npm and apifox-cli packages
yum -y install nodejs npm
npm install -g apifox-cli
3. Create a new NodeJS in the global tool configuration , and configure the version number (requires >= v10)
Execute apifox automated interface tests
1. Create a new project and select the project type as Freestyle project
2. Add the build step Excute shell, copy the ApifoxCli command into it, save it and run it