CN115237808A - Software online test method, device and system - Google Patents

Software online test method, device and system Download PDF

Info

Publication number
CN115237808A
CN115237808A CN202210973427.4A CN202210973427A CN115237808A CN 115237808 A CN115237808 A CN 115237808A CN 202210973427 A CN202210973427 A CN 202210973427A CN 115237808 A CN115237808 A CN 115237808A
Authority
CN
China
Prior art keywords
service
test
test service
basic configuration
configuration template
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
CN202210973427.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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210973427.4A priority Critical patent/CN115237808A/en
Publication of CN115237808A publication Critical patent/CN115237808A/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
    • 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

Abstract

The embodiment of the application provides a software online test method, a device and a system, wherein the method comprises the following steps: receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information, and deploying; receiving a test service query instruction sent by a service consumer, and returning a corresponding test service and a calling address according to the test service query instruction so that the service consumer calls the test service according to the calling address to execute software test operation; the application can effectively improve the testing efficiency.

Description

Software online test method, device and system
Technical Field
The application relates to the field of software testing, can also be used in the field of finance, and particularly relates to a software online testing method, device and system.
Background
The existing test scheme mainly relates to the aspects of test case design and execution, test environment construction and maintenance and test process management. After the test case design is completed, the tester prepares test data by self, and after the environment manager completes corresponding test environment configuration and deployment, the automatic test case is executed and the final test result is analyzed.
The inventor finds that the test data in the prior art is used as a core element of a test case, the preparation process is a very important link in the test process, the design and uncertainty of the test data and the data isolation between tests at present completely depend on testers, the requirement on the professional performance of the testers is strong, the preparation workload is large, and the data is maintained and stored by the testers. Meanwhile, as the iteration speed of the version is increased, the number of correspondingly configured test environments is increased, and the problems that the environment deployment and debugging are complex and unstable, the reuse rate is low, the environment abnormity cannot be timely obtained for repairing and the like are solved, so that the test efficiency is greatly reduced. In addition, the existing automatic cases only realize the separation of data and scripts, manual cases and automatic cases cannot be assembled freely, the case assembly flexibility is poor, and the problems of code redundancy, labor waste and the like caused by high joint test cost of a common interface provider, the fact that the same automatic test codes are compiled for the same technical class verification point by different applications and the like exist.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a software online testing method, device and system, which can effectively improve the testing efficiency.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a software online testing method, including:
receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information, and deploying;
and receiving a test service query instruction sent by a service consumer, and returning a corresponding test service and a call address according to the test service query instruction, so that the service consumer calls the test service according to the call address to execute software test operation.
Further, the receiving a basic configuration template selection instruction and test service writing information sent by a user, generating and deploying a corresponding test service according to the basic configuration template selection instruction and the test service writing information, includes:
receiving registration application information of a registration center sent by a user and carrying out identity authentication on the user;
and providing a preset basic configuration template for the user after the identity authentication is passed, and generating and deploying corresponding test service according to a basic configuration template selection instruction and test service compiling information sent by the user.
Further, before the receiving the basic configuration template selection instruction and the test service writing information sent by the user, the method further includes:
acquiring called information of each preset basic configuration template in a set time period;
and determining the corresponding availability grade according to the called information and providing the availability grade for a service consumer to display.
In a second aspect, the present application provides a software online testing method, including:
sending a test service query instruction to a service provider, and receiving a test service and a call address returned by the service provider, wherein the test service is generated and deployed correspondingly according to a basic configuration template selection instruction and test service compiling information after the service provider receives the basic configuration template selection instruction and the test service compiling information sent by a user;
and calling the test service according to the calling address to execute software test operation.
In a third aspect, the present application provides an online software testing apparatus, including:
the test service generation module is used for receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information and deploying the test service;
and the test service providing module is used for receiving a test service query instruction sent by a service consumer and returning a corresponding test service and a call address according to the test service query instruction so that the service consumer calls the test service according to the call address to execute software test operation.
In a fourth aspect, the present application provides an online software testing apparatus, including:
the test service selection module is used for sending a test service query instruction to a service provider and receiving a test service and a call address returned by the service provider, wherein the test service is generated and deployed correspondingly according to a basic configuration template selection instruction and test service compiling information after the service provider receives the basic configuration template selection instruction and the test service compiling information sent by a user;
and the test service calling module is used for calling the test service according to the calling address so as to execute software test operation.
In a fifth aspect, the present application provides an online software testing system, including a service provider and a service consumer;
the service provider includes:
the test service generation module is used for receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information and deploying the test service;
the test service providing module is used for receiving a test service query instruction sent by a service consumer and returning a corresponding test service and a calling address according to the test service query instruction so that the service consumer calls the test service according to the calling address to execute software test operation;
the service consumer includes:
the test service selection module is used for sending a test service query instruction to a service provider and receiving a test service and a call address returned by the service provider;
and the test service calling module is used for calling the test service according to the calling address so as to execute software test operation.
In a sixth aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the software online testing method when executing the program.
In a seventh aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the software online testing method.
In an eighth aspect, the present application provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the software online testing method.
According to the technical scheme, the software online testing method, the device and the system are provided, the testing service is generated by the service provider in a user-defined mode, so that the service consumer can flexibly select the required testing service and efficiently execute software testing work, and the testing efficiency can be effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following descriptions are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic flow chart of a software online testing method in an embodiment of the present application;
FIG. 2 is a second flowchart of the software online testing method according to the embodiment of the present application;
FIG. 3 is a third schematic flowchart illustrating an online software testing method according to an embodiment of the present application;
FIG. 4 is a fourth flowchart illustrating a software online testing method according to an embodiment of the present application;
FIG. 5 is a block diagram of an embodiment of a software online test apparatus;
FIG. 6 is a second block diagram of the software online test apparatus according to the embodiment of the present application;
FIG. 7 is a block diagram of a software online test system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet the relevant regulations of national laws and regulations.
In view of the problems in the prior art, the application provides a software online testing method, device and system, which generate testing services by a service provider in a user-defined manner, so that a service consumer can flexibly select required testing services and efficiently execute software testing work, and thus testing efficiency can be effectively improved.
In order to effectively improve the testing performance, the present application provides an embodiment of a software online testing method, where an executing subject may be a service provider, and referring to fig. 1, the software online testing method specifically includes the following steps:
step S101: and receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information, and deploying.
Optionally, the service provider of the present application may be oriented to the service consumer, and may also be a cloud portal oriented to the service consumer.
In a specific example, the front end of the service provider is built based on an NGINX server by using a technical framework of read + Ant Design, and the back end is built based on a Liberty middleware by using a technical framework of SpringBoot + Redis + Oracle.
Optionally, the service provider of the application can automatically capture the registered available service information in the micro-service framework registration center, and display the service information on the portal foreground, so that the tester can conveniently retrieve and call the existing test service.
Optionally, a tester of the service consumer may directly apply for using the registered service through the foreground portal, and may call the registered service only if the registered service is considered to conform to the test scenario of the tester without paying attention to the specific business process of the test service provider. In addition, the cloud portal provides a test service evaluation function, and for a test novice, the design details of the test service with high evaluation level can be checked in combination with the service level evaluated by service evaluation, and the design method of the excellent test service can be learned.
Step S102: and receiving a test service query instruction sent by a service consumer, and returning a corresponding test service and a call address according to the test service query instruction, so that the service consumer calls the test service according to the call address to execute software test operation.
Optionally, for the service provider of the present application, the registry of the present application is responsible for registering the test service; for the service consumer of the application, the search function of the registry is used during service consumption, and long connection is established for the service which can be found in the registry to execute test scheduling.
Optionally, the service provider of the present application further provides a monitoring center, for example, similar to heartbeat monitoring, and is responsible for counting parameters such as the number of calls and time of each service, and performing statistics and summary. And the actual service call is called by the consumer based on the soft load balancing algorithm of the weighted polling according to the address list provided by the registration center.
As can be seen from the above description, the software online testing method provided in the embodiment of the present application can generate the testing service by the service provider in a user-defined manner, so that the service consumer can flexibly select the required testing service and efficiently execute the software testing work, thereby effectively improving the testing efficiency.
In order to accurately generate the test service, in an embodiment of the software online test method of the present application, referring to fig. 2, the following may be further included:
step S201: and receiving registration application information of a registration center sent by a user and carrying out identity authentication on the user.
Step S202: and providing a preset basic configuration template for the user after the identity authentication is passed, and generating and deploying corresponding test service according to a basic configuration template selection instruction and test service compiling information sent by the user.
Optionally, a tester logs in a cloud portal, searches for the existing service, judges which service class the provided test service belongs to, and submits a service compiling application on the internal management platform; and compiling the provided test service by using the micro-service framework, and submitting the code after completing the development and test processes. After the system administrator audits, a provider deploys own services by using a basic PaaS deployment template provided by a portal, and then a system micro-service center registers the services and notifies a cloud portal, and service list information is updated;
optionally, the service provider performs service verification at the cloud portal, and completes and supplements corresponding information of the corresponding service at the cloud portal, such as description, usage and the like; and the system administrator registers and archives the completed service description in the inner pipe platform, and meanwhile, periodically pushes excellent public test cases to the cloud portal by combining the calling times, user scores, calling success rates and current test key points of each service.
In order to provide the availability levels of the test services for the service consumers, in an embodiment of the software online test method of the present application, referring to fig. 3, the following may be further included:
step S301: and acquiring the called information of each preset basic configuration template in a set time period.
Step S302: and determining the corresponding availability grade according to the called information and providing the availability grade for a service consumer to display.
Optionally, the service provider of the present application further provides a monitoring center, for example, similar to heartbeat monitoring, and is responsible for counting parameters such as the number of calls and time of each service, and performing statistics and summary. The actual service call is called by the consumer based on the soft load balancing algorithm of the weighted polling according to the address list provided by the registration center.
In order to effectively improve the testing performance, the present application provides an embodiment of a software online testing method, where an execution subject may be a service consumer, and referring to fig. 4, the software online testing method specifically includes the following steps:
step S401: the method comprises the steps of sending a test service query instruction to a service provider, and receiving a test service and a call address returned by the service provider, wherein the test service is generated and deployed correspondingly according to a basic configuration template selection instruction and test service compiling information after the service provider receives the basic configuration template selection instruction and the test service compiling information sent by a user.
Step S402: and calling the test service according to the calling address to execute software test operation.
Optionally, the service consumer service caller logs in the cloud portal, and searches the required test service and the corresponding use method thereof by using the service search function; and writing a test service calling code for calling.
As can be seen from the above description, the software online testing method provided in the embodiment of the present application can generate the testing service by the service provider in a user-defined manner, so that the service consumer can flexibly select the required testing service and efficiently execute the software testing work, thereby effectively improving the testing efficiency.
In order to effectively improve the testing performance, the present application provides an embodiment of a software online testing apparatus for implementing all or part of the contents of the software online testing method, and referring to fig. 5, the software online testing apparatus specifically includes the following contents:
the test service generation module 10 is configured to receive a basic configuration template selection instruction and test service writing information sent by a user, generate a corresponding test service according to the basic configuration template selection instruction and the test service writing information, and deploy the test service.
The test service providing module 20 is configured to receive a test service query instruction sent by a service consumer, and return a corresponding test service and a call address according to the test service query instruction, so that the service consumer calls the test service according to the call address to execute a software test operation.
As can be seen from the above description, the software online testing device provided in the embodiment of the present application can generate the testing service by the service provider in a user-defined manner, so that the service consumer can flexibly select the required testing service and efficiently execute the software testing operation, thereby effectively improving the testing efficiency.
In order to effectively improve the testing performance, the present application provides an embodiment of a software online testing apparatus for implementing all or part of the contents of the software online testing method, and referring to fig. 6, the software online testing apparatus specifically includes the following contents:
the test service selection module 30 is configured to send a test service query instruction to a service provider, and receive a test service and a call address returned by the service provider, where the test service is generated and deployed according to a basic configuration template selection instruction and test service writing information, which are sent by a user, after the service provider receives the basic configuration template selection instruction and the test service writing information.
And the test service calling module 40 is used for calling the test service according to the calling address so as to execute software test operation.
As can be seen from the above description, the software online testing device provided in the embodiment of the present application can generate the testing service by the service provider in a user-defined manner, so that the service consumer can flexibly select the required testing service and efficiently execute the software testing operation, thereby effectively improving the testing efficiency.
To further explain the present solution, the present application further provides a specific application example of a testing system for implementing the software online testing method by using the above software online testing apparatus, which specifically includes a service provider and a service consumer, with reference to fig. 7.
The service provider includes:
the test service generation module is used for receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information and deploying the test service;
the test service providing module is used for receiving a test service query instruction sent by a service consumer and returning a corresponding test service and a calling address according to the test service query instruction so that the service consumer calls the test service according to the calling address to execute software test operation;
the service consumer includes:
the test service selection module is used for sending a test service query instruction to a service provider and receiving a test service and a call address returned by the service provider;
and the test service calling module is used for calling the test service according to the calling address so as to execute software test operation.
In terms of hardware, in order to effectively improve the testing performance, the present application provides an embodiment of an electronic device for implementing all or part of the contents of the software online testing method, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the software online testing device and relevant equipment such as a core service system, a user terminal, a relevant database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may be implemented with reference to the embodiment of the software online testing method and the embodiment of the software online testing apparatus in the embodiments, and the contents thereof are incorporated herein, and repeated descriptions are omitted.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), a vehicle-mounted device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the software online testing method may be executed on the electronic device side as described above, or all operations may be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit) and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
Fig. 8 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 8, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this FIG. 8 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the software in-circuit test method functions may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
step S101: and receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information, and deploying.
Step S102: and receiving a test service query instruction sent by a service consumer, and returning a corresponding test service and a call address according to the test service query instruction, so that the service consumer calls the test service according to the call address to execute software test operation.
As can be seen from the above description, the electronic device provided in the embodiment of the present application generates the test service by the service provider in a customized manner, so that the service consumer can flexibly select the required test service and efficiently execute the software test operation, thereby effectively improving the test efficiency.
In another embodiment, the software online testing device may be configured separately from the central processor 9100, for example, the software online testing device may be configured as a chip connected to the central processor 9100, and the software online testing method function may be implemented by the control of the central processor.
As shown in fig. 8, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 8; in addition, the electronic device 9600 may further include components not shown in fig. 8, which may be referred to in the prior art.
As shown in fig. 8, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., read Only Memory (ROM), random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes referred to as an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
A plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, can be provided in the same electronic device based on different communication technologies. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps in the software online testing method with the execution subject being the server or the client in the foregoing embodiments, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps in the software online testing method with the execution subject being the server or the client in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step S101: and receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information, and deploying.
Step S102: and receiving a test service query instruction sent by a service consumer, and returning a corresponding test service and a call address according to the test service query instruction, so that the service consumer calls the test service according to the call address to execute software test operation.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application generates the test service by the service provider in a customized manner, so that the service consumer can flexibly select the required test service and efficiently execute the software test operation, thereby effectively improving the test performance.
Embodiments of the present application further provide a computer program product capable of implementing all steps in the software online testing method in which the execution subject in the above embodiments is a server or a client, and when being executed by a processor, the computer program/instruction implements the steps of the software online testing method, for example, the computer program/instruction implements the following steps:
step S101: receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information, and deploying;
step S102: and receiving a test service query instruction sent by a service consumer, and returning a corresponding test service and a call address according to the test service query instruction, so that the service consumer calls the test service according to the call address to execute software test operation.
As can be seen from the above description, the computer program product provided in the embodiment of the present application generates the testing service in a customized manner through the service provider, so that the service consumer can flexibly select the required testing service and efficiently execute the software testing operation, thereby effectively improving the testing efficiency.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A software online testing method is applied to a service provider, and the method comprises the following steps:
receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information, and deploying;
and receiving a test service query instruction sent by a service consumer, and returning a corresponding test service and a call address according to the test service query instruction, so that the service consumer calls the test service according to the call address to execute software test operation.
2. The software online testing method of claim 1, wherein the receiving of the basic configuration template selection instruction and the test service writing information sent by the user, the generating and deployment of the corresponding test service according to the basic configuration template selection instruction and the test service writing information, comprises:
receiving registration application information of a registration center sent by a user and carrying out identity authentication on the user;
and providing a preset basic configuration template for the user after the identity authentication is passed, and generating and deploying corresponding test service according to a basic configuration template selection instruction and test service compiling information sent by the user.
3. The online software testing method according to claim 1, further comprising, before the receiving the basic configuration template selection instruction and the testing service composition information sent by the user:
acquiring called information of each preset basic configuration template in a set time period;
and determining the corresponding availability grade according to the called information and providing the availability grade for a service consumer to display.
4. A software online testing method is applied to a service consumer, and the method comprises the following steps:
sending a test service query instruction to a service provider, and receiving a test service and a call address returned by the service provider, wherein the test service is generated and deployed correspondingly according to a basic configuration template selection instruction and test service compiling information after the service provider receives the basic configuration template selection instruction and the test service compiling information sent by a user;
and calling the test service according to the calling address to execute software test operation.
5. An online software testing device, comprising:
the test service generation module is used for receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information and deploying the test service;
and the test service providing module is used for receiving a test service query instruction sent by a service consumer and returning a corresponding test service and a calling address according to the test service query instruction so that the service consumer calls the test service according to the calling address to execute software test operation.
6. An online software testing device, comprising:
the test service selection module is used for sending a test service query instruction to a service provider and receiving a test service and a call address returned by the service provider, wherein the test service is generated and deployed correspondingly according to a basic configuration template selection instruction and test service compiling information after the service provider receives the basic configuration template selection instruction and the test service compiling information sent by a user;
and the test service calling module is used for calling the test service according to the calling address so as to execute software test operation.
7. The software online testing system is characterized by comprising a service provider and a service consumer;
the service provider includes:
the test service generation module is used for receiving a basic configuration template selection instruction and test service compiling information sent by a user, generating corresponding test service according to the basic configuration template selection instruction and the test service compiling information and deploying the test service;
the test service providing module is used for receiving a test service query instruction sent by a service consumer and returning a corresponding test service and a calling address according to the test service query instruction so that the service consumer calls the test service according to the calling address to execute software test operation;
the service consumer includes:
the test service selection module is used for sending a test service query instruction to a service provider and receiving a test service and a call address returned by the service provider;
and the test service calling module is used for calling the test service according to the calling address so as to execute software test operation.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the software online testing method according to any of claims 1 to 4 are implemented when the processor executes the program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the software online testing method of any one of claims 1 to 4.
10. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the steps of the software in-line testing method of any of claims 1 to 4.
CN202210973427.4A 2022-08-15 2022-08-15 Software online test method, device and system Pending CN115237808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210973427.4A CN115237808A (en) 2022-08-15 2022-08-15 Software online test method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210973427.4A CN115237808A (en) 2022-08-15 2022-08-15 Software online test method, device and system

Publications (1)

Publication Number Publication Date
CN115237808A true CN115237808A (en) 2022-10-25

Family

ID=83679938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210973427.4A Pending CN115237808A (en) 2022-08-15 2022-08-15 Software online test method, device and system

Country Status (1)

Country Link
CN (1) CN115237808A (en)

Similar Documents

Publication Publication Date Title
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN104765678A (en) Method and device for testing applications on mobile terminal
CN110908875B (en) Inspection method and device based on operation terminal
CN110990228A (en) Data interface monitoring method and device
CN112463634B (en) Software testing method and device under micro-service architecture
CN110764881A (en) Distributed system background retry method and device
CN111464352A (en) Call link data processing method and device
CN111782470A (en) Distributed container log data processing method and device
CN113435989A (en) Financial data processing method and device
CN111782473A (en) Distributed log data processing method, device and system
CN114489989A (en) Method and system for parallel scheduling based on proxy client
CN111897738B (en) Automatic testing method and device based on atomic service
CN111767558A (en) Data access monitoring method, device and system
CN115237808A (en) Software online test method, device and system
CN114637531A (en) Method and device for dynamically generating application program interface
CN114840421A (en) Log data processing method and device
CN114285657A (en) Firewall security policy change verification method and device
CN113791984A (en) Automatic interface testing method and device
CN113377385A (en) Client automatic deployment method and device
CN113434423A (en) Interface test method and device
CN113050985A (en) Front-end engineering dependence automatic registration method and device
CN111930624A (en) Test link message data processing method and device
CN111930625A (en) Log obtaining method, device and system based on cloud service platform
CN113419953A (en) Test data processing method, device and system
CN112988603B (en) Big data test case generation method and device

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