CN112214395A - Interface testing method based on flow data, electronic device and storage medium - Google Patents

Interface testing method based on flow data, electronic device and storage medium Download PDF

Info

Publication number
CN112214395A
CN112214395A CN202010910758.4A CN202010910758A CN112214395A CN 112214395 A CN112214395 A CN 112214395A CN 202010910758 A CN202010910758 A CN 202010910758A CN 112214395 A CN112214395 A CN 112214395A
Authority
CN
China
Prior art keywords
data
playback
interface
flow
traffic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010910758.4A
Other languages
Chinese (zh)
Inventor
李秋含
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dasouche Financial Leasing Co ltd
Original Assignee
Zhejiang Dasouche Financial Leasing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dasouche Financial Leasing Co ltd filed Critical Zhejiang Dasouche Financial Leasing Co ltd
Priority to CN202010910758.4A priority Critical patent/CN112214395A/en
Publication of CN112214395A publication Critical patent/CN112214395A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to an interface testing method and device based on flow data, an electronic device and a storage medium. The interface testing method based on the flow data comprises the following steps: receiving a test request, and acquiring a plurality of flow data fragments corresponding to the test request, wherein the test request carries interface parameters of an interface to be tested; screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters; respectively sending the candidate flow data fragments to a preset reference server and a preset test server, and carrying out flow playback according to preset configuration parameters to obtain first playback response data and second playback response data; and detecting target playback response data in the first playback response data and the second playback response data, and determining an interface test result according to the target playback response data. Through the method and the device, the problems of inaccurate data and poor test effect of interface test in the related technology are solved, and the beneficial effect of improving the interface test accuracy is realized.

Description

