Jmeter Interface test automation solutions

Jmeter current test can be a good user interface, it is a good implementation tools to solve data management, use cases depend on the results asserted, data recovery, script maintenance, scalability and other problems.

A problem of automation: data management. Automated principle is data-driven, jmeter use of user-defined variables, as the test data maintenance entrance.

 

 

Two problems of automation: dependent on use cases. The serial implementation of the principle of jmeter realize dependency test cases;

 

Three of the automation problem: the query results corresponding assertion.

Stored first result returned in response to a csv file, and then csv file csv file is compared to a desired result; the comparison result, a value of 0 returns the parameter, the comparison fails to return a parameter; asserts the parameters returned in the response in the assertion ;

 

 

 Four of automation problems: the environment is ready to resume. Jmeter support access to the database, execute sql statements; you can write directly and run sql sql statements;

 

 Five of automation problems: script maintainability. It supports single-step debugging.

 

 Six of the automation problem: scalability. Use beanshell jmeter itself, you can write directly to java scripting extensions automated processes;

 

 Summary hope these help you

Guess you like

Origin www.cnblogs.com/chenlimei/p/11845682.html