Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Python-based performance test method and device,, computer equipment and storage medium

A technique for testing method, performance

Pending Publication Date: 2020-07-24
深圳市万睿智能科技有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Loadrunner has the following disadvantages: 1. Loadrunner is a heavyweight software with cumbersome installation; 2. The script writing is very complicated and requires high code skills; 3. The concurrent number cannot be manually increased during the stress test; 4. It cannot be cross-platform , and cannot be expanded twice
jmeter has the following disadvantages: 1. Script writing is cumbersome, and a lot of components need to be added; 2. The number of concurrency cannot be manually increased during the stress test; 3. It does not support large concurrent stress tests; 4. There are fewer types of reports

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
  • Python-based performance test method and device,, computer equipment and storage medium
  • Python-based performance test method and device,, computer equipment and storage medium
  • Python-based performance test method and device,, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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 some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0037] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0038] It should also be understood that the terminology 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
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a python-based performance test method and device, computer equipment and a storage medium, and the method comprises the steps: installing a python environment, and building an httprener and a locust system in the python environment; creating an httprener initial script according to the httprener initial script; capturing a packet through a fidler program, and importing the captured data packet into an httprener to generate a test script; packaging the log module and the mail module, and introducing an HTMLTEstRunner program and an mkdocs program which are used for defining a test report; and executing the test script, and obtaining a web version test log and a test report. According to the method, the script writing work is completed in the mode that the fidler captures the package, then exports the captured package into the har format, continues to convert the captured package into the yaml format and then imports the captured package into the httprener, thescript writing threshold is greatly reduced, the test efficiency is also improved, and the code error rate is also reduced; in the performance test execution process, the concurrency number can be increased on the UI interface of the locust, and the concurrency number does not need to be set after the test is executed.

Description

technical field [0001] The present invention relates to the computer field, and more specifically refers to a python-based performance testing method, device, computer equipment and storage medium. Background technique [0002] Currently, the popular performance testing tools on the market mainly include loadrunner and jmeter. The aforementioned loadrunner and jmeter can support the performance testing of most protocols. [0003] loadrunner monitors the communication between the client and server of various protocols through the Agent process, and converts the recorded user operations into scripts using the built-in C language. loadrunner calls these scripts to send requests to the server and accept the server's response. To write scripts, controller to set scene parameters, manage virtual users, analysis to view test results. Loadrunner has the following disadvantages: 1. Loadrunner is a heavyweight software with cumbersome installation; 2. The script writing is very compl...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688G06F11/3664
Inventor 王超陈煦文
Owner 深圳市万睿智能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products