Unlock instant, AI-driven research and patent intelligence for your innovation.

Dubbo interface performance test method and device based on JMeter

A test method and test device technology, which is applied in the field of dubbo interface performance testing based on JMeter, can solve the problems that JMeter cannot support calling dubbo, JMeter cannot support calling dubbo interface, etc., and achieve the effect of improving efficiency

Inactive Publication Date: 2019-05-10
上海五行嘉信息技术有限公司
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the problem that JMeter cannot support calling dubbo in related technologies, the present invention proposes a dubbo interface performance testing method based on JMeter, which can extend JMeter to support the performance test calling of dubbo interface, and solves the problem that JMeter cannot support dubbo interface calling

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dubbo interface performance test method and device based on JMeter
  • Dubbo interface performance test method and device based on JMeter
  • Dubbo interface performance test method and device based on JMeter

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0023] According to an embodiment of the present invention, a JMeter-based dubbo interface performance testing method is provided.

[0024] Such as figure 1 As shown, according to an embodiment of the present invention, the method includes:

[0025] S101: Configure the registration center address, interface name and other performance parameters of the dubbo interface, and save the registration center address, interface name and other performance parameters into variables in memory;

[0026]...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a dubbo interface performance test method based on JMeter, which comprises the following steps: configuring a registration center address, an interface name and other performance parameters of a dubbo interface, and storing the registration center address, the interface name and the other performance parameters into variables of a memory; and inputting the name of the variable, the called method name and the method parameter so as to call the dubbo interface. Based on the method, configuration can be called repeatedly, and parameters only need to be transmitted througha serialized json structure, so that test personnel can be liberated from complex Java code calling, and the efficiency of organizing the dubbo interface performance test is greatly improved. In addition, the invention further provides a dubbo interface performance testing device based on the JMeter.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a JMeter-based dubbo interface performance testing method and device. Background technique [0002] Apache JMeter is a Java-based stress testing tool developed by the Apache organization for testing the performance of static and dynamic resources (files, Servlets, Perl scripts, Java objects, databases and queries, FTP servers, etc.); it can also be used Useful for simulating heavy loads on servers, networks or objects to test their strength or analyze overall performance under different stress types. [0003] At present, in the interface test based on JMeter support, http protocol and web service can be directly supported, but for ordinary Java interface, it is carried out by manually writing the test code of the software interface. [0004] dubbo is a set of distributed open service framework, which includes registration center, service consumer, service provider, serv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 张栋浩陈凯张婷
Owner 上海五行嘉信息技术有限公司