Interface testing method based on flow data, electronic device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for testing an interface based on traffic data, an electronic apparatus, and a storage medium.
Background
With the rapid growth of services and technological updates, more and more projects face the problem of technological restructuring. In order to ensure that the constructed project, system and server can ensure the stability of the external service and also consider the reconstruction performance of the self service, before reconstruction, effective test is required to verify and ensure the realization of the problems and functions of the system.
The technical scheme adopted for testing the service system in the prior art is as follows: and simultaneously issuing the flow to the test environment server and the reference environment server for playback, and completing simple interface test by monitoring the performance of the servers and reporting the error condition of the interface.
The existing testing technical scheme does not perform screening and cleaning after collecting flow data, data returned by an interface after interface testing is not verified, and the data of the interface testing is inaccurate and poor in testing effect.
At present, no effective solution is provided for the problems of inaccurate data and poor test effect of interface test in the related technology.
Disclosure of Invention
The embodiment of the application provides an interface testing method and device based on flow data, an electronic device and a storage medium, and aims to at least solve the problems of inaccurate interface testing data and poor testing effect in the related art.
In a first aspect, an embodiment of the present application provides an interface testing method based on traffic data, including: receiving a test request and acquiring a plurality of traffic data fragments corresponding to the test request, wherein the test request carries interface parameters of an interface to be tested; screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters; the candidate flow data are respectively sent to a preset reference server and a preset test server in a slicing mode, flow playback is carried out according to preset configuration parameters, and first playback response data and second playback response data are obtained; and detecting target playback response data in the first playback response data and the second playback response data, and determining an interface test result according to the target playback response data.
In some of these embodiments, detecting target playback response data in the first playback response data and the second playback response data comprises: traversing the first playback response data and the second playback response data respectively, and obtaining first keyword information corresponding to the first playback response data and second keyword information corresponding to the second playback response data; detecting corresponding preset keyword information in the first keyword information and the second keyword information respectively; under the condition that the corresponding preset keyword information is detected, judging whether the information value of the corresponding preset keyword information comprises preset information or not, wherein the preset information at least comprises an information type; and under the condition that the information value comprises preset information, determining the first playback response data and/or the second playback response data corresponding to the preset keyword information as the target playback response data.
In some of these embodiments, determining interface test results from the target playback response data comprises: extracting reference information values and measurement information values corresponding to the first playback response data and the second playback response data respectively in the target playback response data; and comparing the reference information value with the measurement information value, and determining the test result according to the comparison result.
In some embodiments, the preset configuration parameters include at least one first configuration parameter, sending the candidate traffic data fragments to a preset reference server and a preset test server, respectively, and performing traffic playback according to the preset configuration parameters includes: according to the at least one first configuration parameter, performing at least one time of flow data screening in the flow data of the candidate flow data fragments to obtain first flow playback data; and carrying out flow playback on the first flow playback data in the preset reference server and the preset test server.
In some embodiments, the first configuration parameter includes noise data, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain first traffic playback data includes: and according to the noise data, removing noise from the traffic data of the candidate traffic data fragments to obtain the first traffic playback data.
In some embodiments, the first configuration parameter includes a traffic playback ratio, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain first traffic playback data includes: and selecting the flow data of the candidate flow data fragment according to the flow playback proportion, and determining the selected flow data as the first flow playback data.
In some embodiments, the first configuration parameter includes interface address information, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain first traffic playback data includes: selecting flow data corresponding to the interface address information from the flow data of the candidate flow data fragment, and determining that the first flow playback data includes the selected flow data corresponding to the interface address information, wherein the interface address information includes domain name address information corresponding to the interface to be tested in the preset reference server and the preset test server.
In some embodiments, the first configuration parameter includes noise data, a traffic playback ratio, and interface address information, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain the first traffic playback data includes: according to the noise data, noise removal is carried out on the traffic data of the candidate traffic data fragmentation to obtain second traffic playback data; selecting third flow playback data from the second flow playback data according to the flow playback proportion; selecting fourth flow playback data corresponding to the interface address information from the third flow playback data, and determining that the first flow playback data includes the fourth flow playback data, wherein the interface address information includes domain name address information corresponding to the interface to be tested in the preset reference server and the preset test server.
In some embodiments, the interface parameter includes target interface information, and the filtering out candidate traffic data segments from the plurality of traffic data segments according to at least the interface parameter includes: reading fragment information of each of the plurality of traffic data fragments, wherein the fragment information includes interface information associated with the traffic data fragments; selecting the fragmentation information of which the interface information is matched with the target interface information; and determining the traffic data fragment corresponding to the selected fragment information as the candidate traffic data fragment.
In some embodiments, the filtering out candidate traffic data segments from the plurality of traffic data segments based at least on the interface parameter comprises: acquiring the traffic data fragment corresponding to the selected fragment information as a traffic data fragment to be selected; and screening the traffic data fragments to be selected, and determining that the screened traffic data fragments are the candidate traffic data fragments, wherein the screening at least comprises filtering the traffic data fragments to be selected, structure duplication removal and traffic data null detection.
In a second aspect, an embodiment of the present application provides an interface testing apparatus based on traffic data, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for receiving a test request and acquiring a plurality of traffic data fragments corresponding to the test request, and the test request carries interface parameters of an interface to be tested;
the screening module is used for screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters;
the playback module is used for sending the candidate flow data fragments to a preset reference server and a preset test server respectively, and performing flow playback according to preset configuration parameters to obtain first playback response data and second playback response data;
and the processing module is used for detecting target playback response data in the first playback response data and the second playback response data and determining an interface test result according to the target playback response data.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the interface testing method based on flow data according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored in the storage medium, where the computer program is configured to execute the interface testing method based on traffic data according to the first aspect when running.
Compared with the related art, the interface testing method, the device, the electronic device and the storage medium based on the traffic data provided by the embodiment of the application receive the test request and obtain the plurality of traffic data fragments corresponding to the test request, wherein the test request carries the interface parameters of the interface to be tested; screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters; respectively sending the candidate flow data fragments to a preset reference server and a preset test server, and carrying out flow playback according to preset configuration parameters to obtain first playback response data and second playback response data; detecting target playback response data in the first playback response data and the second playback response data, and determining an interface test result according to the target playback response data; the problems of inaccurate data and poor test effect of interface test in the related technology are solved, and the beneficial effects of conveniently acquiring data, accurately acquiring playback flow data and improving interface test efficiency and accuracy are realized.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a terminal of an interface testing method based on traffic data according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for interface testing based on traffic data according to an embodiment of the present application;
FIG. 3 is a flow chart of the comparison of playback response data in the preferred embodiment of the present application;
fig. 4 is a flow chart of screening candidate traffic data segments according to the preferred embodiment of the present application;
fig. 5 is a block diagram of an interface testing apparatus based on traffic data according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
Various techniques described herein may be used for query-type interface testing as well as interface testing that supports extended functionality of a data modification type.
Before describing and explaining embodiments of the present application, a description will be given of the related art used in the present application as follows:
the reference environment (reference environment) is used to correct and compare the default environment of the test results tested in other environments.
Testing environment (testing environment) refers to the description of the software and hardware environment on which the test runs, as well as any other software that interacts with the software under test.
The website traffic (traffic) refers to the number of visits to a website, and is used to describe the number of users visiting a website and the tracking of user behavior.
The dictionary is an unordered object set, elements of the dictionary are accessed through keys instead of index values, the dictionary stores key-value pairs (key-values), and the dictionary lookup speed is high; dictionaries are variable data types, and in other languages, a dictionary is also called a map.
The method embodiment provided by the embodiment can be executed in a terminal, a computer or a similar test platform. Taking the operation on the terminal as an example, fig. 1 is a hardware structure block diagram of the interface testing method based on traffic data according to the embodiment of the present invention. As shown in fig. 1, the terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal. For example, the terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to the interface testing method based on the traffic data in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The present embodiment provides a method for testing an interface based on traffic data, and fig. 2 is a flowchart of a method for testing an interface based on traffic data according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S201, receiving a test request, and obtaining a plurality of traffic data fragments corresponding to the test request, where the test request carries interface parameters of an interface to be tested.
In this embodiment, the main body for completing the interface testing method includes, but is not limited to, an interface comparison platform, and the flow data tested in the embodiment of the present application is flow data acquired by a flow acquisition platform, where the flow data includes website flow.
In this embodiment, the test request received by the interface comparison platform is a test request generated by a tester on the interface comparison platform for selecting a test item, and the test request at least carries interface parameters of the interface to be tested. After receiving the test request, the interface comparison platform acquires a plurality of flow data fragments corresponding to the test request from the flow acquisition platform, wherein the flow acquisition platform generates flow data fragments after acquiring the flow data, and each flow data fragment has a fragment name.
In this embodiment, after the interface comparison platform obtains the plurality of traffic data fragments, the plurality of traffic data fragments are stored, and the subsequent testing step is to screen the plurality of traffic data fragments according to the operation option corresponding to the test request.
It should be noted that, in this embodiment, the test request includes information of an interface to be tested, which needs to be tested, and after the interface comparison platform obtains the test request, the interface to be tested is determined according to the test request.
Step S202, screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters.
In this embodiment, after the interface comparison platform obtains the plurality of traffic data fragments corresponding to the test request, the interface comparison platform may display the traffic data fragments corresponding to the interface parameters by inputting the interface parameters, that is, the fragment names of the corresponding traffic data fragments, on the interface comparison platform, so that the candidate traffic data fragments may be screened out.
In this embodiment, in the process of screening out candidate traffic data segments, the basic items for screening out candidate traffic data segments are: whether the flow data fragment corresponding to the interface parameter of the interface to be tested is selected or not, and meanwhile, in the embodiment, selectable items are further added, and the selectable items comprise: filtering according to configured filtering conditions, performing structure deduplication according to a configured structure deduplication algorithm, and detecting whether the flow data fragment is empty; and screening and processing the plurality of traffic data fragments by taking the basic items and the selectable items as screening conditions to obtain candidate traffic data fragments, wherein the screened and processed traffic data fragments are favorable for improving the testing efficiency.
Step S203, sending the candidate traffic data fragments to a preset reference server and a preset test server respectively, and performing traffic playback according to preset configuration parameters to obtain first playback response data and second playback response data.
In the embodiment, the data difference of the interface test in the two environments is obtained by fragmenting the candidate traffic data into the reference server and the test server for traffic playback. In this embodiment, the data subjected to traffic playback is traffic playback data satisfying a preset configuration parameter condition.
In this embodiment, the environment corresponding to the reference server is the reference environment, the environment corresponding to the test server is the test environment, and the first playback response data and the second playback response data are obtained by respectively placing the candidate traffic data fragments in the two specified environments and comparing the data differences returned by the interfaces in the two environments.
Step S204, target playback response data is detected in the first playback response data and the second playback response data, and an interface test result is determined according to the target playback response data.
In this embodiment, after the first playback response data and the second playback response data are obtained, it is also necessary to verify whether the returned response data are correct. Correspondingly completing the verification of whether the response data returned in the two environments are correct or not by detecting the target playback response data in the first playback response data and the second playback response data; and after the returned response data is verified or tested to be correct, generating a corresponding interface test result and report according to the response data which is verified to be correct.
Through the steps S201 to S204, receiving a test request, and obtaining a plurality of traffic data fragments corresponding to the test request, where the test request carries interface parameters of an interface to be tested; screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters; respectively sending the candidate flow data fragments to a preset reference server and a preset test server, and carrying out flow playback according to preset configuration parameters to obtain first playback response data and second playback response data; detecting target playback response data in the first playback response data and the second playback response data, and determining an interface test result according to the target playback response data; the problem of inaccurate, the test effect of interface test's data among the correlation technique is poor is solved, realized convenient this case data, accurate acquisition playback flow data, improve interface efficiency of software testing's beneficial effect.
In some of these embodiments, detecting the target playback response data in the first playback response data and the second playback response data comprises the steps of:
step 1, traversing the first playback response data and the second playback response data respectively, and obtaining first keyword information corresponding to the first playback response data and second keyword information corresponding to the second playback response data.
In this embodiment, the first playback response data and the second playback response data are both returned json character strings, and before traversal is performed, the json character strings need to be converted into dictionary types, and traversal of the first playback response data and the second playback response data is a key value in a traversal dictionary.
And 2, detecting corresponding preset keyword information in the first keyword information and the second keyword information respectively.
In this embodiment, after the first keyword information and the second keyword information are obtained in a traversal manner, it is first verified whether the first keyword information and the second keyword information are in noise data, so as to detect whether the first keyword information and the second keyword information are preset keyword information that is expected to need to be detected.
And 3, under the condition that the corresponding preset keyword information is detected, judging whether the information value of the corresponding preset keyword information comprises the preset information or not, wherein the preset information at least comprises the information type.
In this embodiment, when it is verified that the first keyword information and the second keyword information correspond to expected keyword information, that is, a result data set (a set of multiple types of data) of playback of traffic data associated with an interface to be tested, it is necessary to determine whether there is expected data of a certain type in the first keyword information and the second keyword information, and when the expected data of a certain type is detected, it indicates that the first keyword information and the second keyword information are keyword information corresponding to expected target playback response data, and by comparing the expected data of a certain type in the first keyword information and the second keyword information, a test result of the interface can be generated.
And 4, under the condition that the information value includes the preset information, determining that the first playback response data and/or the second playback response data corresponding to the preset keyword information are/is the target playback response data.
It should be noted that, in the specific interface testing process, the tested interface is set as a corresponding interface of price-related flow data, the first playback response data and the second playback response data are return result data of playback flow data of associated prices, the preset keyword information is set as price information data associated with a certain food in the prices, and the preset information is set as the price rise of the food; and determining that the return result data of the playback flow data associated with the price is the target playback response data when the price information data associated with a certain food and the price fluctuation of the food are detected in the return result data of the playback flow data associated with the price by traversing and acquiring the return result data of the playback flow data associated with the price, which is obtained after flow playback is performed in the reference server and the test server.
Respectively traversing the first playback response data and the second playback response data, and obtaining first keyword information corresponding to the first playback response data and second keyword information corresponding to the second playback response data; detecting corresponding preset keyword information in the first keyword information and the second keyword information respectively; under the condition that the corresponding preset keyword information is detected, judging whether the information value of the corresponding preset keyword information comprises preset information or not; and under the condition that the information value comprises the preset information, determining that the first playback response data and/or the second playback response data corresponding to the preset keyword information are/is the target playback response data, so that the detection of the target playback response data is realized, and the interface contrast return data is efficiently obtained.
In some embodiments, determining the interface test result from the target playback response data includes the steps of:
step 1, extracting a reference information value and a measurement information value corresponding to the first playback response data and the second playback response data respectively in the target playback response data.
In this embodiment, the reference information value corresponds to a value of key information in replay response data generated by performing traffic replay on the traffic data segment of the interface to be tested in the reference server, and the measurement information value corresponds to a value of key information in replay response data generated by performing traffic replay on the traffic data segment of the interface to be tested in the test server; in this embodiment, the playback response data may be represented by a dictionary type, the corresponding keyword information is a key, and the value is a value.
And 2, comparing the reference information value with the measurement information value, and determining a test result according to the comparison result.
In the present embodiment, the test result is determined according to whether the two value values coincide by comparing the reference information value and the measurement information value, that is, comparing the value values.
Fig. 3 is a flowchart of comparing playback response data in the preferred embodiment of the present application, and as shown in fig. 3, the flowchart includes the following steps:
step S301, two json character strings corresponding to the first playback response data and the second playback response data are read simultaneously.
Step S302, two json character strings are converted into two dictionary types.
Step S303, traversing keys in the two dictionary types.
Step S304, judging whether the two keys are in the noise data, if so, executing step S303, otherwise, executing step S305.
In step S305, values corresponding to the two keys are obtained.
Step S306, judging the types of the two values, if the two values are of the list type, executing step S307, if the two values are of the character string/number type, executing step S308, and if the two values are of the dictionary type, executing step S303.
Step S307, comparing whether the lengths of the two lists are consistent, if so, executing step S308, otherwise, executing step S312.
And step S308, comparing whether the values of the two lists are consistent, if so, executing step S311, otherwise, executing step S312.
Step S309, judging whether the character string is json, if so, executing step S302, otherwise, executing step S310.
And step S310, comparing whether the values of the two character strings are consistent, if so, executing step S311, otherwise, executing step S312.
In step S311, the value is registered as being consistent, and thereafter, step S303 is executed.
In step S312, value inconsistency is recorded, and then step S303 is executed.
Through the steps S301 to S312, a specific comparison of interface return data is realized, and an interface test result is obtained. The accuracy of the interface test is improved by performing the accuracy test on the playback response data returned by the playback of the flow data.
In some embodiments, the preset configuration parameters include at least one first configuration parameter, and the sending the candidate traffic data fragments to the preset reference server and the preset test server respectively, and performing traffic playback according to the preset configuration parameters includes the following steps:
step 1, according to at least one first configuration parameter, performing at least one time of flow data screening in the flow data of the candidate flow data fragments to obtain first flow playback data.
In this embodiment, the first configuration parameter includes one or more of noise data, a traffic playback ratio, and interface address information, and the traffic data of the candidate traffic data segment is subjected to data screening according to the first configuration parameter, so as to obtain related traffic data for performing traffic playback comparison between the preset reference server and the preset test server.
And 2, carrying out flow playback on the first flow playback data in a preset reference server and a preset test server.
It should be noted that, in the specific implementation process, the step of performing data screening on the traffic data is performed in the preset reference server and the preset test server, that is, the preset reference server and the preset test server perform traffic playback on the traffic data corresponding to the first configuration parameter in the input traffic data of the candidate traffic data segment according to the configured first configuration parameter, and the traffic data that does not match the first configuration parameter is not performed with the traffic playback.
Performing at least one flow data screening in the flow data of the candidate flow data fragments according to the at least one first configuration parameter to obtain first flow playback data; the first flow playback data is subjected to flow playback in a preset reference server and a preset test server, so that designated flow data fragments and designated flow data are selected for flow playback, the flow data are accurately played back, and the accuracy of interface test is improved.
In some embodiments, the first configuration parameter includes noise data, and the step of performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain the first traffic playback data includes the steps of: and according to the noise data, carrying out noise removal on the traffic data of the candidate traffic data fragmentation to obtain first traffic playback data.
In this embodiment, by configuring the noise data, in the process of playback of the flow data, the flow data belonging to the noise data is selectively filtered, that is, when the flow data is the noise data, the flow playback is not performed, or after the flow data obtained by segmenting the candidate flow data is subjected to the flow playback, the playback response data generated corresponding to the noise data is removed, and is not returned.
In some embodiments, the first configuration parameter includes a traffic playback ratio, and the screening of the traffic data at least once in the traffic data of the candidate traffic data segment to obtain the first traffic playback data includes the following steps: and selecting the flow data of the candidate flow data fragment according to the flow playback proportion, and determining the selected flow data as first flow playback data.
In this embodiment, configuring the flow playback ratio means selecting a corresponding number of candidate flow data fragments from the candidate flow data fragments for flow playback, or selecting a set percentage of data flows from the flow data of each candidate flow data fragment for flow playback.
In some embodiments, the first configuration parameter includes interface address information, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain the first traffic playback data includes the following steps: selecting flow data corresponding to the interface address information from the flow data of the candidate flow data fragments, and determining that the first flow playback data comprises the selected flow data corresponding to the interface address information, wherein the interface address information comprises domain name address information corresponding to the interface to be tested in a preset reference server and a preset test server.
In this embodiment, the interface to be tested corresponds to the domain name addresses in the preset reference server and the preset test server, so as to select the traffic data corresponding to the domain name address associated with the interface to be tested in the preset reference server and the preset test server for playback, for example: and selecting the flow data generated by accessing the domain name addresses corresponding to the interface to be detected in the preset reference server and the preset test server, and playing back the flow data.
In some embodiments, the first configuration parameter includes noise data, traffic playback proportion, and interface address information, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain the first traffic playback data includes the following steps:
step 1, according to the noise data, noise removal is carried out on the traffic data of the candidate traffic data fragmentation, and second traffic playback data are obtained.
And 2, selecting third flow playback data from the second flow playback data according to the flow playback proportion.
And 3, selecting fourth flow playback data corresponding to the interface address information from the third flow playback data, and determining that the first flow playback data comprises the fourth flow playback data, wherein the interface address information comprises domain name address information corresponding to the interface to be tested in a preset reference server and a preset test server.
In this embodiment, the first configuration parameters are set to be multiple, and the number of times of screening the traffic data in the traffic data of the candidate traffic data segment corresponds to multiple times, so that the playback traffic data is accurately screened, and the accuracy of the interface test is improved.
In some embodiments, the interface parameter includes target interface information, and the step of screening candidate traffic data fragments from the plurality of traffic data fragments according to at least the interface parameter includes the following steps:
step 1, reading fragmentation information of each of a plurality of traffic data fragments, wherein the fragmentation information includes interface information associated with the traffic data fragments.
In this embodiment, a plurality of traffic data fragments are generated by the traffic collection platform after collecting the running data, and each traffic data fragment corresponds to one fragment name.
And 2, selecting the fragment information of which the interface information is matched with the target interface information.
In this embodiment, by inputting the interface information, that is, the fragment name of the corresponding traffic data fragment, on the interface comparison platform, the interface comparison platform displays the traffic data fragment corresponding to the interface information, so that the corresponding fragment information can be selected.
And step 3, determining the traffic data fragments corresponding to the selected fragment information as candidate traffic data fragments.
By reading the fragment information of each of the plurality of traffic data fragments, wherein the fragment information includes interface information associated with the traffic data fragment, the fragment information matching the interface information with the target interface information is selected, and the traffic data fragment corresponding to the selected fragment information is determined to be a candidate traffic data fragment, so that the traffic data fragment is imported to an interface comparison platform based on the interface information and the traffic data for traffic playback is screened.
In some embodiments, the step of filtering out candidate traffic data segments from the plurality of traffic data segments according to at least the interface parameter comprises the following steps:
step 1, obtaining the traffic data fragments corresponding to the selected fragment information as the traffic data fragments to be selected.
In this embodiment, first, the preliminary screening of the traffic data fragments is completed according to the interface information.
And 2, screening the traffic data fragments to be selected, and determining that the screened traffic data fragments are candidate traffic data fragments, wherein the screening at least comprises filtering the traffic data fragments to be selected, removing the duplication of the structure and detecting whether the traffic data is empty.
In this embodiment, after the preliminary screening of the traffic data fragments is completed, the further filtering and screening are performed according to preset screening conditions such as whether a filtering condition is configured, whether a structure deduplication algorithm is configured, and whether data of the traffic data fragments are empty, and the effect of accurate traffic data playback data is achieved through multiple data deduplication algorithms.
Fig. 4 is a flowchart of screening candidate traffic data segments according to the preferred embodiment of the present application, and as shown in fig. 4, the flowchart includes:
step S401, importing a traffic data segment.
Step S402, reading the traffic data of the traffic data slice.
And S403, judging whether the interface to be tested is selected, if so, executing S404, otherwise, executing S402.
Step S404, judging whether a filtering condition is configured, if so, executing step S405, otherwise, executing step S406.
And step S405, filtering and screening based on the interface condition filtering algorithm.
Step S406, determining whether structure deduplication is performed, if so, performing step S407, otherwise, performing step S408.
Step S407, filtering and screening are performed based on the structure duplication elimination algorithm.
Step S408, writing the flow data fragment.
Step S409, determining whether the traffic data of the traffic data segment is empty, if yes, executing step S402, otherwise, executing step S410.
And step S410, finishing the fragmentation of the imported flow data.
Through the steps S401 to S410, the flow data fragmentation is introduced into the interface comparison platform, the flow data screening is realized through various duplication elimination algorithms, the flow data playback data is accurate, and the interface test accuracy is improved.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides an interface testing apparatus based on traffic data, where the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the descriptions already given are omitted here. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of an interface testing apparatus based on traffic data according to an embodiment of the present application, and as shown in fig. 5, the apparatus includes:
the obtaining module 51 is configured to receive a test request, and obtain a plurality of traffic data fragments corresponding to the test request, where the test request carries interface parameters of an interface to be tested.
The screening module 52 is coupled to the obtaining module 51, and configured to screen candidate traffic data segments from the multiple traffic data segments according to at least the interface parameter.
And the playback module 53 is coupled to the screening module 52, and configured to send the candidate traffic data fragments to the preset reference server and the preset test server, respectively, and perform traffic playback according to preset configuration parameters to obtain first playback response data and second playback response data.
And the processing module 54 is coupled to the playback module 53, and is configured to detect the target playback response data in the first playback response data and the second playback response data, and determine an interface test result according to the target playback response data.
In some embodiments, the processing module 54 is configured to traverse the first playback response data and the second playback response data respectively, and obtain first keyword information corresponding to the first playback response data and second keyword information corresponding to the second playback response data; detecting corresponding preset keyword information in the first keyword information and the second keyword information respectively; under the condition that the corresponding preset keyword information is detected, judging whether the information value of the corresponding preset keyword information comprises preset information or not, wherein the preset information at least comprises an information type; and under the condition that the information value comprises the preset information, determining the first playback response data and/or the second playback response data corresponding to the preset keyword information as target playback response data.
In some embodiments, the processing module 54 is configured to extract a reference information value and a measurement information value corresponding to the first playback response data and the second playback response data in the target playback response data; the reference information value and the measurement information value are compared, and a test result is determined according to the comparison result.
In some embodiments, the preset configuration parameters include at least one first configuration parameter, and the playback module 53 is configured to perform at least one screening of traffic data in the traffic data of the candidate traffic data segment according to the at least one first configuration parameter, so as to obtain first traffic playback data; and carrying out flow playback on the first flow playback data in a preset reference server and a preset test server.
In some embodiments, the first configuration parameter includes noise data, and the playback module 53 is configured to perform noise removal on the traffic data of the candidate traffic data segment according to the noise data to obtain first traffic playback data.
In some embodiments, the first configuration parameter includes a flow playback ratio, and the playback module 53 is configured to select the flow data of the candidate flow data segment according to the flow playback ratio, and determine that the selected flow data is the first flow playback data.
In some embodiments, the first configuration parameter includes interface address information, and the playback module 53 is configured to select traffic data corresponding to the interface address information from the traffic data of the candidate traffic data segment, and determine that the first traffic playback data includes the selected traffic data corresponding to the interface address information, where the interface address information includes domain name address information corresponding to the interface to be tested in a preset reference server and a preset test server.
In some embodiments, the first configuration parameter includes noise data, a traffic playback ratio, and interface address information, and the playback module 53 is configured to perform noise removal on the traffic data of the candidate traffic data segment according to the noise data to obtain second traffic playback data; selecting third flow playback data from the second flow playback data according to the flow playback proportion; and selecting fourth flow playback data corresponding to the interface address information from the third flow playback data, and determining that the first flow playback data comprises the fourth flow playback data, wherein the interface address information comprises domain name address information corresponding to the interface to be tested in a preset reference server and a preset test server.
In some embodiments, the interface parameter includes target interface information, and the screening module 52 is configured to read fragmentation information of each of the plurality of traffic data fragments, where the fragmentation information includes interface information associated with the traffic data fragments; selecting the fragment information of which the interface information is matched with the target interface information; and determining the traffic data fragments corresponding to the selected fragment information as candidate traffic data fragments.
In some embodiments, the screening module 52 is configured to acquire the traffic data segment corresponding to the selected segment information as a traffic data segment to be selected; and screening the traffic data fragments to be selected, and determining that the screened traffic data fragments are candidate traffic data fragments, wherein the screening at least comprises the steps of filtering the traffic data fragments to be selected, removing the duplication of the structure and detecting whether the traffic data is empty.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
and S1, receiving a test request and acquiring a plurality of traffic data fragments corresponding to the test request, wherein the test request carries interface parameters of an interface to be tested.
And S2, screening candidate flow data fragments from the plurality of flow data fragments according to at least the interface parameters.
And S3, sending the candidate traffic data fragments to a preset reference server and a preset test server respectively, and performing traffic playback according to preset configuration parameters to obtain first playback response data and second playback response data.
S4, detecting the target playback response data in the first playback response data and the second playback response data, and determining an interface test result according to the target playback response data.
It should be noted that, for specific examples in this embodiment, reference may be made to examples described in the foregoing embodiments and optional implementations, and details of this embodiment are not described herein again.
In addition, in combination with the interface testing method based on the traffic data in the foregoing embodiments, the embodiments of the present application may provide a storage medium to implement. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any of the above-described embodiments of the method for interface testing based on traffic data.
It should be understood by those skilled in the art that various features of the above embodiments can be combined arbitrarily, and for the sake of brevity, all possible combinations of the features in the above embodiments are not described, but should be considered as within the scope of the present disclosure as long as there is no contradiction between the combinations of the features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. An interface testing method based on flow data is characterized by comprising the following steps:
receiving a test request and acquiring a plurality of traffic data fragments corresponding to the test request, wherein the test request carries interface parameters of an interface to be tested;
screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters;
the candidate flow data are respectively sent to a preset reference server and a preset test server in a slicing mode, flow playback is carried out according to preset configuration parameters, and first playback response data and second playback response data are obtained;
and detecting target playback response data in the first playback response data and the second playback response data, and determining an interface test result according to the target playback response data.
2. The traffic data-based interface testing method according to claim 1, wherein detecting target playback response data in the first playback response data and the second playback response data comprises:
traversing the first playback response data and the second playback response data respectively, and obtaining first keyword information corresponding to the first playback response data and second keyword information corresponding to the second playback response data;
detecting corresponding preset keyword information in the first keyword information and the second keyword information respectively;
under the condition that the corresponding preset keyword information is detected, judging whether the information value of the corresponding preset keyword information comprises preset information or not, wherein the preset information at least comprises an information type;
and under the condition that the information value comprises preset information, determining the first playback response data and/or the second playback response data corresponding to the preset keyword information as the target playback response data.
3. The method of claim 2, wherein determining an interface test result from the target playback response data comprises:
extracting reference information values and measurement information values corresponding to the first playback response data and the second playback response data respectively in the target playback response data;
and comparing the reference information value with the measurement information value, and determining the test result according to the comparison result.
4. The interface testing method based on traffic data according to claim 1, wherein the preset configuration parameters include at least one first configuration parameter, and sending the candidate traffic data fragments to a preset reference server and a preset testing server, respectively, and performing traffic playback according to the preset configuration parameters includes:
according to the at least one first configuration parameter, performing at least one time of flow data screening in the flow data of the candidate flow data fragments to obtain first flow playback data;
and carrying out flow playback on the first flow playback data in the preset reference server and the preset test server.
5. The method according to claim 4, wherein the first configuration parameter includes noise data, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain first traffic playback data includes: and according to the noise data, removing noise from the traffic data of the candidate traffic data fragments to obtain the first traffic playback data.
6. The method according to claim 4, wherein the first configuration parameter includes a traffic playback ratio, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain first traffic playback data includes: and selecting the flow data of the candidate flow data fragment according to the flow playback proportion, and determining the selected flow data as the first flow playback data.
7. The method according to claim 4, wherein the first configuration parameter includes interface address information, and performing at least one screening of traffic data in the traffic data of the candidate traffic data segment to obtain first traffic playback data includes: selecting flow data corresponding to the interface address information from the flow data of the candidate flow data fragment, and determining that the first flow playback data includes the selected flow data corresponding to the interface address information, wherein the interface address information includes domain name address information corresponding to the interface to be tested in the preset reference server and the preset test server.
8. The interface testing method according to claim 4, wherein the first configuration parameters include noise data, traffic playback ratio, and interface address information, and performing at least one screening of traffic data among the traffic data of the candidate traffic data segment to obtain first traffic playback data includes:
according to the noise data, noise removal is carried out on the traffic data of the candidate traffic data fragmentation to obtain second traffic playback data;
selecting third flow playback data from the second flow playback data according to the flow playback proportion;
selecting fourth flow playback data corresponding to the interface address information from the third flow playback data, and determining that the first flow playback data includes the fourth flow playback data, wherein the interface address information includes domain name address information corresponding to the interface to be tested in the preset reference server and the preset test server.
9. The method according to claim 1, wherein the interface parameter includes target interface information, and the screening of the candidate traffic data segment from the plurality of traffic data segments according to at least the interface parameter includes:
reading fragment information of each of the plurality of traffic data fragments, wherein the fragment information includes interface information associated with the traffic data fragments;
selecting the fragmentation information of which the interface information is matched with the target interface information;
and determining the traffic data fragment corresponding to the selected fragment information as the candidate traffic data fragment.
10. The method according to claim 9, wherein the screening candidate traffic data segments from the plurality of traffic data segments according to at least the interface parameter comprises:
acquiring the traffic data fragment corresponding to the selected fragment information as a traffic data fragment to be selected;
and screening the traffic data fragments to be selected, and determining that the screened traffic data fragments are the candidate traffic data fragments, wherein the screening at least comprises filtering the traffic data fragments to be selected, structure duplication removal and traffic data null detection.
11. An interface testing device based on flow data, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for receiving a test request and acquiring a plurality of traffic data fragments corresponding to the test request, and the test request carries interface parameters of an interface to be tested;
the screening module is used for screening candidate flow data fragments from the plurality of flow data fragments at least according to the interface parameters;
the playback module is used for sending the candidate flow data fragments to a preset reference server and a preset test server respectively, and performing flow playback according to preset configuration parameters to obtain first playback response data and second playback response data;
and the processing module is used for detecting target playback response data in the first playback response data and the second playback response data and determining an interface test result according to the target playback response data.
12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the interface testing method based on flow data according to any one of claims 1 to 10.
13. A storage medium having stored thereon a computer program, wherein the computer program is arranged to execute the method for interface testing based on traffic data according to any of claims 1 to 10 when running.
CN202010910758.4A 2020-09-02 2020-09-02 Interface testing method based on flow data, electronic device and storage medium Pending CN112214395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010910758.4A CN112214395A (en) 2020-09-02 2020-09-02 Interface testing method based on flow data, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010910758.4A CN112214395A (en) 2020-09-02 2020-09-02 Interface testing method based on flow data, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN112214395A true CN112214395A (en) 2021-01-12

