CN104391785A - Testing method for ERP (Enterprise Resource Planning) data - Google Patents

Testing method for ERP (Enterprise Resource Planning) data Download PDF

Info

Publication number
CN104391785A
CN104391785A CN201410614404.XA CN201410614404A CN104391785A CN 104391785 A CN104391785 A CN 104391785A CN 201410614404 A CN201410614404 A CN 201410614404A CN 104391785 A CN104391785 A CN 104391785A
Authority
CN
China
Prior art keywords
test
data
dynamic event
client
testing
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.)
Granted
Application number
CN201410614404.XA
Other languages
Chinese (zh)
Other versions
CN104391785B (en
Inventor
曹毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Biz United Information Technology Co Ltd
Original Assignee
Chengdu Biz United Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Biz United Information Technology Co Ltd filed Critical Chengdu Biz United Information Technology Co Ltd
Priority to CN201410614404.XA priority Critical patent/CN104391785B/en
Publication of CN104391785A publication Critical patent/CN104391785A/en
Application granted granted Critical
Publication of CN104391785B publication Critical patent/CN104391785B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a testing method for ERP (Enterprise Resource Planning) data and aims at solving the problems of labor waste and low efficiency in construction of an ERP testing environment in the prior art. By using the testing method, the ERP data are tested according to static events and dynamic events; users who perform testing can customize testing process and testing contents on the premise of automation. Meanwhile, according to the testing method, the testing efficiency of the ERP system can be greatly improved, developing personnel or maintenance personnel for ERP can concentrate on the development of functions and the completeness of performances, and further human and financial resources for a development side and a user side are saved.

Description

A kind of ERP data test method
Technical field
The present invention relates to automatic test field, particularly a kind of ERP data test method.
Background technology
In the development process of software, need to carry out automatic test to the function of some programs; And in the prior art, when performing the automatic test of some function, need to back up tested data, and when having tested, the file of backup is used to reduce to the data after having tested, constant to ensure original data model, thus original data can be used to carry out automatic test repeatedly and checking.
In recent years, ERP system is widely used due to its science in business administration and effective characteristic.It usually relates to storage, processes some important affairs, is in more and more consequence in the routine work of enterprise.Especially often permissions data is related to. whether the model of these data is correct, be related to whole ERP system can normally use, whether operation flow unimpeded, and in using/later maintenance time the increase of function, deletion and the amendment key factor that can on time issue.
During prior art test interaction data, tester utilizes true terminal to carry out data manipulation.This way is quite time-consuming, but also cannot ensure the quantification test request of Iarge-scale system.
Tester carries out repeatedly repetitive operation, expends very large manpower and time resource, and the situation of statistic record mistake, appears in manual analysis interaction results unavoidably, even if drop into a lot of manpowers and time, also possibly cannot ensure the accuracy of data.
Summary of the invention
In order to reduce time and the human input of tester, improving the randomness of test simultaneously and improving data test efficiency, embodiments providing a kind of ERP data test method, comprising:
(1) client initialization static data, described static data comprises the data volume upper limit of test subscriber's authority and test data;
(2) client initialization dynamic event, described dynamic event comprises test instruction;
(3) client arranges dynamic event ordered mode: the treatment step of the corresponding described dynamic event of described dynamic event ordered mode or processing sequence;
(4) server end is according to above-mentioned dynamic event ordered mode, utilizes the abnormal information of dynamic event and static data and successful information configuration server end to test successful template;
(5) client is according to above-mentioned dynamic event ordered mode, utilizes the abnormal information of dynamic event and static data and successful information configuration client to test successful template;
(6) client sends request, carries out data test according to above-mentioned dynamic event and static data, alternatively completes above-mentioned dynamic event ordered mode with server end;
(7) client and server contrasts respective test result and respective test success template respectively;
(8) test template match information is sent to the client sending above-mentioned request by server end;
(9) described client provides test result.
Further, the user name used when described user right comprises test and log in password.
Further, described dynamic event comprises the test to user right.
Further, described static data also comprises type and the Data field names of test data.
Further, described dynamic event ordered mode also comprises the number of processes of dynamic event wherein.
Further, described dynamic event ordered mode is set to the form of configuration file.
Further, described dynamic event ordered mode also comprises the path mode of static data, and this path mode comprises random selecting, manually chooses, and random selecting and manually choose and combine these three kinds.
Further, when the path mode of static data comprise manually choose time, by the path at test subscriber's nominative testing data place.
Further, described server end is tested successful template and client and is tested successful template and include the data maximum network propagation delay time pre-set.
Further, when network latency exceeds the above-mentioned maximum network propagation delay time, change network transmission path when there are other transmission paths again to transmit, if again exceed, then stop data transmission and in test result, record the network transmission path related in this transmission events.
Beneficial effect of the present invention is: test subscriber can under the prerequisite of robotization, self-defined test process and content measurement, simultaneously, the present invention also drastically increases the testing efficiency of ERP system, enable ERP developer or maintainer energy be concentrated on the exploitation of function and improving of performance, and then save manpower, the financial resources of exploitation side and user.
Accompanying drawing explanation
Fig. 1 shows according to the method flow diagram selecting again embodiment preferred embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, be described in further detail below in conjunction with accompanying drawing 1 pair of the preferred embodiment of the present invention.
As shown in Figure 1, in a preferred embodiment of the invention, following ERP data test method is provided.The method comprises the steps:
Step 1: client initialization static data, described static data comprises the data volume upper limit of test subscriber's authority and test data.
The user name that described user right uses when comprising test and log in password.This is because ERP system itself comprises multiple user right, when normally using, should be that the specific operation of the user of certain authority of ERP system can not be completed by the user of other authorities.Therefore, in the preferred embodiments of the present invention, using the authority of user as one of necessary data of testing, be conducive to the security of enhancing system and the integrality of test.
The setting of the above-mentioned data volume upper limit is in order to ensure in data test process can guaranteeing that practical function is tested while, suitable, reasonably can provide response message to user in the time period.Otherwise, when excessive as the data volume of test data (such as, what operate when information preservation, information inquiry etc. returns results), will the too much time be expended when processing identical event.Therefore, The present invention gives the above-mentioned upper limit as one of static data, to raise the efficiency.
According to a further advantageous embodiment of the invention, described static data also comprises type and the Data field names of test data.The object of such setting is when test event occurs, and the data relating to this test event first will through the filtration of data type and data field and inspection: if all met, then enter practical operation; Otherwise stop the follow-up dynamic event that gross error may be caused even to cause test accidental interruption.
Step 2: client initialization dynamic event, described dynamic event comprises test instruction.These test instructions include but not limited to: data query, according to the data statistics of various field and analysis, data backup, authority amendment (mainly Modify password) etc.
According to another preferred embodiment of the invention, described dynamic event ordered mode also comprises the number of processes of dynamic event wherein.Here " number of processes " is not the number of processes that above-mentioned dynamic event itself requires, but artificial regulation (tester according to actual conditions and demand self-defining) number of processes of above-mentioned dynamic event.This repeatedly re-treatment can test the stability of a certain dynamic event or ERP functional module.
What it should be apparent to those skilled in the art that is, after the arranging of above-mentioned two steps, user right set in static data can except corresponding user except comprising above-mentioned dynamic event, other user rights can also be comprised, whether correct in order to verifying authorization module privilege feature that is whether correct or ERP system.
According to a preferred embodiment of the invention, described dynamic event ordered mode is set to the form of configuration file.This file can open by text editor edlin of going forward side by side, and also can be processed by other character editing software.
Step 3: client arranges dynamic event ordered mode: the treatment step of the corresponding described dynamic event of described dynamic event ordered mode or processing sequence;
Step 4: server end, according to above-mentioned dynamic event ordered mode, utilizes the abnormal information of dynamic event and static data and successful information configuration server end to test successful template;
Step 5: client, according to above-mentioned dynamic event ordered mode, utilizes the abnormal information of dynamic event and static data and successful information configuration client to test successful template;
Step 6: client sends request, carries out data test according to above-mentioned dynamic event and static data, alternatively completes above-mentioned dynamic event ordered mode with server end;
According to a preferred embodiment of the invention, described dynamic event ordered mode also comprises the path mode of static data, and this path mode comprises random selecting, manually chooses, and random selecting and manually choose and combine these three kinds.Wherein, random selecting mode is that test subscriber can not the situation of human intervention.This random selecting mode is the random digit generated in the request sent by client is a series of unduplicated natural number that seed produces.These natural numbers equal the number of above-mentioned dynamic event.In the mode manually chosen, client when sending above-mentioned request, by test subscriber artificially appointment order.In the mode that random selecting and manually choosing combines, preferential to be manually chosen for.That is, remove in whole dynamic event after the dynamic event corresponding to order of manually being specified by tester, remaining dynamic event is that seed produces corresponding order by above-mentioned random digit.
According to a further advantageous embodiment of the invention, when the path mode of static data comprise manually choose time, by the path at test subscriber's nominative testing data place.This mode is particularly suitable for test purpose to be needed to use during big data quantity, thus eliminates test subscriber and manually input the loaded down with trivial details of mass data, improves the efficiency of data test.
Step 7: client and server contrasts respective test result and respective test success template respectively;
Step 8: test template match information is sent to the client sending above-mentioned request by server end;
Step 9: described client provides test result.This test result comprises the result whether above-mentioned each dynamic event is normally processed, and preferably, provides with the form reported.In another preferred embodiment, also provide conclusive test result at the end of, such as: the dynamic event more than 95% all successfully passes, then think that data test result is stablized, ERP system work is normal; Otherwise prompting ERP system needs to check not by the module of test, in order to avoid affect the day to day operation of ERP system.
According to another preferred embodiment of the present invention, described server end is tested successful template and client and is tested successful template and include the data maximum network propagation delay time pre-set.When network latency exceeds the above-mentioned maximum network propagation delay time, change network transmission path when there are other transmission paths again to transmit, if again exceed, then stop data transmission and in test result, record the network transmission path related in this transmission events.But, it will be clear for those skilled in the art that the usable range of the embodiment of this Network Transmission Delays time should be in those networks after have passed through the network communications environment between client and server and testing.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an ERP data test method, is characterized in that comprising:
(1) client initialization static data, described static data comprises the data volume upper limit of test subscriber's authority and test data;
(2) client initialization dynamic event, described dynamic event comprises test instruction;
(3) client arranges dynamic event ordered mode: the treatment step of the corresponding described dynamic event of described dynamic event ordered mode or processing sequence;
(4) server end is according to above-mentioned dynamic event ordered mode, utilizes the abnormal information of dynamic event and static data and successful information configuration server end to test successful template;
(5) client is according to above-mentioned dynamic event ordered mode, utilizes the abnormal information of dynamic event and static data and successful information configuration client to test successful template;
(6) client sends request, carries out data test according to above-mentioned dynamic event and static data, alternatively completes above-mentioned dynamic event ordered mode with server end;
(7) client and server contrasts respective test result and respective test success template respectively;
(8) test template match information is sent to the client sending above-mentioned request by server end;
(9) described client provides test result.
2. method of testing according to claim 1, is characterized in that, the user name used when described user right comprises test and log in password.
3. method of testing according to claim 1, is characterized in that, described dynamic event comprises the test to user right.
4. method of testing according to claim 1, is characterized in that, described static data also comprises type and the Data field names of test data.
5. method of testing according to claim 3, is characterized in that, described dynamic event ordered mode also comprises the number of processes of dynamic event wherein.
6. method of testing according to claim 1, is characterized in that, described dynamic event ordered mode is set to the form of configuration file.
7. the method for testing according to claim 3 or 5, is characterized in that, described dynamic event ordered mode also comprises the path mode of static data, and this path mode comprises random selecting, manually chooses, and random selecting and manually choose and combine these three kinds.
8. method of testing according to claim 7, is characterized in that, when the path mode of static data comprise manually choose time, by the path at test subscriber's nominative testing data place.
9. method of testing according to claim 7, is characterized in that, described server end is tested successful template and client and tested successful template and include the data maximum network propagation delay time pre-set.
10. method of testing according to claim 8 or claim 9, it is characterized in that, when network latency exceeds the above-mentioned maximum network propagation delay time, change network transmission path when there are other transmission paths again to transmit, if again exceed, then stop data transmission and in test result, record the network transmission path related in this transmission events.
CN201410614404.XA 2014-11-04 2014-11-04 A kind of ERP data tests method Expired - Fee Related CN104391785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410614404.XA CN104391785B (en) 2014-11-04 2014-11-04 A kind of ERP data tests method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410614404.XA CN104391785B (en) 2014-11-04 2014-11-04 A kind of ERP data tests method

Publications (2)

Publication Number Publication Date
CN104391785A true CN104391785A (en) 2015-03-04
CN104391785B CN104391785B (en) 2017-06-23

Family

ID=52609693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410614404.XA Expired - Fee Related CN104391785B (en) 2014-11-04 2014-11-04 A kind of ERP data tests method

Country Status (1)

Country Link
CN (1) CN104391785B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110909053A (en) * 2019-10-10 2020-03-24 惠州市金百泽电路科技有限公司 Automatic electroplating parameter acquisition method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5754755A (en) * 1996-10-10 1998-05-19 Microsoft Corporation Method and system for generating test scripts
CN101515250A (en) * 2009-04-09 2009-08-26 腾讯科技(深圳)有限公司 Method for testing software system and device thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5754755A (en) * 1996-10-10 1998-05-19 Microsoft Corporation Method and system for generating test scripts
CN101515250A (en) * 2009-04-09 2009-08-26 腾讯科技(深圳)有限公司 Method for testing software system and device thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
J.PRABHU 等: "Study of ERP Test-Suite Reduction Based on Modified Condition_Decision Cover", 《COMPUTER RESEARCH AND DEVELOPMENT,2010 SECOND INTERNATIONAL CONFERENCE ON》 *
余秋惠 等: "基于模板的Web应用程序的自动测试", 《软件导刊》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110909053A (en) * 2019-10-10 2020-03-24 惠州市金百泽电路科技有限公司 Automatic electroplating parameter acquisition method
WO2021068377A1 (en) * 2019-10-10 2021-04-15 惠州市金百泽电路科技有限公司 Method for automatically acquiring electroplating parameters

Also Published As

Publication number Publication date
CN104391785B (en) 2017-06-23

Similar Documents

Publication Publication Date Title
CN110442524B (en) Method and device for testing web service interface with authentication authorization
CN104572122A (en) Software application data generating device and method
US20050222969A1 (en) Centralized configuration data management for distributed clients
CN104123227A (en) Method for automatically generating testing cases
CN109460223A (en) A kind of API gateway management system and its method
CN105516133A (en) User identity verification method, server and client
US11196627B1 (en) Managed remediation of non-compliant resources
CN104462579A (en) Job task management method of large data management platform
CN107423223A (en) Test and management system
CN110659202A (en) Client automatic testing method and device
US20190073600A1 (en) Skipping maintenance mode of applications
CN115982012A (en) Evaluation model and method for interface management capability maturity
CN112787895A (en) Network inspection method, device and equipment
CN109688093A (en) Firewall policy verification method, system, equipment and readable storage medium storing program for executing
CN107566513A (en) Test equipment DOS environmental data collecting methods and system
CN110941632A (en) Database auditing method, device and equipment
CN112333171B (en) Service data processing method and device and computer equipment
CN104391785A (en) Testing method for ERP (Enterprise Resource Planning) data
CN112199691A (en) Privileged account management middle platform system
CN110210192A (en) Approaches to IM, device, equipment and readable storage medium storing program for executing
CN112015715A (en) Industrial Internet data management service testing method and system
CN103971224A (en) Signing method and system
US10762461B2 (en) Automatic comparison of enterprise profile analytics
Guthrie et al. Building Cloud Apps with Microsoft Azure: Best practices for DevOps, data storage, high availability, and more
CN115774581A (en) Method and related apparatus for executing robot feet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170623

Termination date: 20171104