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

Method for testing network performance of WEB product based on Fiddler tool

A technology of network performance and tools, applied in the direction of electrical components, transmission systems, etc., can solve problems such as the inability to capture packets, and achieve the effect of facilitating on-site problem verification and easy use

Pending Publication Date: 2022-02-11
ZHEJIANG SUPCON TECH
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a method for network performance testing of WEB-based products based on the Fiddler tool, to effectively solve the situation that the devtools tool cannot capture packets, and can simulate various network environments. testing, improving test efficiency

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
  • Method for testing network performance of WEB product based on Fiddler tool
  • Method for testing network performance of WEB product based on Fiddler tool
  • Method for testing network performance of WEB product based on Fiddler tool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Such as figure 2 As shown, this embodiment provides a schematic flowchart of a method for implementing a network performance test of a WEB-based product based on the Fiddler tool. The execution device of the method of this embodiment can be an electronic device, specifically the Fiddler tool in the electronic device. The steps of the test method of embodiment include:

[0060] 201. After the Fiddler tool is installed on the PC of the WEB product and the proxy of the browser is turned on, according to the test strategy of the network test environment in advance, the Fiddler tool sets at least one network environment in the corresponding test strategy to simulate the client of the WEB product in The scene of the network environment.

[0061] For example, the test strategy includes: opening the weak network mode in the customized document in the rule setting, and the uplink and downlink parameters of the weak network mode;

[0062] Or, the test strategy includes: settin...

Embodiment 2

[0069] For the scenario of a single client, the process of simulating a weak network environment is described as follows.

[0070] The problem encountered in the Northeast Pharmaceutical project: there are a large number of WEB-based large-scale equipment on the application site, resulting in inconsistent network speeds in each area, and sometimes causing abnormal response from the client (in places with poor network signals, users will repeatedly operate The toast box pops up to block the user (or operator) operation, and the data submission fails due to network problems, the content of the error prompt should be related to the network rather than the software error), in order to verify whether the abnormal prompt is reasonable, and the weak network environment software Citation situation, present embodiment provides following test method:

[0071] After the Fiddler tool is connected to the client network on the mobile side, simulate the weak network environment of the client...

Embodiment 3

[0086] For the single-client scenario, the process of simulating the breakpoint environment is described as follows.

[0087] The Fiddler tool can also be a tool for front-end debugging. By setting breakpoints, you can modify HTTP request header information; construct request data; intercept response data, and modify response entities.

[0088] 1) For example, Fiddler menu bar->rules->automatic Breakpoints->select the first breakpoint mode, the breakpoint set in this mode will be valid for all subsequent HTTP requests.

[0089] There can be two breakpoint locations in this example:

[0090] a.before response. That is, after the request is sent, but before the Fiddler tool agent is transferred, the requested data can be modified at this time.

[0091] b. after response. That is, after the server responds, but before the Fiddler tool proxy relays the response to the client. At this point the result of the response can be modified.

[0092] 2) Input on the command line.

[...

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 method for testing network performance of a WEB product based on a Fiddler tool, which comprises the following steps: after the Fiddler tool is installed on a PC of the WEB product and an agent of a browser is started, the Fiddler tool sets at least one network environment in a corresponding test strategy according to the preset test strategy of the network test environment, the scene of a client of the WEB product in the network environment is simulated; the Fiddler tool transfers interaction data between the client and the server according to the uplink parameters and the downlink parameters of the network environment, so that the data sent by the client and the server are data sent in the network environment; a network performance test result of the client is obtained according to the interaction data; wherein the client is a client in the PC or a client in a mobile terminal. According to the method, the problem that the devtools cannot capture the packets is solved, tests in various network environments can be simulated, and the test efficiency is effectively improved.

Description

technical field [0001] The invention relates to the technical field of industrial testing, in particular to a method for realizing network performance testing of WEB-based products based on a Fiddler tool. Background technique [0002] Under the background of web-based software products in the intelligent centralized control product center, users can easily access application services through a browser. In addition, some needs for operations through handheld devices have given rise to mobile terminals. Therefore, many projects in the intelligent centralized control product center are PC-side and mobile-side coexistence. On-site large-scale equipment and network layout have a certain degree of impact on the use of mobile device software. It is necessary to verify the performance tests of the PC and mobile terminals in the on-site environment, and whether the interaction is friendly in a weak network environment. In addition, some web-based projects have developed web-based ...

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): H04L43/12H04L67/02
CPCH04L43/12H04L67/02Y02P90/02
Inventor 沈孟龙袁星雨黄少敏姚芳王金宇
Owner ZHEJIANG SUPCON TECH
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