CN111245917B - Katalon-based work order entry device and implementation method thereof - Google Patents
Katalon-based work order entry device and implementation method thereof Download PDFInfo
- Publication number
- CN111245917B CN111245917B CN202010014479.XA CN202010014479A CN111245917B CN 111245917 B CN111245917 B CN 111245917B CN 202010014479 A CN202010014479 A CN 202010014479A CN 111245917 B CN111245917 B CN 111245917B
- Authority
- CN
- China
- Prior art keywords
- katalon
- robot
- work order
- module
- message queue
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
- H04L63/166—Implementing security features at a particular protocol layer at the transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Manipulator (AREA)
Abstract
The invention discloses a katalon-based work order entry device and an implementation method thereof, wherein the device comprises the following steps: the Web module acquires a list throwing request, verifies whether a user logs in a corresponding work order system according to service data of the list throwing request, calls a list throwing interface to acquire the service data after the user is determined to log in the corresponding work order system, and transmits the service data to a background so as to be convenient for subsequent service operation; the message queue module is used for providing a message queue so as to insert the tasks issued by the Web module into the message queue, so that the robot module actively consumes the tasks of the message queue; and the robot module comprises a plurality of distributed robots with built-in katalon software, and each distributed robot actively consumes the task of the message queue according to the configured execution task type, starts a katalon process and performs corresponding business operation.
Description
Technical Field
The invention relates to the technical field of biological information analysis, in particular to a katalon-based work order entry device and an implementation method thereof.
Background
Currently, many enterprises, such as banking, insurance, retail, face the problem of investing significant human costs in repetitive business document processing, copying work order data between several different IT systems. The repeated data processing work occupies a large amount of labor cost of enterprises, has a certain error rate, and can not continuously improve the capability of staff.
In order to solve the above problems, the prior art also produces two solutions:
1. using web crawler mode: the web crawler is a program or script for automatically capturing web information according to a certain rule, namely capturing interfaces related to service operation by using a web crawler mode, and acquiring service document data by sending an http/https request mode so as to simplify operation steps. However, this approach has the following disadvantages: 1) for acquiring bid inviting information from a webpage, a crawler can be realized, but correspondingly, the time and the period are relatively long; 2) the development effort is enormous: for a website with high safety, processing logic of a JavaScript script needs to be read to meet the requirement of submitting parameters of a request, and more than ten or even tens of hidden parameters may need to be submitted; 3) there is no visual development page for web crawlers.
2. Scripting to replace both hands with a program (e.g., a key puck) automatically performs a series of mouse and keyboard actions, however, these red methods have the following disadvantages: 1) the method can only run on a single windows server, is difficult to execute a large number of tasks in parallel, and does not count the execution result of the tasks; 2) poor migration: the customized generated script is only suitable for the native machine and is difficult to run on another machine.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a katalon-based work order entry device and an implementation method thereof, so as to solve the problem that the existing salesperson needs to frequently carry business data among a plurality of software or IT systems, and consumes a large amount of time and labor cost.
To achieve the above and other objects, the present invention provides a katalon-based work order entry device, comprising:
the Web module acquires a list throwing request, verifies whether a user logs in a corresponding work order system according to service data of the list throwing request, calls a list throwing interface to acquire the service data after the user is determined to log in the corresponding work order system, and transmits the service data to a background so as to be convenient for subsequent service operation;
and the message queue module is used for providing a message queue so as to insert the tasks issued by the Web module into the message queue, so that the robot module actively consumes the tasks of the message queue.
And the robot module comprises a plurality of distributed robots with built-in katalon software, and each distributed robot actively consumes the task of the message queue according to the configured execution task type, starts a katalon process and performs corresponding business operation.
Preferably, the Web module further maintains a resident login state of the user system account by simulating a manual regular system click.
Preferably, the Web module further comprises:
the order throwing request unit is used for acquiring an order throwing request;
the login checking unit is used for checking whether a user logs in a corresponding work order system according to the name of the business data in the order throwing request, starting the business data obtaining unit if the checking result is that the user logs in, and starting the login verifying unit if the checking result is that the user does not log in;
the service data acquisition unit is used for calling the drop interface to acquire service data and transmitting the service data to the background so as to carry out subsequent service operation;
the login verification unit is used for providing login verification related information input by a user through a login page and verifying the login verification related information input by the user;
and the task receiving and processing unit is used for issuing the task to the message queue of the message queue module when receiving the task request after logging in and acquiring the service data.
Preferably, the login authentication unit also calls a katalon program in charge of the login part to enter the account and password of the user and other configuration information into the login page.
Preferably, the web module further includes a monitoring management unit, configured to monitor whether each robot of the robot module is online, and acquire the number of katalon threads currently operated by the robot.
Preferably, the monitoring management unit further issues stop and start instructions to the robot through a robot management page, or modifies the maximum concurrency number of the robot to execute the task type.
Preferably, the web module further comprises a monitoring result output unit for outputting the related task data and results through the page in time.
Preferably, each distributed robot of the robot modules supports distributed cluster deployment.
Preferably, the distributed robots of the robot modules adopt rsync to synchronize katalon scripts.
In order to achieve the above object, the present invention further provides a method for implementing a katalon-based work order entry device, comprising the following steps:
step S1, providing a corresponding page by using a Web module to obtain a list rejection request, verifying whether a user logs in a corresponding work order system according to service data of the list rejection request, calling a list rejection interface to obtain service data after determining that the user logs in the corresponding work order system, and transmitting the service data to a background so as to perform related service operation subsequently;
step S2, when the Web module receives the task request, the Web module issues the task to the message queue of the message queue module;
and step S3, each distributed robot of the robot module actively consumes the task of the message queue according to the configured execution task type, starts the katalon process and carries out corresponding business operation.
Compared with the prior art, the katalon-based work order entry device and the implementation method thereof have the advantages that the Web module is utilized to place the service to be processed into the message queue for the robot cluster to process, each distributed robot of the robot cluster starts a katalon process (distinguishing service types and logging in two types) according to the service data, and after the task is executed, the robot stores success or failure results, screenshots, backfill data and the like into the database for monitoring and querying.
Drawings
FIG. 1 is a system architecture diagram of a katalon-based work order entry device of the present invention;
FIG. 2 is a detailed structure diagram of a Web module according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a katalon script synchronization process according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating steps of a method for implementing a katalon-based work order entry device according to the present invention;
FIG. 5 is a flowchart of user login in an embodiment of the present invention;
FIG. 6 is a schematic view of a process of monitoring and managing a robot module by a Web module according to an embodiment of the present invention;
fig. 7 is a system architecture diagram of an embodiment of the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Fig. 1 is a system architecture diagram of a katalon-based work order entry device according to the present invention. As shown in fig. 1, the invention relates to a katalon-based work order entry device, which comprises: web module 10, message queue module 20, and robot module
The Web module 10 acquires a list rejection request, verifies whether a user logs in a corresponding work order system according to service data of the list rejection request, calls a list rejection interface to acquire the service data after determining that the user logs in the corresponding work order system, and transmits the service data to a background for subsequent service operation, and when receiving a task request, the Web module 10 issues the task to a message queue of the message queue module 20.
In the invention, the order throwing refers to that a user provides data required by order business to the work order entry device, the work order entry device of the invention replaces the operation of a business operator to enter order data in a business system, and the order throwing request comprises the business data provided by the user; if data needs to be acquired from another system in the same service operation, the system is accessed first, the required data is read, url jumping is carried out in a browser to another system, and the acquired data is recorded.
Preferably, after it is determined that the user has logged in the corresponding work order system, the Web module 10 further maintains the resident login state of the user system account by simulating a manner of manually clicking the system at regular time, so that after the user enters service data, service operation can be continued on the basis of the original system, and one-time login and long-term use are realized.
Specifically, as shown in fig. 2, the Web module 10 further includes:
in the embodiment of the present invention, the get-off request unit 101 provides a user with a get-off request operation through a corresponding page, for example, the user may upload an excel (the excel has filled in service data) on the corresponding page, or click a submit button after the corresponding page fills in service data, so as to generate a get-off request operation, and the get-off request unit 101 obtains the get-off request.
And a login checking unit 102, configured to check whether the user logs in the corresponding work order system according to the name of the service data in the policy getting request, if the check result is that the user logs in, start the service data obtaining unit 103, and if the check result is that the user does not log in, start a login verifying unit 104. In the embodiment of the invention, if the user uploads the service data of the excel file, the service name can be identified according to the excel name of the user, and whether the user logs in the worksheet system corresponding to the service name is verified.
And the service data acquisition unit 103 is configured to invoke the drop interface to acquire service data, and transmit the service data to the background, so as to perform subsequent service operation.
And a login authentication unit 104, configured to provide login authentication related information input by the user through the login page, and authenticate the login authentication related information input by the user. In the embodiment of the invention, the login verification unit 104 calls a katalon program in charge of a login part, an account number and a password of a user and other configuration information (preset) are input into a login page, when the login verification unit 104 is started, a graphic verification code screenshot is displayed or the user is prompted to input a mobile phone verification code, after the user inputs the login verification code, the login verification unit 104 obtains login verification related information and sends the login verification related information to the katalon program to be verified with the preset information input into the login page so as to judge whether the user successfully logs in, and after the login is successful, the service data obtaining unit 103 is started, a drop interface is called to obtain service data, and the service data are transmitted to a background.
The task receiving and processing unit 105 is configured to issue the task to the message queue of the message queue module 20 when receiving the task request after logging in and acquiring the service data.
And the message queue module 20 is configured to provide a message queue, so that the tasks issued by the Web module 10 are inserted into the message queue, so that the robot module 30 actively consumes the tasks of the message queue.
The robot module 30 includes a plurality of distributed robots, each distributed robot actively consumes the task of the message queue according to the configured execution task type, and starts a katalon process to perform corresponding business operations. For distributed robots configured with the same execution type, corresponding tasks in the consumption queue are obtained through preset competition rules, for example, A1 and A2 are in competition relation, corresponding tasks are competed through the competition rules, and a user gets the tasks and executes the tasks. If a1 competes for a task to execute, it will sleep for a certain time (configurable time) and then poll for a new task.
The robot module 30 including each distributed robot is a core part for automatically executing the business process, and each distributed robot is internally provided with katalon software which supports distributed cluster deployment and is responsible for managing the number of katalon processes and calling the katalon processes to perform corresponding business operations.
katalon Studio is a simple but powerful automated solution for testers. In the present invention, katalon is used as a tool for configuring the steps of the business process. By using the visual configuration interface of the katalon, elements (buttons, drop-down boxes and the like) of the page can be quickly positioned, and operations (clicking and the like) can be quickly performed.
On the basis of katalon, the work order entry device encapsulates an interface for interaction between katalon and a system database and common operations (clicking, inputting, selecting and the like), so that results (screenshot, captured data) after katalon operation business can be backfilled into the work order entry device, and a user can conveniently inquire the results.
In the specific embodiment of the invention, each service corresponds to one katalon script, and as the robots provide cluster services, each robot is required to have the same flow service capability, so that the katalon scripts are required to be deployed on the servers of each robot module, which relates to the functions of adding and synchronously modifying the katalon scripts.
In the embodiment of the present invention, rsync (rsync is a data mirror backup tool in linux system, Remote synchronization can be performed using a fast incremental backup tool Remote Sync, local copy is supported, or synchronization with other SSH and rsync hosts) is used among distributed robots of robot module 30 to perform synchronization of katalon scripts, one of the robot servers is used as a source server, when a katalon script needs to be added or modified, only the katalon script needs to be added or modified to a specific folder of the source server, and rsync detects that a monitored target folder is modified, so as to synchronize modified contents to servers of other robot modules, as shown in fig. 3.
Preferably, in order to facilitate monitoring of system performance, the web module 10 further includes a monitoring management unit, configured to monitor whether each robot of the robot module 30 is online, and obtain the number of katalon threads currently running by the robot, and the like, and preferably, the monitoring management unit further issues a stop and start instruction to the robot through a robot management page, or modifies the maximum concurrency number of the robot, and executes a task type, and the like, so as to achieve beneficial effects of resource optimization and management of the robot. For example, two robots are provided for executing the class a task, and when one of the robots is hung, the other robot can still execute the class a task, thereby avoiding the problem of single-point failure of the robot module. Furthermore, since the type of task performed by the robot is configurable, the number of robots can be linearly increased as needed in a production environment, thereby significantly increasing the concurrency of robot modules.
Preferably, the web module 10 further includes a monitoring result output unit, which is used for providing a user to view task data and results, that is, the web module 10 outputs related task data and results through a page in time, so that the user can see the task execution situation on the page in time, backfill data (the business execution process may need to capture data, store the data in the work order entry device of the present invention, and facilitate inspection or use), and capture a picture (the picture capture is provided as evidence to be retained whether success or failure.
Fig. 4 is a flow chart of steps of a method for implementing the katalon-based work order entry device according to the present invention. As shown in fig. 4, the method for implementing a katalon-based work order entry device of the present invention includes the following steps:
and step S1, providing a corresponding page by using a Web module to obtain a list rejection request, verifying whether a user logs in a corresponding work order system according to the service data of the list rejection request, calling a list rejection interface to obtain service data after determining that the user logs in the corresponding work order system, and transmitting the service data to a background so as to perform related service operation subsequently.
In the invention, the flail order refers to data required by order business provided by a user to the work order entry device, the work order entry device of the invention replaces the operation of a business operator to enter order data in a business system, and the flail order request comprises the business data provided by the user.
Preferably, after the user logs in the corresponding work order system, the Web module further keeps a resident login state of the user system account in a mode of simulating manual regular system clicking, so that after the user enters service data, service operation can be continued on the basis of the original system, and one-time login and long-term use are realized.
Specifically, the step S1 further includes the steps of:
step S100, obtaining a flail order request, in the embodiment of the present invention, a Web module is used to provide a user with a flail order request operation through a corresponding page, for example, the user may upload an excel (the excel has filled in service data) on the corresponding page, or click a submit button after the corresponding page has filled in service data, and then generate a flail order request operation.
And S101, verifying whether a user logs in a corresponding work order system or not according to the name of the service data in the list throwing request, if the verification result is that the user logs in, entering S102, and if the verification result is that the user does not log in, entering S103. In the embodiment of the invention, if the user uploads the service data of the excel file, the service name can be identified according to the excel name of the user, and whether the user logs in the worksheet system corresponding to the service name is verified.
And step S102, calling the drop interface to acquire service data, and transmitting the service data to a background so as to perform service operation subsequently.
Step S103, providing the login authentication related information input by the user through the login page, and authenticating the login authentication related information input by the user. In the embodiment of the invention, a katalon program in charge of a login part is called, an account number and a password of a user and other configuration information (preset) are input into a login page, after the step S103 is carried out, a graphic verification code screenshot is displayed or the user is prompted to input a mobile phone verification code, after the user inputs the login verification code, login verification related information is obtained and sent to the katalon program to be verified with the information preset and input into the login page, whether the user logs in successfully or not is judged, and after the login is successful, the step S102 is carried out, a drop interface is called to obtain service data, and the service data are transmitted to a background.
Step S2, when the Web module receives the task request, the Web module issues the task to the message queue of the message queue module.
And step S3, each distributed robot of the robot module actively consumes the task of the message queue according to the configured execution task type, starts the katalon process and carries out corresponding business operation.
The robot module comprising each distributed robot is a core part for automatically executing the business process, and each distributed robot is internally provided with katalon software which supports distributed cluster deployment and is responsible for managing the number of katalon processes and calling the katalon processes to perform corresponding business operation.
Preferably, the method for implementing the katalon-based work order entry device further includes the following steps:
and monitoring whether each robot of the robot module is on line or not by using the Web module, acquiring the number of katalon threads currently operated by the robot and the like.
Preferably, the method for implementing the katalon-based work order entry device of the present invention further includes:
and the Web module is utilized to issue stop and start instructions to the robot, or modify the maximum concurrency number of the robot, execute task types and the like, so that the beneficial effects of robot resource optimization and management are achieved. For example, two robots are arranged to execute the class a task, so that when one robot hangs down, the other robot still executes the class a task, and the problem of single-point failure of a robot module is avoided. Furthermore, since the type of task performed by the robot is configurable, the number of robots can be linearly increased as needed in a production environment, thereby significantly increasing the concurrency of robot modules.
In step S3, a task may be performed by a plurality of distributed robots, so that when one of the robots hangs, another robot will still perform, thereby avoiding the problem of single point failure of the robot module. Specifically, assume that there are two robots executing a class a task, and when one of the robots is hung, the other robot still executes the class a task, thereby avoiding the problem of single point failure of the robot module. Furthermore, since the type of task performed by the robot is configurable, the number of robots can be linearly increased as needed in a production environment, thereby significantly increasing the concurrency of robot modules.
Preferably, the method for implementing the katalon-based work order entry device of the present invention further includes:
the web module is used for outputting related task data and results through a page in time, so that a user can see the task execution condition on the page in time, backfills the data (the data may need to be captured in the business execution process, and is stored in the work order entry device of the invention, so that the inspection or the use is convenient), and captures (the capture can be provided as evidence to be reserved no matter the success or the failure).
Examples
In this embodiment, the implementation steps of the katalon-based work order entry device are as follows:
step 1, providing a corresponding page by using a Web module to obtain a list throwing request, verifying whether a user logs in a corresponding work order system or not according to service data of the list throwing request, calling a list throwing interface to obtain service data after determining that the user logs in the corresponding work order system, and transmitting the service data to a background.
That is to say, before the user provides the work order entry device with the pre-action of the data required by a certain service to ensure that the service data is submitted, the work order entry device logs in the service system, as shown in fig. 5, the specific login process is as follows:
firstly, the work order entry device calls a katalon program in charge of a login part, and an account number and a password of a user and other configuration information (stored in the device in advance) are entered into a login page.
When the user uploads excel (the excel fills in the service data), or after filling in the service data on the page, the user clicks the submit button.
At the moment, according to the business name (the business name is identified by the excel name), a login check interface is called to check whether the corresponding work order system is logged in or not, if the system is logged in, a front-end page is informed to submit business data, a list throwing interface (the embodiment supports multiple data input) is called to obtain the business data, and the business data is transmitted to a device background so as to be convenient for subsequent business operation; if the user does not log in, the web front end is informed to prompt the user to input login information such as an account number and a password, a graphic verification code screenshot is displayed or the user is prompted to input a mobile phone verification code, after the user inputs related login information, data are sent to a katalon program to carry out subsequent login operation, after the login is successful, the web front end is informed to submit service data, and a flail interface is called to obtain the service data so as to carry out subsequent service operation.
The operation is to ensure the automatic operation of the user service, and can pass the authority verification of the IT system. In addition, the user is allowed to perform login operation in advance, so that the verification code and the like do not need to be input again in the subsequent order throwing process.
Step 2, the web module puts the service to be processed into the message queue for the robot cluster to process, the robot starts the katalon process (distinguishing the service and logging in two types) according to the service data, after the task is executed, the robot stores the success or failure result, the screenshot, the backfill data and the like into the database for the monitoring station to inquire and use, as shown in fig. 6.
That is to say, the Web module issues the task to the message queue, and each distributed robot performs the following tasks according to the configured task execution types: a specific type or several types (supporting fuzzy matching of type names) actively consume the tasks of the message queue, and then start a katalon process to perform business operation.
For example, two robots for executing the class A task are provided, when one robot is hung, the other robot still executes the class A task, and the problem of single-point failure of a robot module is avoided. Furthermore, since the type of task performed by the robot is configurable, the number of robots can be linearly increased as needed in a production environment, thereby significantly increasing the concurrency of robot modules.
In order to facilitate monitoring of system performance, the web module can also monitor whether each robot is online or not, and acquire the number of katalon threads currently operated by the robot. And the beneficial effects of robot resource optimization and management are achieved by issuing stop and start instructions to the robot or modifying the maximum concurrency number of the robot, executing the task type and the like on the robot management page of the web module, as shown in fig. 7.
In summary, the katalon-based work order entry device and the implementation method thereof of the present invention use the Web module to place the service to be processed into the message queue for the robot cluster to process, each distributed robot of the robot cluster starts the katalon process (differentiate service and login two types) according to the service data, and after the task is executed, the robot stores the success or failure result and screenshot, backfill data, etc. into the database for monitoring and querying.
Compared with the prior art, the invention has the following beneficial effects:
(1) when the user inputs the service data, the user does not need to repeatedly log in the system every time (the input of a mobile phone verification code and a graphic verification code is reduced), and the resident login state of the user system account is kept by simulating a mode of manually clicking the system at regular time. After the user inputs the service data, the service operation can be continued on the basis of the original system.
(2) One-time login is supported, and a plurality of services are processed in parallel. The device copies a plurality of same system pages successfully logged in on a plurality of browsers by copying cookies acquired after logging in the system, thereby concurrently processing a plurality of services.
(3) Data transport between multiple systems is supported. By copying the system cookie, the logged-in system can be accessed on the newly opened browser page, and the required data can be obtained from a single system in a serial mode to provide the required data for other system business processing.
(4) And the user is supported to inquire all task execution conditions and result screenshots (success or failure) and effective data acquired in the execution process. The reason for the failure (such as a problem of the data itself or a modification made to the system) can be known through the error information and the screenshot. And the failed task is re-executed after the data is modified, so that the user can conveniently re-execute the error list.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.
Claims (9)
1. A katalon-based work order entry device, comprising:
the Web module acquires a list-throwing request, verifies whether a user logs in a corresponding work order system according to service data of the list-throwing request, calls a list-throwing interface to acquire the service data after the user logs in the corresponding work order system is determined, and transmits the service data to a background so as to be convenient for subsequent service operation;
the message queue module is used for providing a message queue so as to insert the tasks issued by the Web module into the message queue, so that the robot module actively consumes the tasks of the message queue;
and the robot module comprises a plurality of distributed robots with built-in katalon software, and each distributed robot actively consumes the task of the message queue according to the configured execution task type, starts a katalon process and performs corresponding business operation.
2. The katalon-based work order entry device of claim 1, wherein the Web module further comprises:
the order throwing request unit is used for acquiring an order throwing request;
the login checking unit is used for checking whether a user logs in a corresponding work order system according to the name of the business data in the order throwing request, starting the business data obtaining unit if the checking result is that the user logs in, and starting the login verifying unit if the checking result is that the user does not log in;
the service data acquisition unit is used for calling the drop interface to acquire service data and transmitting the service data to the background so as to carry out subsequent service operation;
the login verification unit is used for providing login verification related information input by a user through a login page and verifying the login verification related information input by the user;
and the task receiving and processing unit is used for issuing the task to the message queue of the message queue module when receiving the task request after logging in and acquiring the service data.
3. A katalon-based work order entry device as claimed in claim 2, wherein: the login authentication unit also calls a katalon program in charge of a login part, and inputs an account number and a password of the user and other configuration information into a login page.
4. A katalon-based work order entry device as claimed in claim 2, wherein: the web module further comprises a monitoring management unit which is used for monitoring whether each robot of the robot module is on line or not and acquiring the number of katalon threads currently operated by the robot.
5. The katalon-based work order entry device of claim 4, wherein: and the monitoring management unit also issues stop and start instructions to the robot or modifies the maximum concurrency number of the robot to execute the task type through the robot management page.
6. The katalon-based work order entry device of claim 4, wherein: the web module also comprises a monitoring result output unit which is used for outputting related task data and results in time through the page.
7. The katalon-based work order entry device of claim 1, wherein: each distributed robot of the robot module supports distributed cluster deployment.
8. The katalon-based work order entry device of claim 1, wherein: and synchronizing katalon scripts by adopting rsync among all the distributed robots of the robot modules.
9. A method for realizing a katalon-based work order entry device comprises the following steps:
step S1, a Web module is used for providing a corresponding page to obtain a list throwing request, whether a user logs in a corresponding work order system is verified according to service data of the list throwing request, after the user logs in the corresponding work order system is determined, a list throwing interface is called to obtain service data, the service data is transmitted to a background so as to be convenient for subsequent related service operation, and the Web module also keeps a resident login state of a user system account in a mode of simulating manual regular system clicking;
step S2, when the Web module receives the task request, the Web module issues the task to the message queue of the message queue module;
and step S3, each distributed robot of the robot module actively consumes the task of the message queue according to the configured execution task type, starts the katalon process and carries out corresponding business operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010014479.XA CN111245917B (en) | 2020-01-07 | 2020-01-07 | Katalon-based work order entry device and implementation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010014479.XA CN111245917B (en) | 2020-01-07 | 2020-01-07 | Katalon-based work order entry device and implementation method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111245917A CN111245917A (en) | 2020-06-05 |
CN111245917B true CN111245917B (en) | 2022-04-19 |
Family
ID=70877651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010014479.XA Active CN111245917B (en) | 2020-01-07 | 2020-01-07 | Katalon-based work order entry device and implementation method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111245917B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112528304B (en) * | 2020-12-14 | 2024-04-19 | 广西电网有限责任公司贵港供电局 | Self-help debugging system |
CN114091914A (en) * | 2021-11-19 | 2022-02-25 | 中国建设银行股份有限公司 | Work order processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8059803B1 (en) * | 2003-06-30 | 2011-11-15 | Embarq Holdings Company, Llc | System and method for ordered processing of telecommunicaion service orders |
CN103020752A (en) * | 2012-11-22 | 2013-04-03 | 南京途牛科技有限公司 | Automatic order distribution system |
CN106792630A (en) * | 2016-11-11 | 2017-05-31 | 大唐软件技术股份有限公司 | It is a kind of to realize moving the method and system that network service is opened |
CN107483276A (en) * | 2017-09-26 | 2017-12-15 | 中国联合网络通信集团有限公司 | Processing method, device and the sending down service platform of business |
CN108416657A (en) * | 2018-03-15 | 2018-08-17 | 中融科创信息技术河北有限公司 | A kind of order generation method and equipment based on counseling services |
CN110515835A (en) * | 2019-07-30 | 2019-11-29 | 上海云扩信息科技有限公司 | A kind of test method based on machine vision and DOM tree structure |
-
2020
- 2020-01-07 CN CN202010014479.XA patent/CN111245917B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8059803B1 (en) * | 2003-06-30 | 2011-11-15 | Embarq Holdings Company, Llc | System and method for ordered processing of telecommunicaion service orders |
CN103020752A (en) * | 2012-11-22 | 2013-04-03 | 南京途牛科技有限公司 | Automatic order distribution system |
CN106792630A (en) * | 2016-11-11 | 2017-05-31 | 大唐软件技术股份有限公司 | It is a kind of to realize moving the method and system that network service is opened |
CN107483276A (en) * | 2017-09-26 | 2017-12-15 | 中国联合网络通信集团有限公司 | Processing method, device and the sending down service platform of business |
CN108416657A (en) * | 2018-03-15 | 2018-08-17 | 中融科创信息技术河北有限公司 | A kind of order generation method and equipment based on counseling services |
CN110515835A (en) * | 2019-07-30 | 2019-11-29 | 上海云扩信息科技有限公司 | A kind of test method based on machine vision and DOM tree structure |
Non-Patent Citations (2)
Title |
---|
《java上传excel到后台解析入库》;我不是真正的快乐;《https://www.cnblogs.com/grasslucky/p/10784651.html?ivk_sa=1024320u》;20190428 * |
《RPA学习 Work Queue工作队列》;艺赛旗RPA;《https://mbd.baidu.com/ma/s/JYqB2v3g》;20190401 * |
Also Published As
Publication number | Publication date |
---|---|
CN111245917A (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11467952B2 (en) | API driven continuous testing systems for testing disparate software | |
US20210232498A1 (en) | Method for testing edge computing, device, and readable storage medium | |
US9961129B2 (en) | Business transaction correlation with client request monitoring data | |
US8863085B1 (en) | Monitoring web applications | |
US8510720B2 (en) | System landscape trace | |
US8490059B2 (en) | Cross-browser testing of a web application | |
US11176030B2 (en) | Conducting automated software testing using centralized controller and distributed test host servers | |
US11477298B2 (en) | Offline client replay and sync | |
US8769502B2 (en) | Template based asynchrony debugging configuration | |
US20080275951A1 (en) | Integrated logging for remote script execution | |
US10853227B2 (en) | Systems and methods for modular test platform for applications | |
US20110320880A1 (en) | System identifying and inferring web session events | |
US10223248B2 (en) | Conducting automated software testing using centralized controller and distributed test host servers | |
TW201037531A (en) | Method for server-side logging of client browser state through markup language | |
JP2014081811A (en) | Log management system and log management method | |
CN111245917B (en) | Katalon-based work order entry device and implementation method thereof | |
Rattanapoka et al. | An MQTT-based IoT cloud platform with flow design by Node-RED | |
CN110727575A (en) | Information processing method, system, device and storage medium | |
JP6436705B2 (en) | Test execution device, test execution method, and computer program | |
JP6436704B2 (en) | Test execution device, test execution method, and computer program | |
US20230185869A1 (en) | Screen capture hint and automated screen capture | |
US20140245159A1 (en) | Transport script generation based on a user interface script | |
US20220244975A1 (en) | Method and system for generating natural language content from recordings of actions performed to execute workflows in an application | |
KR102303182B1 (en) | Automated Test Network System and Automated Test Method | |
JP2019128688A (en) | Operation management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |