JMeter (36): Jenkins integrated maven project automation framework <Supplementary description>

1. Build the Eclipse+JMeter+Maven project framework locally and debug the jmeter script locally; follow-up Jenkins integrates Jmeter+maven+Email+report+git and other functional frameworks.

It is recommended that if it is a path setting, use backslashes as much as possible. In a java project, slash \ needs to be escaped by \\. After all, it will be better to use / backslash in Linux operation;

Solve the path problem, as a variable parameter, support /backslash path in the windows-java environment

2. The selection of technical framework, after passing the overall skill level assessment, adopts tool integration framework to realize it, which is conducive to multi-person maintenance

3. The first step is the preparation of the environment, first local debugging and passing, and then continuous integration and automatic construction, that is, server migration.

4. If you build an interface automation platform again, you will always encounter problems that you haven't encountered before:

a> After eclipse creates the maven project, pull the configuration code from the original local debugging github, and then debug the problem of executing the xml format

问题:SXXP0003: Error reported by XML parser

Solution: Modify user.properties in the project src/test/jmeter directory: jmeter.save.saveservice.output_format=xml

b> After the local script is debugged, it needs to be integrated into jenkins to realize automatic construction

Automatically trigger jenkins build execution job by configuring github update

Guess you like

Origin blog.csdn.net/u011466469/article/details/101292741