CN107678956A - A kind of server automated test and management system and method - Google Patents
A kind of server automated test and management system and method Download PDFInfo
- Publication number
- CN107678956A CN107678956A CN201710868259.1A CN201710868259A CN107678956A CN 107678956 A CN107678956 A CN 107678956A CN 201710868259 A CN201710868259 A CN 201710868259A CN 107678956 A CN107678956 A CN 107678956A
- Authority
- CN
- China
- Prior art keywords
- test
- server
- management
- small routine
- page
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The present invention provides a kind of server automated test and management system, including wechat small routine, test and management server and server to be measured.The wechat small routine is connected with test and management server, to check that server automated test process and operation test and management server complete test assignment.The test and management server is connected with server to be measured, the test data of server to be measured is fed back into wechat small routine, carry out the unified management of test assignment, test assignment issue and the collection of test result storage.The present invention also provides a kind of server automated test and management method, wechat small routine is applied to the management of server automated test, so that staff checks test result and information whenever and wherever possible by mobile device, do not limited by time and region, the efficiency of server automated test is improved, the testing time saved in a large amount of R & D designs or production link.
Description
Technical field
The present invention relates to server test administrative skill field, specifically a kind of server automated test and management system
System and method.
Background technology
With the high speed development of economic society, China will welcome internet+epoch, and the arriving in internet+epoch is adjoint
The rapid emergence of server industry, mass data just impacts industry-by-industry with unprecedented growth trend, to IT bases
The maintainability of facility it is also proposed higher requirement.Server is widely used in cloud computing, big number by its excellent performance
According to fields such as processing, the network platforms, favored by market.Server needs to carry out automatically in R & D design and production process
Change test, the real work efficiency of server is examined with this, so as to which the problem of management in server automated test also turns into clothes
An essential ring on business device production chain.
The test event of existing server automated test is more, and the time is longer, and the test of server can only be in spy
Fixed laboratory is carried out, so tester only has the state and test result that can just check that test assignment is carried out in the lab
Deng test result and information can not be checked whenever and wherever possible by mobile device.
The content of the invention
, will be micro- the invention provides a kind of server automated test and management system and method in order to solve the above problems
Believe that small routine introduces the management link of server automated test, the efficiency of server automated test can be greatly enhanced.
The present invention solves its technical problem and adopted the technical scheme that:
The present invention provides a kind of server automated test and management system, including wechat small routine, test and management server
With server to be measured, the wechat small routine is connected with test and management server, to check it is server automated test into
Journey and operation test and management server complete test assignment;The test and management server is connected with server to be measured, to
The test data of server to be measured is fed back into wechat small routine, carries out the unified management of test resource, test assignment issues
And the collection storage of test result.
Further, the wechat small routine includes front-end interactive page, test process checks the page and test assignment pipe
The page is managed, the front-end interactive page is used for login service device automatic test management system homepage, and test process checks the page
For checking server automated testing progress and result, test assignment administration page be used for it is newly-built, issue test assignment and pipe
Test assignment is managed, the wechat small routine includes front-end interactive page, test process checks the page and test assignment administration page
The displaying and submission of test data are all carried out by Get and Post requests.
Further, front-end interactive page, test process check test data in the page and test assignment administration page
Way of submission includes one kind or more in text input, text search, menu setecting, speech recognition tools and image recognition tool
Kind.
Further, the Open-Source Tools that the wechat small routine is provided by wechat official are developed, and the wechat is small
Program carries out page layout with HTML, and various page interactions are carried out with JavaScript.
Further, installation system control module in the test and management server, the system control module be used for
Wechat small routine, server to be measured carry out real-time Communication for Power, and the test and management sent to receive wechat small routine instructs and will
The script and parameter of test and management are sent to server to be measured, and the wechat small routine is taken by WebSocket and test and management
Business device is communicated.
Further, testing execution module is installed, the execution module reception system controls mould in the server to be measured
The test script and parameter that block is sent proceed by test, and execution module will can held on server to be measured in the process of implementation
Capable test mode and feedback of the information preserve these information to data to system control module, then system control server
Storehouse, wechat small routine pass through inquiry of the database to test result and progress.
Further, the present invention also provides a kind of server automated test and management method, it is characterized in that, described method
Comprise the following steps:
Front end interactive interface login service device automatic test management system, wechat small routine and test and management server,
Server to be measured establishes data interaction;
Test process checks page retrieval history test assignment and shows testing progress and result;
Test assignment administration page carries out test assignment management to server automated test.
Further, the specific implementation process for checking test assignment and result is:
Whether checking user has been logged in, if logged in, wechat small routine is checked to the transmission of test and management server and chosen
The Get request of test assignment;
After test and management server receives request, data base querying is gone to choose the data of test assignment, by what is inquired
Data return to wechat small routine;
Wechat small routine receives test assignment data, and data are included checking in the page in test process.
Further, the specific implementation process of test assignment management is:
The server to be measured and operation content that needs manage are chosen in test assignment administration page;
Test and management server sends the script and supplemental characteristic of test and management to server to be measured;
Server to be measured receives the script and parameter of test and management, and dependent instruction is performed by testing execution module.
The beneficial effects of the invention are as follows:
1st, the present invention provides a kind of server automated test and management system, and it is automatic that wechat small routine is applied into server
Change the management of test so that staff checks test result and information whenever and wherever possible by mobile device, not by time and ground
The limitation in domain.
2nd, the present invention also provides a kind of server automated test and management method, can be greatly enhanced server automated survey
The efficiency of examination, the testing time saved in a large amount of R & D designs or production link.
Brief description of the drawings
Fig. 1 is management system structural representation of the present invention;
Fig. 2 is management method flow chart of the present invention.
Embodiment
Describe the embodiment of the present invention in detail below in conjunction with accompanying drawing, following disclosure provides embodiment
For realizing the device and method of the present invention, those skilled in the art is set to be more clearly understood that how to realize the present invention.In order to
Simplify disclosure of the invention, hereinafter the part and setting of certain party formula are described.In addition, the present invention can be in difference
Repeat reference numerals or letter in mode.This repetition is for purposes of simplicity and clarity, itself not indicate to be discussed
Relation between various embodiments or setting.It should be noted that part illustrated in the accompanying drawings is not necessarily drawn by than mode.
Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.It should manage
Solution, although the present invention describes its preferred embodiment, but these are elaborations to embodiment, rather than are limited
The scope of the present invention processed.
As shown in figure 1, the present invention provides a kind of server automated test and management system, including wechat small routine, test
Management server and server to be measured.The wechat small routine is connected with test and management server, to check server certainly
Dynamicization test process and operation test and management server complete test assignment.The test and management server and server phase to be measured
Connection, the test data of server to be measured is fed back into wechat small routine, carry out the unified management of test assignment, test is appointed
Business issue and the collection of test result storage.
Wechat small routine can be communicated by WebSocket and test and management server, wherein small routine exploitation frame
The method that frame provides an entitled wx.request (), for initiating HTTP request, only system need to be set in wechat small routine
The url addresses of server and required parameter where control module of uniting, you can to realize the download of data and upload.Meanwhile test
Management server carries out real-time communication with the execution module on server to be measured, and test and management server receives small routine and issued
Test instruction after, the script of test and parameter can be sent to the execution module of server to be measured, execution module is according to connecing
The script and parameter received proceeds by test, the survey that execution module will can be carrying out on server to be measured in the process of implementation
The state and feedback of the information of examination preserve these information to database to system control module, then system control server, survey
Examination personnel can easily pass through inquiry of the wechat small routine to test result and progress.
Such as:After tester logs in wechat small routine, it can be sent immediately to test and management server and return to all tests
The request of tasks carrying situation, after test and management server receives the request, by the state of the test assignment in database and
Etc. as a result information returns to small routine and shown;During newly-built task, tester in the newly-built test assignment in small routine end,
All information of test assignment are sent to system control module, will be required after test and management server receives the task
The resources such as test script are sent to execution module, and execution module proceeds by test, and test mode is passed by network in real time
It is defeated by test and management server.
As shown in Fig. 2 the present invention also provides a kind of server automated test and management method, described method includes following
Step:
Wechat small routine is logged in, automatically retrieval history test assignment list, a certain history test assignment can in click list
Check the test content and testing progress of the task;
Selection needs the server tested from server list to be measured, test assignment is created, into test assignment management
The page, select test script, parameter and time request information needed for test execution;
Wechat small routine sends the test script of selection, parameter and time request information to system management module, system
Management module sends dependence test script, parameter and time data according to execution module of the solicited message into server to be measured;
Execution module receives test script, parameter and time data and starts execute server test assignment, and will test
Test data is stored in database and transferred for wechat small routine by process Real-time Feedback to system control module, system control module
Display.
According to the server automated test and management system provided by the invention based on wechat small routine, one kind is given below
Check the embodiment of testing progress and result:
After tester logs in, test assignment, the test mode of oneself association can be checked in the homepage of wechat small routine
And test result, if test has been completed, this test assignment can be clicked on, checks test result and test report;If survey
Try it is in progress, then show test progress and it is expected that complete time.Concrete technical scheme is:
1) whether checking user is logged in, if logged in, wechat small routine is sent by networking to test and management server
Check the Get request of all test assignment information;
2) after test and management server receives request, all test assignments of the data base querying tester are gone, will
The data inquired return to wechat small routine;
3) after wechat small routine receives the data of return, data are included in the page.
The embodiment for issuing test assignment is given below:
Tester may search for being connected to the server to be measured of Intranet at the machine handing interface of wechat small routine, selection
After complete server to be measured, corresponding test assignment and required test resource are set, test resource is then issued to clothes to be measured
Business device is tested.Concrete technical scheme is:
1) all servers to be measured are connected in the Intranet of laboratory by router, and system control module is deployed in therein
On one server, as test and management server;
2) testing execution module is installed, the testing execution module on Servers-all can be with all servers to be measured
System control module on test and management server is communicated;
3) tester clicks on " search " at the machine handing interface of wechat small routine, will search for clothes to be measured in all Intranets
The Get request of business device is sent to system control module, and after system control module receives request, clothes to be measured are searched for according to IP address
Business device, if can be communicated by execution module and server to be measured, its IP address is added into server list to be measured;
4) tester is selected after needing to perform the server to be measured tested, and is clicked on " newly-built test assignment ", can be entered
Test assignment parameter setting page simultaneously fills in detailed test assignment information, click on " it is determined that " after, small routine is by the test assignment
All parameters are performed to send to system control module;
5) after system control module receives new test assignment, the details of test assignment are preserved to data first
Storehouse, required resource then will be tested according to the content of test assignment and be sent to corresponding server to be measured;
6) after the execution module of server to be measured receives test assignment and resource from system control module, start to hold
Row test assignment, and the implementation status of test assignment and final result are sent to system control module;
7) system control module preserves the data from each server execution module received to database.
In addition, the application of the present invention is not limited to technique, mechanism, the system of the particular implementation described in specification
Make, material composition, means, method and step., will be easy as one of ordinary skill in the art from the disclosure
Ground understands, for current technique that is existing or will developing later, mechanism, manufacture, material composition, means, method or
Step, the knot that wherein they perform the function being substantially the same with the corresponding embodiment of the invention described or acquisition is substantially the same
Fruit, they can be applied according to the present invention.Therefore, appended claims of the present invention are intended to these techniques, mechanism, system
Make, material composition, means, method or step are included in its protection domain.
Claims (9)
1. a kind of server automated test and management system, it is characterized in that, including wechat small routine, test and management server and treat
Survey server, the wechat small routine is connected with test and management server, to check server automated test process and
Operate test and management server and complete test assignment, the test and management server is connected with server to be measured, that will treat
The test data for surveying server feeds back to wechat small routine, carries out the unified management of test assignment, test assignment issuing and surveying
The collection storage of test result.
2. a kind of server automated test and management system according to claim 1, it is characterized in that, the wechat small routine
The page and test assignment administration page are checked including front-end interactive page, test process, the front-end interactive page is used to log in
Server automated test and management system homepage, test process check that the page is used to check server automated testing progress and knot
Fruit, test assignment administration page be used for it is newly-built, issue test assignment and management test assignment, the wechat small routine includes front end
Interaction page, test process check that the page and test assignment administration page all carry out test data by Get and Post requests
Displaying and submission.
3. a kind of server automated test and management system according to claim 2, it is characterized in that, front-end interactive page,
Test process check the way of submission of test data in the page and test assignment administration page in the following ways in one kind or
It is a variety of:Text input, text search, menu setecting, speech recognition tools, image recognition tool.
4. a kind of server automated test and management system according to claim 2, it is characterized in that, the wechat small routine
The Open-Source Tools provided by wechat official are developed, and carry out page layout using HTML, are carried out using JavaScript
Various page interactions.
5. a kind of server automated test and management system according to claim 1, it is characterized in that, the test and management clothes
Installation system control module in business device, the system control module are used in real time be led to wechat small routine, server to be measured
Letter, the test and management sent to receive wechat small routine instruct and the script of test and management and parameter are sent into clothes to be measured
Business device, the wechat small routine are communicated by WebSocket with test and management server.
6. a kind of server automated test and management system according to claim 1, it is characterized in that, the server to be measured
Middle installation testing execution module, the test script and parameter that the execution module reception system control module is sent proceed by survey
Try, the test mode being carrying out on server to be measured and feedback of the information can be given system to control by execution module in the process of implementation
Module, then system control server these information are preserved to database, wechat small routine is by database to test result
With the inquiry of progress.
7. a kind of server automated test and management method, it is characterized in that, described method comprises the following steps:
Front end interactive interface login service device automatic test management system, it is wechat small routine and test and management server, to be measured
Server establishes data interaction;
Test process checks page retrieval history test assignment and shows testing progress and result;
Test assignment administration page carries out test assignment management to server automated test.
8. a kind of server automated test and management method according to claim 7, it is characterized in that, display test assignment and
As a result specific implementation process is:
Whether checking user has logged in, if logged in, wechat small routine is checked to the transmission of test and management server chooses test
The Get request of task;
After test and management server receives request, data base querying is gone to choose the data of test assignment, the data that will be inquired
Return to wechat small routine;
Wechat small routine receives test assignment data, and data are included checking in the page in test process.
9. a kind of server automated test and management method according to claim 7, it is characterized in that, test assignment management
Specific implementation process is:
The server to be measured and operation content that needs manage are chosen in test assignment administration page;
Test and management server sends the script and supplemental characteristic of test and management to server to be measured;
Server to be measured receives the script and parameter of test and management, and dependent instruction is performed by testing execution module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710868259.1A CN107678956A (en) | 2017-09-22 | 2017-09-22 | A kind of server automated test and management system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710868259.1A CN107678956A (en) | 2017-09-22 | 2017-09-22 | A kind of server automated test and management system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107678956A true CN107678956A (en) | 2018-02-09 |
Family
ID=61135908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710868259.1A Pending CN107678956A (en) | 2017-09-22 | 2017-09-22 | A kind of server automated test and management system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678956A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399131A (en) * | 2018-03-13 | 2018-08-14 | 百度在线网络技术(北京)有限公司 | Automatic test cases generation method and device |
CN108683648A (en) * | 2018-05-02 | 2018-10-19 | 珠海横琴盛达兆业科技投资有限公司 | A method of based on realizing secure communication by constantly converting identifying code between wechat small routine and server |
CN109739754A (en) * | 2018-12-25 | 2019-05-10 | 北京仁科互动网络技术有限公司 | Application program automated testing method and system based on wechat exploitation |
CN110389886A (en) * | 2018-04-16 | 2019-10-29 | 腾讯科技(深圳)有限公司 | A kind of additional function test method, device and the storage medium of main body application program |
CN108540674B (en) * | 2018-03-22 | 2020-12-29 | 平安科技(深圳)有限公司 | Automatic testing method and device, computer equipment and storage medium |
CN112181802A (en) * | 2020-08-21 | 2021-01-05 | 长沙市到家悠享网络科技有限公司 | Test method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2492814A1 (en) * | 2011-02-28 | 2012-08-29 | Sap Ag | Managing test automation |
CN103544100A (en) * | 2012-07-12 | 2014-01-29 | 腾讯科技(深圳)有限公司 | Method, system and client side for testing APP of portable data processing equipment |
CN106055466A (en) * | 2015-04-13 | 2016-10-26 | 中兴通讯股份有限公司 | Method for implementing server testing, testing server and to-be-tested server |
CN106649109A (en) * | 2016-12-14 | 2017-05-10 | 工业和信息化部电信研究院 | Web testing method and system of intelligent terminal |
-
2017
- 2017-09-22 CN CN201710868259.1A patent/CN107678956A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2492814A1 (en) * | 2011-02-28 | 2012-08-29 | Sap Ag | Managing test automation |
CN103544100A (en) * | 2012-07-12 | 2014-01-29 | 腾讯科技(深圳)有限公司 | Method, system and client side for testing APP of portable data processing equipment |
CN106055466A (en) * | 2015-04-13 | 2016-10-26 | 中兴通讯股份有限公司 | Method for implementing server testing, testing server and to-be-tested server |
CN106649109A (en) * | 2016-12-14 | 2017-05-10 | 工业和信息化部电信研究院 | Web testing method and system of intelligent terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399131A (en) * | 2018-03-13 | 2018-08-14 | 百度在线网络技术(北京)有限公司 | Automatic test cases generation method and device |
CN108540674B (en) * | 2018-03-22 | 2020-12-29 | 平安科技(深圳)有限公司 | Automatic testing method and device, computer equipment and storage medium |
CN110389886A (en) * | 2018-04-16 | 2019-10-29 | 腾讯科技(深圳)有限公司 | A kind of additional function test method, device and the storage medium of main body application program |
CN110389886B (en) * | 2018-04-16 | 2021-08-03 | 腾讯科技(深圳)有限公司 | Additional function testing method and device of main application program and storage medium |
CN108683648A (en) * | 2018-05-02 | 2018-10-19 | 珠海横琴盛达兆业科技投资有限公司 | A method of based on realizing secure communication by constantly converting identifying code between wechat small routine and server |
CN109739754A (en) * | 2018-12-25 | 2019-05-10 | 北京仁科互动网络技术有限公司 | Application program automated testing method and system based on wechat exploitation |
CN109739754B (en) * | 2018-12-25 | 2022-03-11 | 北京仁科互动网络技术有限公司 | Automatic testing method and system for application program based on WeChat development |
CN112181802A (en) * | 2020-08-21 | 2021-01-05 | 长沙市到家悠享网络科技有限公司 | Test method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678956A (en) | A kind of server automated test and management system and method | |
CN105302732B (en) | A kind of automatic test approach and device of mobile terminal | |
CN103514159B (en) | A kind of method, system and the device of processing form templat | |
US20090055522A1 (en) | Website load testing using a plurality of remotely operating agents distributed over a wide area | |
CN108574604B (en) | Test method and device | |
CN101957844B (en) | On-line application system and implementation method thereof | |
CN105373478B (en) | Automated testing method and system | |
CN103678321A (en) | Webpage element determination method and device and user behavior route determination method and device | |
CN102624920A (en) | Method and device for performing access through proxy server | |
CN106961362A (en) | Automated testing method and mobile cloud test system | |
CN104657659B (en) | A kind of storage cross-site attack script loophole detection method, apparatus and system | |
CN101159762B (en) | Method and device of accelerating download of web page contents | |
CN104967644A (en) | Message push method, apparatus and system | |
CN111597114B (en) | Method, device, equipment and storage medium for verifying applet | |
US20220198025A1 (en) | Web Attack Simulator | |
CN105516333B (en) | A kind of web-based exchange method and system | |
US11502899B2 (en) | Dynamic product installation based on user feedback | |
CN103546330A (en) | Method, device and system for detecting compatibilities of browsers | |
CN107395747A (en) | A kind of high extended method based on STF platforms | |
CN105117340B (en) | URL detection methods and device for iOS browser application quality evaluations | |
CN102999424B (en) | Parallel remote automated testing method | |
CN114039899B (en) | Method for realizing network performance test of WEB product based on Fiddler tool | |
CN107832221A (en) | Platform semi-automation function test method, apparatus and system based on Burpsuit plug-in units | |
CN104834594B (en) | Web system method of testing and device | |
CN109359707A (en) | Processing method, device, computer equipment and the storage medium of ground sample information |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |
|
RJ01 | Rejection of invention patent application after publication |