CN114281707A - Number making method, service application testing method and related equipment thereof - Google Patents

Number making method, service application testing method and related equipment thereof Download PDF

Info

Publication number
CN114281707A
CN114281707A CN202210029848.1A CN202210029848A CN114281707A CN 114281707 A CN114281707 A CN 114281707A CN 202210029848 A CN202210029848 A CN 202210029848A CN 114281707 A CN114281707 A CN 114281707A
Authority
CN
China
Prior art keywords
service
task
request
data
manufacture
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
CN202210029848.1A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202210029848.1A priority Critical patent/CN114281707A/en
Publication of CN114281707A publication Critical patent/CN114281707A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application belongs to the field of artificial intelligence and relates to a number making method and a service application testing method. The method comprises the steps of receiving a number request, wherein the number request comprises service node information; acquiring a plurality of sub-scripts corresponding to the service node information based on the number making request, and integrating the plurality of sub-scripts to obtain an integrated script; acquiring original data from a database, executing an integration script by the original data, and constructing a number making task; and outputting the manufacture number data when the manufacture number task is successful. The service application testing method adopts the manufacture data obtained by the manufacture method to test, can automatically execute the test to the service node to be tested, and directly starts the test from the service node to be tested, thereby reducing the redundant workload and improving the testing efficiency. The embodiment of the application also provides a number making platform, a service application testing device, computer equipment and a storage medium.

Description