Family

ID=74048766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010910758.4A Pending CN112214395A (en) 2020-09-02 2020-09-02 Interface testing method based on flow data, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112214395A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157559A (en) * 2021-03-11 2021-07-23 中国工商银行股份有限公司 Flow screening method and device
CN113472687A (en) * 2021-07-15 2021-10-01 北京京东振世信息技术有限公司 Data processing method and device
CN113568795A (en) * 2021-07-30 2021-10-29 杭州时趣信息技术有限公司 Method, device, equipment and storage medium for testing staticized service
CN115242685A (en) * 2022-07-22 2022-10-25 平安银行股份有限公司 Playback test method, device and equipment based on incidence matrix and storage medium
CN115484209A (en) * 2022-09-23 2022-12-16 绿盟科技集团股份有限公司 Network flow playback method, device, medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7373415B1 (en) * 2003-07-31 2008-05-13 Yahoo! Inc. System and method for monitoring delivery of digital content, including streaming media
CN106776324A (en) * 2016-12-19 2017-05-31 广州酷狗计算机科技有限公司 Interface test method and device
CN108829584A (en) * 2018-05-24 2018-11-16 携程计算机技术(上海)有限公司 service logic interface Mock test method and system
CN109614309A (en) * 2018-10-22 2019-04-12 中国平安财产保险股份有限公司 Compare the method, apparatus, computer equipment and storage medium of test result
CN110147315A (en) * 2019-04-17 2019-08-20 深圳壹账通智能科技有限公司 Concurrency performance test method, device, computer equipment and storage medium
CN110457199A (en) * 2018-05-08 2019-11-15 北京京东尚科信息技术有限公司 The method and apparatus of performance test
CN111045952A (en) * 2019-12-16 2020-04-21 广州品唯软件有限公司 Software testing method, flow playback device, terminal equipment and readable storage medium
CN111552632A (en) * 2020-03-27 2020-08-18 北京奇艺世纪科技有限公司 Interface testing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7373415B1 (en) * 2003-07-31 2008-05-13 Yahoo! Inc. System and method for monitoring delivery of digital content, including streaming media
CN106776324A (en) * 2016-12-19 2017-05-31 广州酷狗计算机科技有限公司 Interface test method and device
CN110457199A (en) * 2018-05-08 2019-11-15 北京京东尚科信息技术有限公司 The method and apparatus of performance test
CN108829584A (en) * 2018-05-24 2018-11-16 携程计算机技术(上海)有限公司 service logic interface Mock test method and system
CN109614309A (en) * 2018-10-22 2019-04-12 中国平安财产保险股份有限公司 Compare the method, apparatus, computer equipment and storage medium of test result
CN110147315A (en) * 2019-04-17 2019-08-20 深圳壹账通智能科技有限公司 Concurrency performance test method, device, computer equipment and storage medium
CN111045952A (en) * 2019-12-16 2020-04-21 广州品唯软件有限公司 Software testing method, flow playback device, terminal equipment and readable storage medium
CN111552632A (en) * 2020-03-27 2020-08-18 北京奇艺世纪科技有限公司 Interface testing method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157559A (en) * 2021-03-11 2021-07-23 中国工商银行股份有限公司 Flow screening method and device
CN113157559B (en) * 2021-03-11 2024-02-09 中国工商银行股份有限公司 Flow screening method and device
CN113472687A (en) * 2021-07-15 2021-10-01 北京京东振世信息技术有限公司 Data processing method and device
CN113472687B (en) * 2021-07-15 2023-12-05 北京京东振世信息技术有限公司 Data processing method and device
CN113568795A (en) * 2021-07-30 2021-10-29 杭州时趣信息技术有限公司 Method, device, equipment and storage medium for testing staticized service
CN113568795B (en) * 2021-07-30 2024-04-26 杭州时趣信息技术有限公司 Static service testing method, device, equipment and storage medium
CN115242685A (en) * 2022-07-22 2022-10-25 平安银行股份有限公司 Playback test method, device and equipment based on incidence matrix and storage medium
CN115242685B (en) * 2022-07-22 2023-05-26 平安银行股份有限公司 Playback testing method, device, equipment and storage medium based on incidence matrix
CN115484209A (en) * 2022-09-23 2022-12-16 绿盟科技集团股份有限公司 Network flow playback method, device, medium and electronic equipment
CN115484209B (en) * 2022-09-23 2024-04-02 绿盟科技集团股份有限公司 Network traffic playback method and device, medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN112214395A (en) Interface testing method based on flow data, electronic device and storage medium
CN107609186B (en) Information processing method and device, terminal device and computer readable storage medium
CN103685308B (en) Detection method and system of phishing web pages, client and server
WO2017113677A1 (en) User behavior data processing method and system
CA3109481A1 (en) Identification and application of hyperparameters for machine learning
CN104615760A (en) Phishing website recognizing method and phishing website recognizing system
CN107872534B (en) Information pushing method and device, server and readable storage medium
TW201710993A (en) Method, apparatus and system for detecting fraudulent software promotion
CN107908686B (en) Information pushing method and device, server and readable storage medium
CN103365928B (en) Information recommendation method and information recommendation device
CN111949803A (en) Method, device and equipment for detecting network abnormal user based on knowledge graph
CN105404631B (en) Picture identification method and device
CN110750433A (en) Interface test method and device
CN112526319B (en) Chip testing method and device, processor chip and server
CN108111472A (en) A kind of attack signature detection method and device
CN108574625B (en) Application test invitation method and device
CN108154024A (en) A kind of data retrieval method, device and electronic equipment
CN112347100B (en) Database index optimization method, device, computer equipment and storage medium
WO2017000817A1 (en) Method and device for acquiring matching relationship between data
CN111552666B (en) Resource acquisition method, device, equipment and storage medium
CN108959443A (en) A kind of information-pushing method, information processing method and device
CN113554056A (en) Network asset aggregation method, device, electronic device and storage medium
WO2017149159A1 (en) Counterfeit electronic device detection
CN109002253A (en) A kind of processing method and processing device for damaging band
CN107577707B (en) Target data set generation method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination