CN110895507B - Simulation test method and device, simulation server and storage medium - Google Patents

Simulation test method and device, simulation server and storage medium Download PDF

Info

Publication number
CN110895507B
CN110895507B CN201811069491.XA CN201811069491A CN110895507B CN 110895507 B CN110895507 B CN 110895507B CN 201811069491 A CN201811069491 A CN 201811069491A CN 110895507 B CN110895507 B CN 110895507B
Authority
CN
China
Prior art keywords
simulation
request
queue
test
response
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.)
Active
Application number
CN201811069491.XA
Other languages
Chinese (zh)
Other versions
CN110895507A (en
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.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System Technology 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 Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Priority to CN201811069491.XA priority Critical patent/CN110895507B/en
Publication of CN110895507A publication Critical patent/CN110895507A/en
Application granted granted Critical
Publication of CN110895507B publication Critical patent/CN110895507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • 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
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to a simulation test method, a simulation test device, a simulation server and a storage medium, and relates to the field of automatic test. The method comprises the following steps: and receiving a first simulation request sent by the test client for testing the tested system, and performing simulation test on the first simulation request according to the request queue. Since the inherent request queue in the request queue is used for storing the pre-configured simulation request and simulation response before the simulation test, and the temporary request queue in the request queue is used for storing the simulation request and the simulation response temporarily configured during the simulation test, when the configuration message sent by the test client for configuring the second simulation request is received during the simulation test, the second simulation request and the second simulation response can be stored in the temporary request queue according to the configuration message. In this way, during the simulation test, the second simulation request can be dynamically configured through the temporary request queue, which provides flexibility of the simulation test.

Description

Simulation test method and device, simulation server and storage medium
Technical Field
The present disclosure relates to the field of automated testing, and in particular, to a method and apparatus for simulating testing, a simulation server, and a storage medium.
Background
After a developer develops a certain system, the system is often tested on a test client; the system is only on-line when it passes the test. In the test process, some real objects which are not easy to construct or acquire often exist, so that a virtual object can be used for replacing the real objects which are not easy to construct or acquire, and the test of the real objects is simulated by testing the virtual object. While a test method of simulating a real object by a virtual object is called a method of simulation test.
In the simulation test method, a simulation request sent by a test client of a tested system can be subjected to simulation test. Currently, a simulation response is configured for a simulation request in a Mock server in advance before a simulation test, and the simulation request and the simulation response are stored in an inherent request queue in the Mock server. Then, when in simulation test, the test client sends a simulation request to the Mock server, when the Mock server receives the simulation request sent by the test client, the Mock server can return a simulation response corresponding to the simulation request to the test client by calling the inherent request queue in real time, after the test client receives the simulation response, the test client processes the simulation response, and whether the processing result of the simulation response by the test client is correct or not can be judged, so that the simulation test of the tested system is realized.
However, since the Mock server calls the inherent request queue in real time to complete the simulation test, the Mock server cannot call the inherent request queue to store any other data during the simulation test, and thus cannot configure the simulation request. That is, the Mock server cannot dynamically configure the simulation request in the simulation test process at present, so that the simulation test of the simulation request has poor flexibility.
Disclosure of Invention
The invention provides a simulation test method, a simulation test device, a simulation server and a storage medium, which can solve the problem that the Mock server cannot dynamically configure a simulation request in the simulation test process, so that the simulation request has poor flexibility in simulation test.
In a first aspect, there is provided a method of simulating a test, the method comprising:
receiving a first simulation request sent by a test client of a tested system and used for testing the tested system, and performing simulation test on the first simulation request according to a request queue, wherein the request queue comprises an inherent request queue and a temporary request queue, the inherent request queue is used for storing a simulation request and a simulation response which are pre-configured before the simulation test, and the temporary request queue is used for storing the simulation request and the simulation response which are temporarily configured in the simulation test process;
Receiving a configuration message sent by the test client for configuring a second simulation request in the simulation test process;
and storing the second simulation request and a second simulation response of the second simulation request into the temporary request queue according to the configuration message.
In one possible implementation manner, the storing the second simulation request and the second simulation response of the second simulation request in the temporary request queue according to the configuration message includes:
acquiring the second simulation request carried in the configuration message and the second simulation response of the second simulation request;
storing the second simulated request and a second simulated response of the second simulated request in the temporary request queue.
In one possible implementation manner, the storing the second simulation request and the second simulation response of the second simulation request in the temporary request queue according to the configuration message includes:
acquiring the second simulation request according to the configuration message;
configuring the corresponding second simulation response for the second simulation request according to the configuration message;
Storing the second simulated request and a second simulated response of the second simulated request in the temporary request queue.
In one possible implementation manner, the obtaining the second simulation request according to the configuration message includes:
acquiring the first simulation request, and modifying the request parameters of the first simulation request according to the request parameters carried by the configuration message to acquire the second simulation request; or,
and acquiring the second simulation request carried in the configuration message.
In one possible implementation manner, the configuring the corresponding second simulation response for the second simulation request according to the configuration message includes:
acquiring a first simulation response corresponding to the first simulation request;
and modifying the response parameters of the first simulation response according to the response parameters carried by the configuration message to obtain the second simulation response.
In one possible implementation manner, the performing the simulation test on the first simulation request according to the request queue includes:
detecting the request queue where the first simulation request is located;
when the first simulation request is detected to be in the inherent request queue, acquiring a first simulation response corresponding to the first simulation request from the inherent request queue; when the first simulation request is detected to be in the temporary request queue, acquiring a first simulation response corresponding to the first simulation request from the temporary request queue;
And returning the first simulation response to the test client.
In one possible implementation, the method further includes:
counting the number of target simulation requests in the temporary request queue when the first simulation request is detected to be in the temporary request queue, wherein the target simulation requests are simulation requests with different request parameters but the same information except the request parameters;
when the number is 0, the first simulated request is deleted from the temporary request queue.
In one possible implementation, the method further includes:
discarding the first analog request when the first analog request is detected to be neither in the intrinsic request queue nor in the temporary request queue.
In a second aspect, there is provided an apparatus for analog testing, the apparatus comprising:
the test module is used for receiving a first simulation request sent by a test client of a tested system and used for testing the tested system, and carrying out simulation test on the first simulation request according to a request queue, wherein the request queue comprises an inherent request queue and a temporary request queue, the inherent request queue is used for storing a pre-configured simulation request and a simulation response before the simulation test, and the temporary request queue is used for storing the temporarily configured simulation request and the temporary response in the simulation test process;
The receiving module is used for receiving a configuration message which is sent by the test client and used for configuring a second simulation request in the simulation test process;
and the storage module is used for storing the second simulation request and the second simulation response of the second simulation request into the temporary request queue according to the configuration message.
In one possible implementation, the storage module includes:
the first acquisition submodule is used for acquiring the second simulation request carried in the configuration message and the second simulation response of the second simulation request;
and the first storage submodule is used for storing the second simulation request and the second simulation response of the second simulation request into the temporary request queue.
In one possible implementation, the storage module includes:
the second obtaining submodule is used for obtaining the second simulation request according to the configuration message;
the configuration submodule is used for configuring the corresponding second simulation response for the second simulation request according to the configuration message;
and the second storage submodule is used for storing the second simulation request and the second simulation response of the second simulation request into the temporary request queue.
In one possible implementation manner, the second obtaining submodule includes:
the first acquisition unit is used for acquiring the first simulation request, and modifying the request parameters of the first simulation request according to the request parameters carried by the configuration message to obtain the second simulation request; or,
and the second acquisition unit is used for acquiring the second simulation request carried in the configuration message.
In one possible implementation, the configuration submodule includes:
the third acquisition unit is used for acquiring a first simulation response corresponding to the first simulation request;
and the modification unit is used for modifying the response parameters of the first simulation response according to the response parameters carried by the configuration message to obtain the second simulation response.
In one possible implementation, the test module includes:
the detection submodule is used for detecting the request queue where the first simulation request is located;
a third obtaining sub-module, configured to obtain, when detecting that the first analog request is in the inherent request queue, a first analog response corresponding to the first analog request from the inherent request queue; when the first simulation request is detected to be in the temporary request queue, acquiring a first simulation response corresponding to the first simulation request from the temporary request queue;
And the return sub-module is used for returning the first simulation response to the test client.
In one possible implementation, the apparatus further includes:
the statistics module is used for counting the number of target simulation requests in the temporary request queue when the first simulation request is detected to be in the temporary request queue, wherein the target simulation requests are simulation requests which are different from the request parameters of the first simulation request but have the same information except the request parameters;
and the deleting module is used for deleting the first simulation request from the temporary request queue when the number is 0.
In one possible implementation, the apparatus further includes:
and the discarding module is used for discarding the first simulation request when the first simulation request is detected to be neither in the inherent request queue nor in the temporary request queue.
In a third aspect, there is provided a Mock server comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the first aspect above.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon instructions which, when executed by a processor, implement the steps of any of the methods of the first aspect described above.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of any of the first aspects above.
The technical scheme provided by the embodiment of the disclosure at least can comprise the following beneficial effects:
in the embodiment of the disclosure, a first simulation request for testing the tested system, which is sent by a testing client of the tested system, is received, and the first simulation request is subjected to simulation test according to a request queue. Since the request queue includes an intrinsic request queue and a temporary request queue, and the intrinsic request queue is used for storing a simulation request and a simulation response which are configured in advance before the simulation test, and the temporary request queue is used for storing the simulation request and the simulation response which are configured temporarily in the simulation test process, when a configuration message sent by the test client for configuring the second simulation request is received in the simulation test process, the second simulation request and the second simulation response of the second simulation request can be stored in the temporary request queue according to the configuration message. In this way, during the simulation test, the second simulation request can be dynamically configured through the temporary request queue, which provides flexibility of the simulation test.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram illustrating an implementation environment according to an example embodiment.
FIG. 2 is a schematic diagram illustrating an implementation environment according to an example embodiment.
FIG. 3 is a flow chart illustrating a method of simulating testing according to an exemplary embodiment.
FIG. 4 is a flow chart illustrating a method of simulating testing according to an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating a Mock server performing a simulation test on a first simulation request according to a request queue, according to an example embodiment.
FIG. 6 is a schematic diagram illustrating a Mock server updating a temporary request queue or an inherent request queue, according to an example embodiment.
FIG. 7 is a block diagram illustrating an apparatus for simulating testing according to an example embodiment.
Fig. 8 is a schematic structural view of a terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the present disclosure.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present disclosure, referring to fig. 1, the implementation environment includes a terminal 101 and a Mock server102. The terminal 101 and the Mock server102 are connected through a network. The terminal 101 and the Mock server102 are connected through a network.
Fig. 2 is a schematic diagram further describing the implementation environment of fig. 1, see fig. 2. And a test client of the tested system is installed on the terminal 101, and the terminal 101 tests the tested system on the Mock server102 through the test client, so that interaction with the Mock server102 is realized.
Mock server102 includes a request queue that includes an intrinsic request queue and a temporary request queue. The inherent request queue is used for storing pre-configured simulation requests and simulation responses before simulation test, and the temporary request queue is used for storing the temporarily configured simulation requests and simulation responses in the simulation test process. In the disclosed embodiment, mock server102 receives a simulation request and a simulation response configured by a test client on terminal 101, determines whether the simulation request and the simulation response were sent during a simulation test or before the simulation test; when the analog request and analog response are sent prior to the analog test, then Mock server102 stores the analog request and analog response in an inherent request queue; when the analog request and analog response are sent during the analog test, mock server102 stores the analog request and analog response in a temporary request queue. Because the Mock server102 can dynamically configure the simulation request through the temporary request queue in the simulation test process, the flexibility of the simulation test is improved.
The test client in the terminal 101 may be invoked by a tester, and during the invoking process, the tester may perform a triggering operation on the test client of the tested system to trigger the test instruction. The test client of the tested system may send a first simulation request to the Mock server102 according to the test instruction. When the test client of the tested system receives the first simulation response returned by the Mock server102, the tested system can detect whether the tested system can process the first simulation response correctly or not, and display the processing result, and the tester can observe the processing result displayed on the test client.
The terminal 101 may be any terminal such as a mobile phone terminal device, a PAD (Portable Android Device, tablet computer) terminal device, or a computer terminal device. Mock server102 refers to a simulation server capable of performing simulation test or configuration on a simulation request sent by a test client on terminal 101, and may be a simulation server, or a simulation server cluster formed by a plurality of simulation servers, or a cloud computing simulation server center, which is not limited in the embodiment of the present disclosure.
The test client of the system under test installed on the terminal 101 refers to a program providing a local service to a client, and may be a third party application program, for example, a web browser, a social application, or an email client, etc. Of course, the test client may be any other client that may send a simulation request or a configuration message to the Mockserver102, which is not limited by the embodiments of the present disclosure. The tested system is a system to be tested in the test client, for example, when the test client is a web browser, the tested system can be a certain system of the web browser; when the test client is a social application, the tested system can be a certain system of the social application; when the test client is a game application, the system under test is a certain system of the game, etc.
FIG. 3 is a flow chart illustrating a method of simulating testing, as shown in FIG. 3, for use in a Mock server, according to an exemplary embodiment, including the following steps.
In step 301, a Mock server receives a first simulation request sent by a test client of a tested system and used for testing the tested system, and performs a simulation test on the first simulation request according to a request queue, where the request queue includes an intrinsic request queue and a temporary request queue, the intrinsic request queue is used for storing a simulation request and a simulation response that are pre-configured before the simulation test, and the temporary request queue is used for storing a simulation request and a simulation response that are temporarily configured during the simulation test.
In step 302, during the simulation test, the Mock server receives a configuration message sent by the test client for configuring the second simulation request.
In step 303, the Mock server stores the second simulation request and the second simulation response of the second simulation request in the temporary request queue according to the configuration message.
In one possible implementation, storing the second simulation request and the second simulation response of the second simulation request in the temporary request queue according to the configuration message includes:
Acquiring the second simulation request carried in the configuration message and the second simulation response of the second simulation request;
the second simulated request and a second simulated response to the second simulated request are stored in the temporary request queue.
In one possible implementation, storing the second simulation request and the second simulation response of the second simulation request in the temporary request queue according to the configuration message includes:
acquiring the second simulation request according to the configuration message;
configuring the corresponding second simulation response for the second simulation request according to the configuration message;
the second simulated request and a second simulated response to the second simulated request are stored in the temporary request queue.
In one possible implementation, according to the configuration message, obtaining the second simulation request includes:
acquiring the first simulation request, and modifying the request parameters of the first simulation request according to the request parameters carried by the configuration message to obtain the second simulation request; or,
and acquiring the second simulation request carried in the configuration message.
In one possible implementation, configuring the corresponding second analog response for the second analog request according to the configuration message includes:
Acquiring a first simulation response corresponding to the first simulation request;
and modifying the response parameters of the first simulation response according to the response parameters carried by the configuration message to obtain the second simulation response.
In one possible implementation, performing a simulation test on the first simulation request according to the request queue includes:
detecting the request queue where the first simulation request is located;
when the first simulation request is detected to be in the inherent request queue, acquiring a first simulation response corresponding to the first simulation request from the inherent request queue; when the first simulation request is detected to be in the temporary request queue, acquiring a first simulation response corresponding to the first simulation request from the temporary request queue;
the first simulated response is returned to the test client.
In one possible implementation, the method further includes:
counting the number of target simulation requests in the temporary request queue when the first simulation request is detected to be in the temporary request queue, wherein the target simulation requests are simulation requests which are different from the request parameters of the first simulation request but have the same information except the request parameters;
when the number is 0, the first simulated request is deleted from the temporary request queue.
In one possible implementation, the method further includes:
when the first analog request is detected to be neither in the intrinsic request queue nor in the temporary request queue, the first analog request is discarded.
In the embodiment of the disclosure, a first simulation request for testing the tested system, which is sent by a testing client of the tested system, is received, and the first simulation request is subjected to simulation test according to a request queue. Since the request queue includes an intrinsic request queue and a temporary request queue, and the intrinsic request queue is used for storing a simulation request and a simulation response which are configured in advance before the simulation test, and the temporary request queue is used for storing the simulation request and the simulation response which are configured temporarily in the simulation test process, when a configuration message sent by the test client for configuring the second simulation request is received in the simulation test process, the second simulation request and the second simulation response of the second simulation request can be stored in the temporary request queue according to the configuration message. In this way, during the simulation test, the second simulation request can be dynamically configured through the temporary request queue, which provides flexibility of the simulation test.
All the above optional technical solutions may be combined according to any choice to form an optional embodiment of the disclosure, which is not described in detail herein.
Fig. 4 is a flow chart illustrating a method of simulating testing according to an exemplary embodiment, which will be described with respect to the embodiment shown in fig. 3. The method is applied to a Mock server, and as shown in fig. 4, the method comprises the following steps.
In step 401, the Mock server receives a first simulation request sent by a test client of a tested system for testing the tested system.
When a system is developed, it is often necessary to test the system, and when the system is not easy to construct in the test process, a simulation test can be performed on the system, and the system for the simulation test is the tested system. When the simulation test is performed on the tested system, a user can perform trigger operation on a test client of the tested system to trigger a test instruction. When the triggering operation is detected, a test client of the tested system generates a test instruction; and sending a test request to the Mock server according to the test instruction, wherein the test request carries a first simulation request, and the first simulation request is used for requesting the Mock server to perform simulation test on the tested system. At this time, the Mock server may receive a first simulation request sent by a test client of the tested system for testing the tested system.
It should be noted that the tested system may be a test interface, and the interface may be represented by a protocol. The first simulation request may be a service request, where the service request may be a request for a service related to the system under test, for example, the system under test is a test interface, and the service request is a request for video recording through the test interface.
In step 402, mock server performs a simulation test on the first simulation request according to the request queue.
When the Mock server receives a first simulation request, simulation test can be conducted on the first simulation request through a request queue where the first simulation request is located. The request queues comprise an inherent request queue and a temporary request queue, wherein the inherent request queue is used for storing simulation requests and simulation responses which are configured in advance of simulation test, and the temporary request queue is used for storing simulation requests and simulation responses which are configured temporarily in the simulation test process. Accordingly, this step can be illustrated by the following steps:
(1) The Mock server detects a request queue in which the first simulation request is located, and when the first simulation request is detected to be in an inherent request queue, the step (2) is executed; when it is detected that the first analog request is in the temporary request queue, performing step (3); when the first analog request is detected to be neither in the intrinsic request queue nor in the temporary request queue, the first analog request is discarded.
In this step, the Mock server may first detect whether the first analog request is in the temporary request queue, and then detect whether the first analog request is in the inherent request queue when the first analog request is not in the temporary request queue. Mock server may also detect whether the first analog request is in the intrinsic request queue first, and detect whether the first analog request is in the temporary request queue when the first analog request is not in the intrinsic request queue. In the embodiment of the present disclosure, the sequence of detecting the temporary request queue and the inherent request queue by the Mock server is not particularly limited.
In one possible implementation manner, the Mock server may extract an identifier of a queue type carried in the first analog request, and determine that the first analog request is in the inherent request queue when the identifier of the queue type is the same as the identifier of the inherent request queue; when the identification of the queue type is the same as the identification of the temporary request queue, the first simulated request is determined to be in the temporary request queue. The first simulation request may carry an identification of a queue type through a type field. Of course, the request queue in which the first analog request is located may also be detected in other manners, which is not limited by the embodiments of the present disclosure.
In another possible implementation, the Mock server may detect the queue in which the first emulated request is located by traversing the native request queue and/or the temporary request queue. The method comprises the following steps: the Mock server traverses the inherent request queue first, and when the simulation request which is the same as the first simulation request is found in the inherent request queue, the traversal is stopped; continuing to traverse the temporary request queue when the same simulation request as the first simulation request is not found in the inherent request queue; determining that the first simulated request is in the temporary request queue when the same simulated request as the first simulated request is found in the temporary request queue; when the same dummy request as the first dummy request is not found in the temporary request queue either, it is determined that the first dummy request is not in the intrinsic request queue nor the temporary request queue. Or, the Mock server traverses the temporary request queue first, and stops traversing when the simulation request which is the same as the first simulation request is found in the temporary request queue; continuing to traverse the inherent request queue when the same simulation request as the first simulation request is not found in the temporary request queue; determining that the first simulated request is in the native request queue when the same simulated request as the first simulated request is found in the native request queue; when the same dummy request as the first dummy request is not found in the intrinsic request queue either, it is determined that the first dummy request is neither in the temporary request queue nor in the intrinsic request queue.
(2) The Mock server acquires a first simulation response corresponding to the first simulation request from the inherent request queue.
The simulated requests stored in the native request queue may be referred to as native simulated requests and the stored simulated responses as native simulated responses. Accordingly, the intrinsic request queue may store a correspondence between intrinsic analog requests and corresponding intrinsic analog responses.
Therefore, when the Mock server detects that the first simulation request is in the intrinsic request queue, the first simulation request is an intrinsic simulation request, and then the intrinsic simulation response corresponding to the first simulation request can be obtained from the corresponding relation between the intrinsic simulation request stored in the intrinsic request queue and the corresponding intrinsic simulation response, and then the intrinsic simulation response is taken as the first simulation response.
For example, when the first analog request is a request for writing video through the tested system and it is detected that the request for writing video through the tested system is in an inherent request queue, the Mock server obtains an inherent analog response corresponding to the request for writing video through the tested system from the inherent request queue, where the inherent analog response is a name and an address of a resource required for writing video, and then the inherent analog response is used as the first analog response.
(3) The Mock server acquires a first simulation response corresponding to the first simulation request from the temporary request queue.
The simulated requests stored in the temporary request queue may be referred to as temporary simulated requests and the stored simulated responses may be referred to as temporary simulated responses. Accordingly, the temporary request queue may store a correspondence between the temporary simulation request and the corresponding temporary simulation response.
Therefore, when the Mock server detects that the first simulation request is in the temporary request queue, the first simulation request is a temporary simulation request, so that a temporary simulation response corresponding to the first simulation request can be obtained from the corresponding relation between the temporary simulation request stored in the temporary request queue and the corresponding temporary simulation response, and the temporary simulation response is further taken as the first simulation response.
For example, when the first simulation request is a request for writing video through the tested system and the request for writing video through the tested system is detected to be in a temporary request queue, the Mock server obtains a temporary simulation response corresponding to the request for writing video through the tested system from the temporary request queue, wherein the temporary simulation response is the name and address of a resource required for writing video, and then the temporary simulation response is used as the first simulation response.
(4) The Mock server returns a first simulation response to the test client.
For example, when the first analog response is the name and address of the resource required for video recording, the Mock server returns the name and address of the resource required for video recording to the test client.
It should be noted that, after the Mock server returns the first simulation response to the test client, the test client may detect whether the tested system processes the first simulation response correctly, and further display the processing result on the test client for the tester to check. For example, when the tested system is a test interface, the first analog request is a request for writing video through the test interface, and the first analog response is a name and an address of a resource required for writing video, the test client may detect whether the test interface obtains the resource for writing video according to the name and the address of the resource required for writing video.
It should be noted that, the test client may compare the processing result with a preset result, and determine that the tested system correctly processes the first analog response when the processing result is the same as the preset result, that is, the test client passes the test on the Mock server; and when the processing result is different from the preset result, determining that the tested system does not process the first simulation response correctly, namely, the test of the tested system on the Mock server through the test client fails.
When the first simulation response is not processed correctly by the tested system, that is, the test of the tested system on the Mock server by the test client fails, the next simulation test of the tested system can be continued. When the next simulation test on the tested system is continued, the request parameters in the first simulation request can be modified to obtain the first simulation request of the next simulation test, and the first simulation request of the next simulation test is used as the simulation request for testing the tested system, so that the first simulation request of the next simulation test is subjected to simulation test. Other first simulation requests can be selected as simulation requests for testing the tested system, and further other first simulation requests can be used for simulation testing. Of course, the simulation test may be further repeated for the first simulation request of the present simulation test, which is not limited in the embodiment of the present disclosure.
It should be noted that, the tested system may record the processing result in the log after each processing of the first simulation response, the test client may display the log, and the developer may view the log through the test client.
In addition, when the Mock server detects that the first simulation request is in the temporary request queue, the number of target simulation requests in the temporary request queue can be counted, and when the number is 0, the first simulation request is deleted from the temporary request queue.
It should be noted that the first analog request may be represented by a protocol that includes at least one modifiable request parameter. When the request parameters of the first simulation request are modified, other simulation requests are available, and embodiments of the present disclosure refer to such simulation requests as target simulation requests. That is, the target simulation request refers to a simulation request that is different from the request parameters of the first simulation request, but has the same information other than the request parameters. And, the target simulation request has a corresponding target simulation response.
In one possible implementation, the target simulation requests in the temporary request queue are all obtained by modifying the request parameters of the first simulation request, and the Mock server may use the first simulation request as a reference simulation request of the target simulation request. Therefore, the Mock server can count the number of target simulation requests in the temporary request queue, and when the number is not 0, it is indicated that the target simulation requests exist in the temporary request queue, and the target simulation requests need to use the first simulation request as a reference of the target simulation requests, so that after the first simulation response corresponding to the first simulation request is returned to the test client, the first simulation request is still reserved in the temporary request queue. And when the number is 0, it indicates that there is no target simulation request in the temporary request queue, so the first simulation request may be deleted from the temporary request queue at this time.
When the Mock server uses the first simulation request as the reference simulation request of the target simulation request, the corresponding target simulation response may be configured for the target simulation request based on the first simulation response of the first simulation request, or other information corresponding to the target simulation request may be configured based on other information of the first simulation request.
It should be noted that, because the Mock server may configure a corresponding target simulation response for the target simulation request based on the first simulation response of the first simulation request, when the Mock server receives the target simulation request sent by the test client, the Mock server may return the target simulation response to the test client. And after a target simulation response is returned to the test client, the target simulation request can be deleted from the temporary request queue, so that the number of target simulation requests in the temporary request queue counted before is reduced by one, and the number of target simulation requests in the temporary request queue counted before can be reduced by 1. Until the number is reduced to 0, it indicates that the temporary request queue has no target analog request corresponding to the first analog request, and therefore the first analog request may be deleted from the temporary request queue at this time. As shown in fig. 5, fig. 5 is a schematic diagram of a Mock server performing a simulation test on a first simulation request according to a request queue.
In step 403, during the simulation test, the Mock server receives a configuration message sent by the test client for configuring the second simulation request.
In the simulation test process, that is, in the process that the test client sends the first simulation request to the Mock server, the Mock server performs the simulation test on the first simulation request according to the request queue, the test client can also send a configuration message for configuring the second simulation request to the Mock server, and the Mock server further receives the configuration message for configuring the second simulation request.
It should be noted that a configuration interface may be developed on the Mock server, where the configuration interface is specifically configured for the Mock server to receive the configuration message sent by the test client and used for configuring the second simulation request.
In addition, the Mock server may receive, in addition to the configuration message for configuring the second simulation request sent by the test client during the simulation test, a configuration message for configuring the third simulation request sent by the test client before the simulation test.
In step 404, the Mock server stores the second simulation request and a second simulation response of the second simulation request in a temporary request queue according to the configuration message.
Because the temporary request queue is used for storing the temporarily configured simulation requests and simulation responses in the simulation test process, the Mock server can receive the configuration message and store the second simulation requests and the second simulation responses of the second simulation requests into the temporary request queue according to the configuration message in the simulation test process, so as to update the temporary request queue.
In one possible implementation manner, the second simulation response of the second simulation request may be carried in a configuration message sent by the test client, or may be configured by the Mock server after receiving the configuration message sent by the test client. When the second simulation response is carried in the configuration message sent by the test client, the Mock server can acquire the second simulation request carried in the configuration message and the second simulation response of the second simulation request, and store the second simulation request and the second simulation response of the second simulation request into the temporary request queue. When the second simulation response is configured by the Mock server for the second simulation request, the Mock server can acquire the second simulation request according to the configuration message, configure a corresponding second simulation response for the second simulation request according to the configuration message, and store the second simulation request and the second simulation response of the second simulation request into the temporary request queue.
When the second simulation response is configured by the Mock server for the second simulation request, and the Mock server obtains the second simulation request according to the configuration message, the second simulation request may be modified by the first simulation request or may be carried in the configuration message. When the second simulation request is modified by the first simulation request, the Mock server can acquire the first simulation request, and modify the request parameters of the first simulation request according to the request parameters carried by the configuration message to obtain the second simulation request. When the second simulation request is carried in the configuration message, the Mock server may obtain the second simulation request carried in the configuration message.
It should be noted that, in one possible implementation manner of step 402, the Mock server may use the first simulation request as the reference simulation request of the target simulation request, and accordingly, the Mock server may configure a corresponding target simulation response for the target simulation request based on the first simulation response of the first simulation request. The second simulation request may also be a target simulation request, so when the second simulation request is a target simulation request, the Mock server configures a corresponding second simulation response for the second simulation request based on the first simulation response of the first simulation request in the process of configuring the corresponding second simulation response for the second simulation request according to the configuration message. Specifically, when the Mock server configures a corresponding second simulation response for the second simulation request based on the first simulation response of the first simulation request, the Mock server may acquire the first simulation response corresponding to the first simulation request, and modify the response parameter of the first simulation response according to the response parameter carried by the configuration message, so as to obtain the second simulation response.
In addition, the Mock server can receive the configuration message for configuring the second simulation request sent by the test client in the simulation test process, or receive the configuration message for configuring the third simulation request sent by the test client before the simulation test, and receive the configuration message for configuring the second simulation request sent by the test client in the simulation test process for temporarily configuring the simulation request. Therefore, when the Mock server receives the configuration message sent by the test client, it can determine whether the configuration message is a configuration message for configuring the second simulation request or a configuration message for configuring the third simulation request, that is, whether the configuration message is used for temporarily configuring the simulation request. When the configuration message is for a temporary configuration simulation request, the second simulation request and a second simulation response of the second simulation request are stored in the temporary request queue, i.e. the temporary request queue is updated. When the configuration message is not for temporarily configuring the simulation request, it is indicated that the configuration message was received prior to the simulation test, at which point a third simulation request and a third simulation response to the third simulation request may be stored in the native request queue, i.e., the native request queue is updated. As shown in fig. 6, fig. 6 is a schematic diagram of a Mock server updating a temporary request queue or an inherent request queue.
In the embodiment of the disclosure, since the Mock server may also receive the configuration message sent by the test client while performing the simulation test, and further configure the corresponding second simulation response for the second simulation request according to the configuration message, that is, the process of simulating the test and the process of configuring the simulation request in the embodiment of the disclosure are mutually independent. Thus, the efficiency of the simulation test is improved.
In the embodiment of the disclosure, a first simulation request for testing the tested system, which is sent by a testing client of the tested system, is received, and the first simulation request is subjected to simulation test according to a request queue. Since the request queue includes an intrinsic request queue and a temporary request queue, and the intrinsic request queue is used for storing a simulation request and a simulation response which are configured in advance before the simulation test, and the temporary request queue is used for storing the simulation request and the simulation response which are configured temporarily in the simulation test process, when a configuration message sent by the test client for configuring the second simulation request is received in the simulation test process, the second simulation request and the second simulation response of the second simulation request can be stored in the temporary request queue according to the configuration message. In this way, during the simulation test, the second simulation request can be dynamically configured through the temporary request queue, which provides flexibility of the simulation test.
Fig. 7 is a block diagram illustrating an apparatus 700 for simulating testing according to an example embodiment. As shown in fig. 7, the apparatus includes a test module 701, a reception module 702, and a storage module 703.
The test module 701 is configured to receive a first simulation request sent by a test client of a tested system and used for testing the tested system, and perform a simulation test on the first simulation request according to a request queue, where the request queue includes an intrinsic request queue and a temporary request queue, the intrinsic request queue is used for storing a simulation request and a simulation response that are pre-configured before the simulation test, and the temporary request queue is used for storing a simulation request and a simulation response that are temporarily configured in a simulation test process;
a receiving module 702, configured to receive a configuration message sent by the test client and used for configuring a second simulation request in the simulation test process;
a storage module 703, configured to store the second simulation request and a second simulation response of the second simulation request in the temporary request queue according to the configuration message.
In one possible implementation, the storage module 703 includes:
the first acquisition submodule is used for acquiring the second simulation request carried in the configuration message and the second simulation response of the second simulation request;
And the first storage submodule is used for storing the second simulation request and the second simulation response of the second simulation request into the temporary request queue.
In one possible implementation, the storage module 703 includes:
the second obtaining submodule is used for obtaining the second simulation request according to the configuration message;
a configuration sub-module, configured to configure the corresponding second simulation response for the second simulation request according to the configuration message;
and the second storage submodule is used for storing the second simulation request and the second simulation response of the second simulation request into the temporary request queue.
In one possible implementation, the second acquisition submodule includes:
the first acquisition unit is used for acquiring the first simulation request, and modifying the request parameters of the first simulation request according to the request parameters carried by the configuration message to obtain the second simulation request; or,
and the second acquisition unit is used for acquiring the second simulation request carried in the configuration message.
In one possible implementation, the configuration submodule includes:
the third acquisition unit is used for acquiring a first simulation response corresponding to the first simulation request;
And the modification unit is used for modifying the response parameters of the first simulation response according to the response parameters carried by the configuration message to obtain the second simulation response.
In one possible implementation, the test module 701 includes:
the detection submodule is used for detecting the request queue where the first simulation request is located;
a third obtaining sub-module, configured to obtain, when detecting that the first analog request is in the intrinsic request queue, a first analog response corresponding to the first analog request from the intrinsic request queue; when the first simulation request is detected to be in the temporary request queue, acquiring a first simulation response corresponding to the first simulation request from the temporary request queue;
and the return sub-module is used for returning the first simulation response to the test client.
In one possible implementation, the apparatus 700 further includes:
the statistics module is used for counting the number of target simulation requests in the temporary request queue when the first simulation request is detected to be in the temporary request queue, wherein the target simulation requests are simulation requests which are different from the request parameters of the first simulation request but have the same information except the request parameters;
And the deleting module is used for deleting the first simulation request from the temporary request queue when the number is 0.
In one possible implementation, the apparatus 700 further includes:
a discarding module configured to discard the first analog request when it is detected that the first analog request is neither in the intrinsic request queue nor in the temporary request queue.
In the embodiment of the disclosure, a first simulation request for testing the tested system, which is sent by a testing client of the tested system, is received, and the first simulation request is subjected to simulation test according to a request queue. Since the request queue includes an intrinsic request queue and a temporary request queue, and the intrinsic request queue is used for storing a simulation request and a simulation response which are configured in advance before the simulation test, and the temporary request queue is used for storing the simulation request and the simulation response which are configured temporarily in the simulation test process, when a configuration message sent by the test client for configuring the second simulation request is received in the simulation test process, the second simulation request and the second simulation response of the second simulation request can be stored in the temporary request queue according to the configuration message. In this way, during the simulation test, the second simulation request can be dynamically configured through the temporary request queue, which provides flexibility of the simulation test.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a schematic structural diagram of a Mock server according to an embodiment of the present disclosure; the Mock server800 may vary considerably in configuration or performance and may include one or more central processing units (central processing units, CPUs) 822 (e.g., one or more processors) and memory 832, one or more storage media 830 (e.g., one or more mass storage devices) storing applications 842 or data 844. Wherein the memory 832 and the storage medium 830 may be transitory or persistent. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, the central processor 822 may be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium 830 on the Mock server 800.
Mock server800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input/output interfaces 858, one or more keyboards 856, and/or one or more operating systems 841, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
The Mock server800 may be used to perform the steps performed by the Mock server in the method of performing the simulation test provided by the above embodiments.
The present disclosure also provides a computer-readable storage medium applied to a terminal, in which at least one instruction, at least one program, a code set, or an instruction set is stored, the instruction, the program, the code set, or the instruction set being loaded and executed by a processor to implement the operations performed by the terminal in the method of simulation test of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof.

Claims (12)

1. A method of simulating a test, the method comprising:
receiving a first simulation request sent by a test client of a tested system and used for testing the tested system, and performing simulation test on the first simulation request according to a request queue, wherein the request queue comprises an inherent request queue and a temporary request queue, the inherent request queue is used for storing a simulation request and a simulation response which are pre-configured before the simulation test, and the temporary request queue is used for storing the simulation request and the simulation response which are temporarily configured in the process of performing the simulation test on the first simulation request according to the request queue;
receiving a configuration message sent by the test client for configuring a second simulation request in the process of receiving the first simulation request and performing simulation test on the first simulation request according to the request queue;
acquiring the second simulation request carried in the configuration message and a second simulation response of the second simulation request; or, according to the configuration message, acquiring the second simulation request, and acquiring a first simulation response corresponding to the first simulation request; modifying the response parameters of the first simulation response according to the response parameters carried by the configuration message to obtain the second simulation response;
Storing the second simulated request and a second simulated response of the second simulated request in the temporary request queue.
2. The method of claim 1, wherein the obtaining the second simulation request from the configuration message comprises:
acquiring the first simulation request, and modifying the request parameters of the first simulation request according to the request parameters carried by the configuration message to acquire the second simulation request; or,
and acquiring the second simulation request carried in the configuration message.
3. The method of claim 1, wherein performing the simulation test on the first simulation request according to a request queue comprises:
detecting the request queue where the first simulation request is located;
when the first simulation request is detected to be in the inherent request queue, acquiring a first simulation response corresponding to the first simulation request from the inherent request queue; when the first simulation request is detected to be in the temporary request queue, acquiring a first simulation response corresponding to the first simulation request from the temporary request queue;
and returning the first simulation response to the test client.
4. A method as claimed in claim 3, wherein the method further comprises:
counting the number of target simulation requests in the temporary request queue when the first simulation request is detected to be in the temporary request queue, wherein the target simulation requests are simulation requests with different request parameters but the same information except the request parameters;
when the number is 0, the first simulated request is deleted from the temporary request queue.
5. A method as claimed in claim 3, wherein the method further comprises:
discarding the first analog request when the first analog request is detected to be neither in the intrinsic request queue nor in the temporary request queue.
6. An apparatus for analog testing, the apparatus comprising:
the test module is used for receiving a first simulation request sent by a test client of a tested system and used for testing the tested system, and carrying out simulation test on the first simulation request according to a request queue, wherein the request queue comprises an inherent request queue and a temporary request queue, the inherent request queue is used for storing a pre-configured simulation request and a simulation response before the simulation test, and the temporary request queue is used for storing the simulation request and the simulation response temporarily configured during the process of receiving the first simulation request and carrying out the simulation test on the first simulation request according to the request queue;
The receiving module is used for receiving a configuration message sent by the test client for configuring a second simulation request in the process of receiving the first simulation request and performing simulation test on the first simulation request according to the request queue;
the storage module is used for storing the second simulation request and a second simulation response of the second simulation request into the temporary request queue according to the configuration message;
the memory module includes:
the first acquisition submodule is used for acquiring the second simulation request carried in the configuration message and the second simulation response of the second simulation request;
a first storage sub-module configured to store the second simulation request and a second simulation response of the second simulation request into the temporary request queue;
alternatively, the storage module includes:
the second obtaining submodule is used for obtaining the second simulation request according to the configuration message;
the configuration submodule is used for acquiring a first simulation response corresponding to the first simulation request; modifying the response parameters of the first simulation response according to the response parameters carried by the configuration message to obtain the second simulation response;
And the second storage submodule is used for storing the second simulation request and the second simulation response of the second simulation request into the temporary request queue.
7. The apparatus of claim 6, wherein the second acquisition submodule comprises:
the first acquisition unit is used for acquiring the first simulation request, and modifying the request parameters of the first simulation request according to the request parameters carried by the configuration message to obtain the second simulation request; or,
and the second acquisition unit is used for acquiring the second simulation request carried in the configuration message.
8. The apparatus of claim 6, wherein the test module comprises:
the detection submodule is used for detecting the request queue where the first simulation request is located;
a third obtaining sub-module, configured to obtain, when detecting that the first analog request is in the inherent request queue, a first analog response corresponding to the first analog request from the inherent request queue; when the first simulation request is detected to be in the temporary request queue, acquiring a first simulation response corresponding to the first simulation request from the temporary request queue;
And the return sub-module is used for returning the first simulation response to the test client.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the statistics module is used for counting the number of target simulation requests in the temporary request queue when the first simulation request is detected to be in the temporary request queue, wherein the target simulation requests are simulation requests which are different from the request parameters of the first simulation request but have the same information except the request parameters;
and the deleting module is used for deleting the first simulation request from the temporary request queue when the number is 0.
10. The apparatus of claim 8, wherein the apparatus further comprises:
and the discarding module is used for discarding the first simulation request when the first simulation request is detected to be neither in the inherent request queue nor in the temporary request queue.
11. A Mock server, the Mock server comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1 to 5.
12. A computer readable storage medium having instructions stored thereon, which when executed by a processor, implement the steps of the method of any of claims 1 to 5.
CN201811069491.XA 2018-09-13 2018-09-13 Simulation test method and device, simulation server and storage medium Active CN110895507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811069491.XA CN110895507B (en) 2018-09-13 2018-09-13 Simulation test method and device, simulation server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811069491.XA CN110895507B (en) 2018-09-13 2018-09-13 Simulation test method and device, simulation server and storage medium

Publications (2)

Publication Number Publication Date
CN110895507A CN110895507A (en) 2020-03-20
CN110895507B true CN110895507B (en) 2023-10-20

Family

ID=69785314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811069491.XA Active CN110895507B (en) 2018-09-13 2018-09-13 Simulation test method and device, simulation server and storage medium

Country Status (1)

Country Link
CN (1) CN110895507B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151567A (en) * 1994-05-27 2000-11-21 Hamilton Sundstrand Corporation Data communication analysis and simulation tool
CN102833125A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Test server, test system adopting test server, and test method
CN103150238A (en) * 2011-12-07 2013-06-12 阿里巴巴集团控股有限公司 Service request processing method, simulation performance test method and simulation performance test device
CN103581247A (en) * 2012-07-30 2014-02-12 杭州洱海科技有限公司 Method for testing distributed type Web based on cloud computing environment
EP2882141A1 (en) * 2013-12-04 2015-06-10 Exfo Inc. Network test system
CN106031088A (en) * 2013-12-19 2016-10-12 谷歌公司 Systems, methods, and computer program products for service processing
CN106802859A (en) * 2015-11-25 2017-06-06 北京京东尚科信息技术有限公司 A kind of method and device of client software test
WO2017113848A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Testing method, testing platform and simulated testing device for test case
CN107547312A (en) * 2017-09-21 2018-01-05 广州四三九九信息科技有限公司 Applied program testing method and system
CN108199921A (en) * 2017-12-29 2018-06-22 上海瑞家信息技术有限公司 The method, apparatus and storage medium of a kind of simulation test
CN108228444A (en) * 2016-12-14 2018-06-29 阿里巴巴集团控股有限公司 A kind of test method and device
CN108512710A (en) * 2017-02-24 2018-09-07 腾讯科技(深圳)有限公司 Test method based on testing tool and testing tool

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8996921B2 (en) * 2012-11-08 2015-03-31 International Business Machines Corporation Indicating coverage of Web application testing
US20170300402A1 (en) * 2016-04-19 2017-10-19 Sap Se Mock server and extensions for application testing

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151567A (en) * 1994-05-27 2000-11-21 Hamilton Sundstrand Corporation Data communication analysis and simulation tool
CN102833125A (en) * 2011-06-17 2012-12-19 腾讯科技(深圳)有限公司 Test server, test system adopting test server, and test method
CN103150238A (en) * 2011-12-07 2013-06-12 阿里巴巴集团控股有限公司 Service request processing method, simulation performance test method and simulation performance test device
CN103581247A (en) * 2012-07-30 2014-02-12 杭州洱海科技有限公司 Method for testing distributed type Web based on cloud computing environment
EP2882141A1 (en) * 2013-12-04 2015-06-10 Exfo Inc. Network test system
CN106031088A (en) * 2013-12-19 2016-10-12 谷歌公司 Systems, methods, and computer program products for service processing
CN106802859A (en) * 2015-11-25 2017-06-06 北京京东尚科信息技术有限公司 A kind of method and device of client software test
WO2017113848A1 (en) * 2015-12-30 2017-07-06 中兴通讯股份有限公司 Testing method, testing platform and simulated testing device for test case
CN108228444A (en) * 2016-12-14 2018-06-29 阿里巴巴集团控股有限公司 A kind of test method and device
CN108512710A (en) * 2017-02-24 2018-09-07 腾讯科技(深圳)有限公司 Test method based on testing tool and testing tool
CN107547312A (en) * 2017-09-21 2018-01-05 广州四三九九信息科技有限公司 Applied program testing method and system
CN108199921A (en) * 2017-12-29 2018-06-22 上海瑞家信息技术有限公司 The method, apparatus and storage medium of a kind of simulation test

Also Published As

Publication number Publication date
CN110895507A (en) 2020-03-20

Similar Documents

Publication Publication Date Title
CN108256118B (en) Data processing method, device, system, computing equipment and storage medium
CN110765024A (en) Simulation test method, simulation test device, electronic equipment and computer-readable storage medium
CN108228444B (en) Test method and device
CN109726108B (en) Front-end code testing method, device, system and medium based on analog data
CN110474820B (en) Flow playback method and device and electronic equipment
CN109683997B (en) Method for accessing application program interface through sandbox, sandbox and sandbox equipment
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN112732499A (en) Test method and device based on micro-service architecture and computer system
CN108512682B (en) Method and device for determining false terminal identification
CN107220169B (en) Method and equipment for simulating server to return customized data
CN112181822A (en) Test method and test method for starting time consumption of application program
CN109656791B (en) gPC performance test method and device based on Jmeter
CN108647139B (en) System test method, device, storage medium and electronic device
CN108280024B (en) Flow distribution strategy testing method and device and electronic equipment
CN108345508B (en) Interface call testing method and device
CN107018039B (en) Method and device for testing performance bottleneck of server cluster
CN110895507B (en) Simulation test method and device, simulation server and storage medium
CN113961064B (en) Device interaction control method, device, equipment and storage medium based on workstation
CN113535580B (en) CTS test method, CTS test device and test equipment
CN112073462B (en) Positioning method and device
CN114745749A (en) Virtual network element testing method and device, electronic equipment and readable storage medium
CN112181802A (en) Test method and device
CN113852610A (en) Message processing method and device, computer equipment and storage medium
CN110489201B (en) Container performance testing device and method
CN105930260A (en) Method and apparatus for testing system availability

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
GR01 Patent grant
GR01 Patent grant