Number making method, service application testing method and related equipment thereof
Technical Field
The present application relates to the field of artificial intelligence technologies, and in particular, to a number generation method, a service application testing method, and related devices.
Background
With the background of the complicated global economic situation, the online loan service is gradually becoming a trend. With the continuous development, more and more service types are provided, and each different service type has a different service operation flow. Before different types of services are brought to the market, a large number of tests need to be performed on the application of the service to ensure that the service type can be smoothly popularized.
At the time of testing, customer data such as name, identification number, mobile phone number and the like capable of running the application are generally obtained through the number making platform. The existing client data obtained through the build platform is only data in an initial state, and if newly developed service applications need to be tested, the newly developed service applications need to be tested step by step according to process nodes, and the testing can not be started aiming at the service applications of the service types until the service nodes of the new service types are operated.
Disclosure of Invention
An embodiment of the present application is directed to a method for manufacturing a number, a method for testing a service application, and related devices, so as to solve or alleviate one or more technical problems in the prior art.
As a first aspect of an embodiment of the present application, an embodiment of the present application provides a method for manufacturing a number, including:
receiving a number request, wherein the number request comprises service node information;
acquiring a plurality of sub-scripts corresponding to the service node information based on the number making request, and integrating the plurality of sub-scripts to obtain an integrated script;
acquiring original data from a database, executing an integration script by the original data, and constructing a number making task;
and outputting the manufacture number data when the manufacture number task is successful.
In one embodiment, before receiving the request for the number of copies, the method further comprises:
receiving a login request, responding to the login request, generating a login identifier, and outputting the login identifier to a front-end interface; the login identification carries the information of the number making authority;
the number request also comprises a login identifier, and after receiving the number request, the method further comprises the following steps:
and judging whether the service node information has the number making authority or not based on the login identification, and if so, executing the number making request.
In one embodiment, the request for a number further includes a type of service;
based on the number making request, acquiring a plurality of sub-scripts corresponding to the service node information, and integrating the plurality of sub-scripts to obtain an integrated script, wherein the method specifically comprises the following steps:
acquiring script sets of all service nodes in a service flow of a service type;
and acquiring a plurality of sub-scripts in front of the service node corresponding to the service node information in the service flow of the service type based on the service type and the service node information, and integrating the plurality of sub-scripts to obtain an integrated script.
In one embodiment, after obtaining the raw data from the database, executing the integration script with the raw data, and constructing the manufacturing task, the method further includes:
generating a task identifier corresponding to the number making task, and outputting the task identifier to a front-end interface;
and receiving a query request, wherein the query request comprises a task identifier, and querying the state of the number making task corresponding to the task identifier based on the task identifier.
In one embodiment, the request for the number of copies further includes information on whether to mask the historical data; if so, then
Acquiring original data from a database, executing an integration script by the original data, and constructing a number making task, wherein the number making task comprises the following steps:
acquiring a historical number making task based on the login identification;
acquiring historical original data of the historical numbering task based on the historical numbering task;
and acquiring original data from the database, judging whether the original data is the same as the historical original data, if so, giving up the original data, and continuously acquiring new original data.
As a second aspect of the embodiments of the present application, an embodiment of the present application provides a service application testing method, including:
calling Webdriver in a Selenium library to access a service application end;
receiving the data of the number, wherein the data of the number is obtained by the number method of any one of the above embodiments;
executing automatic operation to enable the manufacture data to be executed to a process node corresponding to the service node information at the service application end;
starting from the flow node, a test is performed.
As a third aspect of the embodiments of the present application, an embodiment of the present application provides a numbering platform, including:
a number request receiving module, configured to receive a number request, where the number request includes service node information;
the script integration module is used for acquiring a plurality of sub-scripts corresponding to the service node information based on the number making request and integrating the plurality of sub-scripts to obtain an integrated script;
the task construction module is used for acquiring original data from the database, executing the integration script by the original data and constructing the number making task;
and the data output module is used for outputting the manufacture number data under the condition that the manufacture number task is in a successful state.
As a fourth aspect of the embodiments of the present application, an embodiment of the present application provides a service application testing apparatus, including:
the service application access module is used for calling the Webdriver in the Selenium library to access a service application end;
a data receiving module, configured to receive the manufacture data, where the manufacture data is obtained from the manufacture platform according to the embodiment of the third aspect;
the automatic operation module is used for executing automatic operation so that the manufacture data is executed to the process node corresponding to the service node information at the service application end;
and the test execution module is used for executing the test from the flow node.
As a fifth aspect of the embodiments of the present application, an embodiment of the present application provides a computer device, which includes a memory and a processor, where the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the manufacturing method of any aspect of the foregoing embodiments and/or the steps of any embodiment.
As a sixth aspect of the embodiments of the present application, an embodiment of the present application provides a computer-readable storage medium, on which computer-readable instructions are stored, and the computer-readable instructions, when executed by a processor, implement the steps of the data making method of any aspect of the foregoing embodiments and/or the business application testing method of any embodiment.
Compared with the prior art, the embodiment of the application at least comprises the following beneficial effects:
by adopting the technical scheme, the number making request comprises specific service node information, the number making platform makes numbers according to the service node information, and after the original data can be acquired, the integration script corresponding to the service node information is executed, so that the number making data with successful number making can be automatically executed to the service node to be tested, the test is directly started from the required service node when the subsequent test is convenient, the redundant workload is reduced, and the test efficiency is improved.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings needed for describing the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method of making numbers according to the present application;
FIG. 3 is a flowchart of one embodiment of step S220 of FIG. 2;
FIG. 4 is a flowchart of one embodiment of step S230 of FIG. 2;
FIG. 5 is a flow diagram of one embodiment of a business application testing method according to the present application;
FIG. 6 is a block diagram of an embodiment of an numbering platform according to the present application;
FIG. 7 is a block diagram of another embodiment of a build platform according to the present application;
FIG. 8 is a block diagram of an embodiment of a business application testing apparatus according to the present application;
FIG. 9 is a block diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that the number making method and the service application testing method provided in the embodiments of the present application are generally executed by a terminal device, and accordingly, the number making platform and the service application testing apparatus are generally disposed in the terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
FIG. 2 shows a flow diagram of one embodiment of an identification method according to the present application. As shown in fig. 2, the method for manufacturing numbers according to the embodiment of the present application includes the following steps:
s210, receiving a number request, wherein the number request comprises service node information;
the service node information may be an initial service node to be tested, which is determined by the user according to the testing requirement.
In one example, a service test for a payment is required, and the service node of the make and number request may be the first node of the payment service, for example, a payment application node.
In an application scenario, the service node information may also be a service node that is determined by the user according to the test requirement and is previous to the initial service node that needs to be tested. Illustratively, a repayment service test is required, the first node of the repayment service is a repayment application node, and the last service node of the repayment application node is a loan success node. The service node of the manufacture request may be a loan success node. And the obtained manufacturing number data can start from the loan success node to execute the repayment application node.
Specifically, the user may input the service node information of the manufacture request according to the configuration condition of the manufacture platform and the test requirement.
S220, acquiring a plurality of sub-scripts corresponding to the service node information based on the number making request, and integrating the plurality of sub-scripts to obtain an integrated script;
for example, the node for approval by audit needs to execute the nodes of identity registration, loan transaction and contract confirmation before the node for approval by audit comes to the node for approval by audit. And under the condition that the node information is an audit approval node, integrating the sub-scripts of identity registration, loan transaction and contract signing confirmation to obtain an integrated script. S230, acquiring original data from the database, executing an integration script by the original data, and constructing a number making task;
the database can be a background database of the service application end, and original data can be obtained from the database, wherein the original data can comprise names, identity card numbers or mobile phone numbers and the like. And executing the integration script by using the original data to construct the number making task. And completing the manufacture number when the integrated script is executed.
In an example, the node information in the task information may be a node of a historical service type, and is not a node of a newly developed service type of the test task at this time. For example, if the newly developed service type is installment, the node information of the construction number may be the node of the loan service. And starting to execute the installment service from the node where the loan is successful, and realizing the test of the installment service. It is understood that the sub-scripts of the service nodes associated with the service nodes with successful loan may be associated according to preset settings.
And S240, outputting the manufacture number data when the manufacture number task is successful.
According to the number making method provided by the embodiment of the application, when the original data is obtained, the integrated script is executed, and a period of time is required. The number making platform can output the number making data under the condition that the number making task is successfully completed. When the man-made task has obstacles, the obstacle information of the man-made task can be output; or if the number making task fails, outputting the information of the number making failure. The output related information can be output to an account system of the user. The user can obtain the relevant information of the number making task after logging in the number making platform.
In one example, the user may also query the number making state of the corresponding task in a query manner, so as to timely learn the number making progress and avoid blindly waiting for the number making result.
In this embodiment, an electronic device on which the number generation method operates, such as the terminal device shown in fig. 1, may receive the number generation request through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G/5G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
In the embodiment of the application, the number making request comprises specific service node information, the number making platform makes numbers according to the service node information, and after the original data is obtained, the integration script corresponding to the service node information can be executed, so that the number making data with successful number making can be automatically executed to the service node to be tested, when the subsequent test is convenient, the test can be directly started from the required service node, the redundant workload is reduced, and the test efficiency is improved.
In one embodiment, before step S210, the method further includes:
receiving a login request, responding to the login request, generating a login identifier, and outputting the login identifier to a front-end interface; the login identification carries the information of the number making authority.
The user can log in the number making platform through the login account and the login password. The login account may be a login account registered in the build platform and used for logging in the build platform, or may be a login account that can be used by other authorized service management systems in a correlated manner. The login account number may be a job number or any other form of number. And logging in the number making platform through the login account, so that the user can perform number making operation on the number making platform.
After a user logs in the build platform through a login account, the build platform may acquire information associated with the login account, for example, department information of the user, position information of the user, authority information of the user, and the like. The authority information of the user may be matched with department information and position information, that is, the authority information may be corresponding to the user of a specific position in a specific department. The number making platform responds to a login request of a user and can generate a login identifier according to a login account number, department information, position information, login times, login date and the like; the authorization code corresponding to the authorization information can be generated by reading other information associated with the login account to obtain the authorization information of the user, and the authorization code is combined with other information to generate the login identifier. And after the log-in identifier is generated by the numbering platform, the log-in identifier is output to a front-end interface so that the related information can be read when the log-in identifier is acquired.
The information of the number making authority of the user can be obtained by reading the department information and the position information in the login identification, and the information of the number making authority of the user corresponding to the position of the department can also be obtained by the authority code representing the user authority in the login identification.
In an exemplary application scenario, the staff members supervising different service ports have different service processing rights. For example, a worker at the software development end may have the authority to test all the process nodes; the staff at the loan application end can have the authority of the process nodes such as identity registration, loan transaction, contract signing confirmation, examination and approval and the like; the working personnel at the mortgage transaction end can have the authority of the process nodes such as mortgage application, information proofreading, audit approval and the like.
In one example, the permission code may be an identifier of the flow node, for example, if the identifier of the flow node for identity registration is "a 1", then the preset position of the login identifier is "a 1", so that in the case that the login identifier is read, it can be known that the login account has the permission to test the "a 1" node.
In one embodiment, the request for the number of copies further includes a login id, and after step S210, the method further includes:
and judging whether the service node information has the number making authority or not based on the login identification, and if so, executing the number making request.
After the number making platform obtains the number making request, the login identification of the user can be read, and the number making authority information of the user can be obtained from the login identification.
The service node information of the user number making request is matched with the number making authority of the user, the number making request is executed, and the waste of data resources caused by the fact that the user without the authority obtains the number making data is avoided.
In one embodiment, the request for a number further includes a type of service; as shown in fig. 3, step S220 specifically includes:
s221, acquiring script sets of all service nodes in the service flow of the service type.
In an application example, the sub-scripts of a plurality of service nodes are collected according to service types, a service flow of a service type comprises a plurality of different service nodes, each service node has a corresponding sub-script, the plurality of sub-scripts belonging to the service type are integrated, and the integrated script is executed, so that a complete service type can be executed.
Illustratively, the service type is loan service, and the service nodes include: user registration, loan application, loan approval, loan issuance, repayment reminding, and the like. And identifying the sub-scripts respectively corresponding to the user registration, the loan application, the loan approval, the loan issuance and the repayment reminding as the service types of the loan service. In the case where the service type of the request for obtaining the number of purchases is a loan service, a script set of sub-scripts respectively corresponding to user registration, loan application, loan approval, loan issuance, and repayment reminder may be called.
S222, based on the service type and the service node information, acquiring a plurality of sub-scripts in front of the service node corresponding to the service node information in the service flow of the service type, and integrating the plurality of sub-scripts to obtain an integrated script.
Illustratively, under the condition that the service type is loan service and the service node information is loan approval, a plurality of sub-scripts before the loan approval, namely, sub-scripts corresponding to user registration and loan application, are obtained. And integrating the sub-scripts corresponding to the user registration and the loan application to obtain an integrated script.
In the embodiment of the application, the sub-scripts are collected according to the service types, so that the sub-scripts corresponding to the service node information can be conveniently and quickly obtained, and the number making efficiency is improved.
In one embodiment, after step S230, the method further includes:
generating a task identifier corresponding to the number making task, and outputting the task identifier to a front-end interface;
and receiving a query request, wherein the query request comprises a task identifier, and querying the state of the number making task corresponding to the task identifier based on the task identifier.
The task identifier may only include an ID identifier indicating the task, or may include related information of the user, such as department information, identity information, or account information, in addition to the ID identifier. The task identifier is used for identifying different number making tasks, and the state information of the corresponding number making task can be inquired and obtained through the task identifier.
In one example, a task identifier may be generated from a manufacture request, and status information of a plurality of tasks in the manufacture request may be queried through the task identifier.
In one example, the number request may be a plurality of tasks in one number request, a task identifier is generated for each task, and the state information of the number task is queried through the task identifier.
In one example, under the condition of acquiring a state query request, querying the state of a task in a circular traversal mode, and under the condition that a data making task is not executed and completed, outputting fields such as 'please wait, wait { } second' and the like to a front-end interface; in the case of a successful manufacture, a field such as "manufacture successful" is output to the front-end interface.
In one example, a query request is received, where the query request may also include a return parameter, which may cause the build platform to return the required parameter as required by the return parameter. For example. The return parameter can be the name of the client, the identification number of the client, the mobile phone number of the client, the script identification of the number, the script version information of the number, and the like.
In one embodiment, the request for the number of copies further includes information on whether to mask the historical data; if so, as shown in fig. 4, step S230 includes:
s231, acquiring a historical number making task based on the login identification;
s232, acquiring historical original data of the historical numbering task based on the historical numbering task;
and S233, acquiring the original data from the database, judging whether the original data is the same as the historical original data, if so, abandoning the original data, and continuously acquiring new original data.
The login identifier may include information such as a login account, login times, and login date. The history needs to be logged in through the login account number every time the number is manufactured, and the generated login identification identifies the history login number, login date and the like of each login. The build platform may record and maintain such historical task information. Therefore, through the login identification, the historical manufacture task can be obtained.
The history number task may record the history number, the number data outputted after the history number is successfully generated, the original data of the history number, the service node information of the history number, and the like.
In an exemplary application scenario, different testing tasks may have different testing requirements. There may be different requirements on the raw data acquired. For example, user a may perform multiple manufacturing and multiple testing operations in the same testing task. In this case it may be desirable that the data used in the later test is different from the data used in the previous test, i.e. that a different sample of data is tested. Therefore, it is not desirable that the data obtained by the parity is the same as the previous data. According to the method and the device, whether the original data are the same as the historical original data or not is judged, if yes, the original data are abandoned, and new original data are continuously obtained. And the individual requirements are met.
In order to solve the above technical problem, an embodiment of the present application further provides a service application testing method. Fig. 5 is a flowchart illustrating a service application testing method according to an embodiment of the present application, and as shown in fig. 5, the service application testing method includes the following steps:
s310, calling Webdriver in a Selenium library to access a service application end;
s320, receiving the data of the manufactured number, the data of the manufactured number being obtained by the manufacturing method according to any of the above embodiments;
s330, executing automatic operation to enable the manufacture data to be executed to a process node corresponding to the service node information at the service application end;
s340, starting from the flow node, executes the test.
According to the embodiment of the application, the simulation touch operation can be realized by calling the webdriver in the selenium library. And clicking operation in an element positioning point mode to automatically execute the corresponding integration script. After the execution of the flow nodes in the script to be integrated is completed, the test data is already run to the flow nodes to be tested, so that a user can start testing from the flow nodes to be tested, the workload of testing is reduced, and the testing efficiency is improved.
The method comprises the steps that the manufacture data obtained through the manufacture method automatically execute the process node corresponding to the service node information in the manufacture request in the webdriver in the vendor library. So that the worker can start the testing task from the flow node. The test flow can be simplified, and the test efficiency is improved.
According to the embodiment of the application, the integrated script of the plurality of sub-scripts corresponding to the service node information in the number making request is automatically executed through clicking operation in an element positioning point mode.
And under the condition that the data operation of the manufactured number is completed by the previous node, the node of the test task can be executed to complete the test.
It is emphasized that the original data or the manufactured data may also be stored in a node of a block chain in order to further ensure the privacy and security of the original data or the manufactured data.
The block chain referred by the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The application relates to a financial business application processing system which is an important tool for macroscopic economic research and analysis. Is beneficial to promoting and promoting the further development of the standardization and globalization of the economic business system.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer readable instructions, which can be stored in a computer readable storage medium, and when executed, the processes of the embodiments of the methods described above can be included. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
An embodiment of the present application further provides a numbering platform, fig. 6 shows a block diagram of a structure of a numbering platform 600 according to an embodiment of the present application, and as shown in fig. 6, the numbering platform 600 includes:
a number request receiving module 610, configured to receive a number request, where the number request includes service node information.
And the script integration module 620 is configured to obtain multiple sub-scripts corresponding to the service node information based on the number request, and integrate the multiple sub-scripts to obtain an integrated script.
The task construction module 630 is configured to obtain raw data from the database, execute the integration script with the raw data, and construct the configuration task.
And a data output module 640, configured to output the manufacture number data when the manufacture number task is in a successful state.
In one embodiment, as shown in fig. 7, the build platform 600 further comprises:
the login module 650 is configured to receive a login request, generate a login identifier in response to the login request, and output the login identifier to the front-end interface; the login identification carries the information of the number making authority;
the request for the number of copies further includes a login identifier, and the number of copies platform 600 further includes:
the number authority determining module 660 is configured to determine, after receiving the number request, whether the user has the number authority of the service node information based on the login identifier, and if so, execute the number request.
In one embodiment, the request for a number further includes a type of service; script integration module 620, comprising:
a script set obtaining submodule 621, configured to obtain script sets of all service nodes in a service flow of a service type;
the script integration sub-module 622 is configured to obtain, based on the service type and the service node information, a plurality of sub-scripts before a service node corresponding to the service node information in the service flow of the service type, and integrate the plurality of sub-scripts to obtain an integrated script.
In one embodiment, task building module 630 includes:
the task identifier generating submodule 631 is configured to generate a task identifier for the manufacture task and output the task identifier to the front-end interface;
the task query submodule 632 is configured to receive a query request, where the query request includes a task identifier, and queries a state of the artificial number task corresponding to the task identifier based on the task identifier.
In one embodiment, task building module 630 includes:
a history manufacture number task obtaining sub-module 633, configured to, when the history data information is masked in the manufacture number request, obtain a history manufacture number task based on the login identifier;
a historical raw data obtaining sub-module 634, configured to obtain historical raw data of the historical data creating task based on the historical data creating task;
the original data determining submodule 635 is configured to obtain original data from the database, determine whether the original data is the same as the historical original data, if so, abandon the original data, and continue to obtain new original data.
An embodiment of the present application provides a service application testing apparatus, and fig. 8 shows a block diagram of a structure of a service application testing apparatus 800 according to an embodiment of the present application, and as shown in fig. 8, the service application testing apparatus 800 includes:
the service application access module 810 is used for calling the WebDriver in the Selenium library to access a service application end;
a data receiving module 820, configured to receive the manufacture number data, where the manufacture number data is obtained by the manufacture number platform 600 according to any of the embodiments;
an automatic operation module 830, configured to execute an automatic operation, so that the data of the configuration file is executed to a process node corresponding to the service node information at the service application end;
a test execution module 840, configured to execute the test starting from the flow node.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 9, fig. 9 is a block diagram of a basic structure of the computer device according to the embodiment.
The computer device 9 comprises a memory 91, a processor 92, a network interface 93 communicatively connected to each other via a system bus. It is noted that only a computer device 9 having components 91-93 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 91 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 91 may be an internal storage unit of the computer device 9, such as a hard disk or a memory of the computer device 9. In other embodiments, the memory 91 may also be an external storage device of the computer device 9, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the computer device 9. Of course, the memory 91 may also comprise both an internal memory unit and an external memory device of the computer device 9. In this embodiment, the memory 91 is generally used for storing an operating system installed in the computer device 9 and various types of application software, such as computer readable instructions of a manufacturing method or a business application testing method. Further, the memory 91 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 92 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 92 is typically used to control the overall operation of the computer device 9. In this embodiment, the processor 92 is configured to execute computer readable instructions stored in the memory 91 or process data, for example, execute computer readable instructions of the number making method or the service application testing method.
The network interface 93 may comprise a wireless network interface or a wired network interface, and the network interface 93 is generally used for establishing communication connection between the computer device 9 and other electronic devices.
The present application further provides another embodiment, which is to provide a computer-readable storage medium storing computer-readable instructions executable by at least one processor to cause the at least one processor to perform the method for manufacturing numbers or the method for testing service applications as described above.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. A method of manufacturing numbers, comprising:
receiving a number request, wherein the number request comprises service node information;
acquiring a plurality of sub-scripts corresponding to the service node information based on the number making request, and integrating the plurality of sub-scripts to obtain an integrated script;
acquiring original data from a database, and executing the integration script by using the original data to construct a number making task;
and outputting the manufacture number data when the manufacture number task is in a successful state.
2. The method of claim 1, wherein prior to receiving the request for the number of copies, further comprising:
receiving a login request, responding to the login request, generating a login identifier, and outputting the login identifier to a front-end interface; the login identification carries the information of the number making authority;
the manufacture number request further comprises the login identification, and after receiving the manufacture number request, the method further comprises:
and judging whether the service node information has the number making authority or not based on the login identification, and if so, executing the number making request.
3. The method of claim 1, wherein the request for a number further comprises a type of service;
the obtaining, based on the number making request, a plurality of sub-scripts corresponding to the service node information, and integrating the plurality of sub-scripts to obtain an integrated script specifically includes:
acquiring script sets of all service nodes in the service flow of the service type;
and acquiring a plurality of sub-scripts in front of the service node corresponding to the service node information in the service flow of the service type based on the service type and the service node information, and integrating the plurality of sub-scripts to obtain an integrated script.
4. The method of claim 1, wherein the retrieving raw data from a database, executing the integrated script with the raw data, and after the building a build task, further comprises:
generating a task identifier corresponding to the number making task, and outputting the task identifier to a front-end interface;
and receiving a query request, wherein the query request comprises the task identifier, and querying the state of the manufacture task corresponding to the task identifier based on the task identifier.
5. The method of claim 2, wherein the manufacture request further includes information on whether to mask historical data; if so, then
The acquiring of the original data from the database, executing the integration script by the original data, and constructing the number making task includes:
acquiring the historical data making task based on the login identification;
acquiring historical original data of the historical numbering task based on the historical numbering task;
and acquiring original data from a database, judging whether the original data is the same as the historical original data, if so, giving up the original data, and continuously acquiring new original data.
6. A method for testing service application is characterized by comprising the following steps:
calling Webdriver in a Selenium library to access a service application end;
receiving the data of the number, the data of the number is obtained by the method of any one of claims 1 to 5;
executing automatic operation to enable the manufacture data to be executed to a process node corresponding to the service node information at the service application end;
starting from the flow node, a test is performed.
7. A numbering platform, comprising:
a number request receiving module, configured to receive a number request, where the number request includes service node information;
the script integration module is used for acquiring a plurality of sub scripts corresponding to the service node information based on the number making request and integrating the plurality of sub scripts to obtain an integrated script;
the task construction module is used for acquiring original data from a database, executing the integration script by the original data and constructing a number making task;
and the data output module is used for outputting the manufacture number data under the condition that the manufacture number task is in a successful state.
8. A business application testing apparatus, comprising:
the service application access module is used for calling the Webdriver in the Selenium library to access a service application end;
a data receiving module for receiving the number data obtained from the number platform of claim 7;
the automatic operation module is used for executing automatic operation so that the manufacture data is executed to the process node corresponding to the service node information at the service application end;
and the test execution module is used for executing the test from the flow node.
9. A computer device comprising a memory having computer readable instructions stored therein and a processor which when executed implements the steps of the method of manufacture of any one of claims 1 to 5 and/or the method of business application testing of claim 6.
10. A computer-readable storage medium, characterized in that it has computer-readable instructions stored thereon, which, when executed by a processor, implement the steps of the method of manufacturing according to any one of claims 1 to 5 and/or the method of business application testing according to claim 6.
CN202210029848.1A 2022-01-12 2022-01-12 Number making method, service application testing method and related equipment thereof Pending CN114281707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210029848.1A CN114281707A (en) 2022-01-12 2022-01-12 Number making method, service application testing method and related equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210029848.1A CN114281707A (en) 2022-01-12 2022-01-12 Number making method, service application testing method and related equipment thereof

Publications (1)

Publication Number Publication Date
CN114281707A true CN114281707A (en) 2022-04-05

Family

ID=80880830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210029848.1A Pending CN114281707A (en) 2022-01-12 2022-01-12 Number making method, service application testing method and related equipment thereof

Country Status (1)

Country Link
CN (1) CN114281707A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032835A (en) * 2023-10-09 2023-11-10 中邮消费金融有限公司 Number making device and method for scene arrangement
CN117609102A (en) * 2024-01-23 2024-02-27 云筑信息科技(成都)有限公司 Building industry Internet counting platform system testing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032835A (en) * 2023-10-09 2023-11-10 中邮消费金融有限公司 Number making device and method for scene arrangement
CN117032835B (en) * 2023-10-09 2024-01-26 中邮消费金融有限公司 Number making device and method for scene arrangement
CN117609102A (en) * 2024-01-23 2024-02-27 云筑信息科技(成都)有限公司 Building industry Internet counting platform system testing method

Similar Documents

Publication Publication Date Title
CN114281707A (en) Number making method, service application testing method and related equipment thereof
CN112613917A (en) Information pushing method, device and equipment based on user portrait and storage medium
CN113946690A (en) Potential customer mining method and device, electronic equipment and storage medium
CN112631751A (en) Task scheduling method and device, computer equipment and storage medium
CN112860662A (en) Data blood relationship establishing method and device, computer equipment and storage medium
CN117251228A (en) Function management method, device, computer equipment and storage medium
CN116383787A (en) Page creation method, page creation device, computer equipment and storage medium
CN116956326A (en) Authority data processing method and device, computer equipment and storage medium
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN114707146B (en) Workflow identification method, system, computer device and readable storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN112422331A (en) Operation and maintenance operation node monitoring method and related equipment
CN114545328B (en) Tracking method and system for optical cable inspection equipment, computer equipment and storage medium
EP4102444A1 (en) System and method for the design, management, and implementation of energy and/or anti-seismic redevelopment interventions benefiting from tax benefits and/or assignment of tax credit and/or discount on the invoice
CN117422523A (en) Product online method and device, computer equipment and storage medium
CN117390241A (en) Data display method, device, computer equipment and storage medium
CN115511277A (en) Activity task issuing method and device, computer equipment and storage medium
CN115731057A (en) Information generation method and device, computer equipment and storage medium
CN115080045A (en) Link generation method and device, computer equipment and storage medium
CN117453536A (en) System abnormality analysis method, system abnormality analysis device, computer device and storage medium
CN117390119A (en) Task processing method, device, computer equipment and storage medium
CN115269423A (en) Test scene-based test method and device, computer equipment and storage medium
CN116737437A (en) Data analysis method, device, computer equipment and storage medium
CN117853241A (en) Risk service provider identification method, apparatus, device and storage medium thereof
CN115827047A (en) Request processing method and device, computer equipment and storage medium

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