CN103605610A - System and method for software testing based on Hadoop - Google Patents

System and method for software testing based on Hadoop Download PDF

Info

Publication number
CN103605610A
CN103605610A CN201310662335.5A CN201310662335A CN103605610A CN 103605610 A CN103605610 A CN 103605610A CN 201310662335 A CN201310662335 A CN 201310662335A CN 103605610 A CN103605610 A CN 103605610A
Authority
CN
China
Prior art keywords
testing
test
tested
hdfs
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310662335.5A
Other languages
Chinese (zh)
Inventor
黄敏
刘晶
侯德龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201310662335.5A priority Critical patent/CN103605610A/en
Publication of CN103605610A publication Critical patent/CN103605610A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a system and a method for software testing based on Hadoop. The system comprises a management server, more than one testing server and a Hadoop distributed file system (HDFS), wherein the management server is used for receiving to-be-tested product software and test request which are sent from a user terminal and sending the received to-be-tested product software to the HDFS, and moreover, the testing server sends out a test instruction according to the received test request, obtains a test result from the HDFS, and sends the obtained test result to the user terminal. A user with software testing requirement inputs the to-be-tested product software and the test request at a remote user terminal, and a remote server finishes software testing and returns the obtained test result back to the user terminal. The user can optionally choose test tools as long as the user has test authority, so that test cost is reduced; moreover, an excess of test teams is not needed, human resource is saved.

Description

A kind of software testing system and method based on Hadoop
Technical field
The present invention relates to software testing technology field, be specifically related to a kind of software testing system and method based on Hadoop.
Technical background
Conventionally technology is the flow process of a standard to the test of software, relates to testing tool, test environment and test team.The price of testing tool is conventionally very expensive, and conventionally there is very strong specific aim, test different software and may need different testing tools, even only a specific software is tested and also may be needed to buy more than a testing tool, this has increased the cost that enterprise carries out software test greatly.And, software test is very high to the requirement of test environment, performance test stage and pressure test stage are especially high to the requirement of test environment, for example, some software is carried out to performance test, need to simulate hundreds thousand of, millions of even more users and make a call or ask, general enterprises is difficult to possess corresponding software and hardware resources.Simulated performance test and the pressure test of therefore large data are more difficult to the tester of general enterprises, testing in addition team needs a large amount of time and efforts just can fully understand that product software to be tested just can build test environment, carries out software test.The present invention can solve this difficult problem.
Summary of the invention
The technical problem to be solved in the present invention is: propose a kind of software testing system and method based on Hadoop.
The technical solution adopted in the present invention is:
A software testing system based on Hadoop, comprises management server, more than one testing server and Hadoop distributed file system HDFS (Hadoop Distributed File System, HDFS), wherein:
Management server, product software to be tested and the test request for receiving user terminal, sent, issue HDFS by the product software to be tested of receiving, and send test instruction according to the test request testing server of receiving; And obtain test result from HDFS, and the test result of obtaining is issued to user terminal; Also for calling the configuration information that HBase stores, test request is carried out to authentication, when authentication by time, carry out the operation that the product software to be tested of receiving is issued to HDFS; And according to the test request of receiving, the parameter testing server by map function in Mapreduce algorithm frame sends test instruction;
Testing server, be used for storing one or more testing softwares, for the test instruction of sending according to management server, call the corresponding testing tool of self storing, and from HDFS, obtain corresponding product software to be tested, the testing tool that control is called is tested the product software to be tested obtaining, and test result is sent to HDFS;
The product software to be tested that distributed file system HDFS sends for storage managing server, and the test result sent of testing server.
Described testing server comprises testing tool call unit, product software acquiring unit and test cell to be tested, wherein,
Testing tool call unit, for the test instruction of sending according to management server, calls the corresponding testing tool of its storage;
Product software acquiring unit to be tested, for obtaining corresponding product software to be tested from HDFS;
Test cell, tests for controlling the product software to be tested that the testing tool that calls obtains product software acquiring unit to be tested, and test result is sent to HDFS.
A method for testing software based on Hadoop, described method comprises:
Product software to be tested and test request that management server receiving terminal user sends, the product software to be tested of receiving is issued to Hadoop distributed file system HDFS (Hadoop Distributed File System, HDFS), and according to the test request testing server of receiving send test instruction;
The testing server of receiving test instruction calls the corresponding testing tool of self storing, and from HDFS, obtain corresponding product software to be tested, the testing tool that control is called is tested the product software to be tested obtaining, and test result is sent to HDFS;
Management server obtains test result from HDFS, and the test result of obtaining is issued to user terminal.So, can make software test user build different test environments because of the difference of product software to be tested, save testing cost.
Before product software to be tested is issued HDFS, management server calls Hadoop distributed data base HBase (Hadoop Database, HBase) in, the configuration information of storage carries out authentication to test request, when authentication is passed through, carry out the operation that the product software to be tested of receiving is issued to HDFS.Hadoop is a kind of distributed system architecture of increasing income.
When authentication is not passed through, management server calls the configuration information of storing in HBase remaining sum is detected, and the type service of request is detected, the type service of request is, while allowing the type service of use, to carry out the operation that the software under testing of receiving is issued to HDFS.
Test request is sent test instruction by the parameter of map function in Mapreduce algorithm frame to testing server.
Beneficial effect of the present invention is:
The user that need to carry out software test inputs product software to be tested and test request at remote user terminals, by the server of far-end, is completely carried out part test, the test result obtaining is returned to user terminal.Like this, user just needn't build the specific environment of test because of the difference of product software to be tested software is tested, and only needs to obtain test authority and just can select arbitrarily testing tool, has saved testing cost; And without too much test team, human resources have been saved.
Accompanying drawing explanation
Fig. 1 is that the software testing system that the present invention is based on Hadoop forms structural drawing.
Embodiment
With reference to the accompanying drawings, the present invention will be described in conjunction with the embodiments:
A software testing system based on Hadoop, comprises management server, more than one testing server and Hadoop distributed file system HDFS (Hadoop Distributed File System, HDFS), wherein:
Management server, product software to be tested and the test request for receiving user terminal, sent, issue HDFS by the product software to be tested of receiving, and send test instruction according to the test request testing server of receiving; And obtain test result from HDFS, and the test result of obtaining is issued to user terminal; Also for calling the configuration information that HBase stores, test request is carried out to authentication, when authentication by time, carry out the operation that the product software to be tested of receiving is issued to HDFS; And according to the test request of receiving, the parameter testing server by map function in Mapreduce algorithm frame sends test instruction;
Testing server, be used for storing one or more testing softwares, for the test instruction of sending according to management server, call the corresponding testing tool of self storing, and from HDFS, obtain corresponding product software to be tested, the testing tool that control is called is tested the product software to be tested obtaining, and test result is sent to HDFS;
The product software to be tested that distributed file system HDFS sends for storage managing server, and the test result sent of testing server.
Described testing server comprises testing tool call unit, product software acquiring unit and test cell to be tested, wherein,
Testing tool call unit, for the test instruction of sending according to management server, calls the corresponding testing tool of its storage; Product software acquiring unit to be tested, for obtaining corresponding product software to be tested from HDFS;
Test cell, tests for controlling the product software to be tested that the testing tool that calls obtains product software acquiring unit to be tested, and test result is sent to HDFS.

Claims (6)

1. the software testing system based on Hadoop, is characterized in that: comprise management server, more than one testing server and Hadoop distributed file system HDFS, wherein:
Management server, product software to be tested and the test request for receiving user terminal, sent, issue HDFS by the product software to be tested of receiving, and send test instruction according to the test request testing server of receiving; And obtain test result from HDFS, and the test result of obtaining is issued to user terminal; Also for calling the configuration information that HBase stores, test request is carried out to authentication, when authentication by time, carry out the operation that the product software to be tested of receiving is issued to HDFS; And according to the test request of receiving, the parameter testing server by map function in Mapreduce algorithm frame sends test instruction;
Testing server, be used for storing one or more testing softwares, for the test instruction of sending according to management server, call the corresponding testing tool of self storing, and from HDFS, obtain corresponding product software to be tested, the testing tool that control is called is tested the product software to be tested obtaining, and test result is sent to HDFS;
The product software to be tested that distributed file system HDFS sends for storage managing server, and the test result sent of testing server.
2. a kind of software testing system based on Hadoop according to claim 1, is characterized in that: described testing server comprises testing tool call unit, product software acquiring unit and test cell to be tested, wherein,
Testing tool call unit, for the test instruction of sending according to management server, calls the corresponding testing tool of its storage;
Product software acquiring unit to be tested, for obtaining corresponding product software to be tested from HDFS;
Test cell, tests for controlling the product software to be tested that the testing tool that calls obtains product software acquiring unit to be tested, and test result is sent to HDFS.
3. a kind of method for testing software based on Hadoop based on described in claim 1 or 2, is characterized in that, described method comprises:
Product software to be tested and test request that management server receiving terminal user sends, issue Hadoop distributed file system HDFS by the product software to be tested of receiving, and send test instruction according to the test request testing server of receiving;
The testing server of receiving test instruction calls the corresponding testing tool of self storing, and from HDFS, obtain corresponding product software to be tested, the testing tool that control is called is tested the product software to be tested obtaining, and test result is sent to HDFS;
Management server obtains test result from HDFS, and the test result of obtaining is issued to user terminal.
4. a kind of method for testing software based on Hadoop according to claim 3, it is characterized in that: before product software to be tested is issued HDFS, management server calls the configuration information of storing in Hadoop distributed data base HBase test request is carried out to authentication, when authentication is passed through, carry out the operation that the product software to be tested of receiving is issued to HDFS.
5. a kind of method for testing software based on Hadoop according to claim 4, it is characterized in that: when authentication is not passed through, management server calls the configuration information of storing in HBase remaining sum is detected, and the type service of request is detected, the type service of request is, while allowing the type service of use, to carry out the operation that the software under testing of receiving is issued to HDFS.
6. according to a kind of method for testing software based on Hadoop described in claim 4 or 5, it is characterized in that: test request is sent test instruction by the parameter of map function in Mapreduce algorithm frame to testing server.
CN201310662335.5A 2013-12-10 2013-12-10 System and method for software testing based on Hadoop Pending CN103605610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310662335.5A CN103605610A (en) 2013-12-10 2013-12-10 System and method for software testing based on Hadoop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310662335.5A CN103605610A (en) 2013-12-10 2013-12-10 System and method for software testing based on Hadoop

Publications (1)

Publication Number Publication Date
CN103605610A true CN103605610A (en) 2014-02-26

Family

ID=50123839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310662335.5A Pending CN103605610A (en) 2013-12-10 2013-12-10 System and method for software testing based on Hadoop

Country Status (1)

Country Link
CN (1) CN103605610A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021077A (en) * 2014-06-10 2014-09-03 广州市久邦数码科技有限公司 Mobile terminal software test system and method
CN104298601A (en) * 2014-10-24 2015-01-21 浪潮电子信息产业股份有限公司 Software system testing method based on Hadoop platform
CN105159833A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Automatic testing device and method
CN106776288A (en) * 2016-11-25 2017-05-31 北京航空航天大学 A kind of health metric method of the distributed system based on Hadoop
CN107451059A (en) * 2017-07-31 2017-12-08 郑州云海信息技术有限公司 A kind of method for testing software and test device
CN108089981A (en) * 2017-12-05 2018-05-29 郑州云海信息技术有限公司 A kind of method for improving server test resource service efficiency

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021077A (en) * 2014-06-10 2014-09-03 广州市久邦数码科技有限公司 Mobile terminal software test system and method
CN104298601A (en) * 2014-10-24 2015-01-21 浪潮电子信息产业股份有限公司 Software system testing method based on Hadoop platform
CN105159833A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Automatic testing device and method
CN106776288A (en) * 2016-11-25 2017-05-31 北京航空航天大学 A kind of health metric method of the distributed system based on Hadoop
CN106776288B (en) * 2016-11-25 2019-11-19 北京航空航天大学 A kind of health metric method of the distributed system based on Hadoop
CN107451059A (en) * 2017-07-31 2017-12-08 郑州云海信息技术有限公司 A kind of method for testing software and test device
CN108089981A (en) * 2017-12-05 2018-05-29 郑州云海信息技术有限公司 A kind of method for improving server test resource service efficiency

Similar Documents

Publication Publication Date Title
US10678683B2 (en) System and method for automated service layer testing and regression
US10229039B2 (en) Testing a virtual network function by a virtual network tester
CN103605610A (en) System and method for software testing based on Hadoop
US9563544B2 (en) Framework for automated testing of mobile apps
CN108984388B (en) Method and terminal equipment for generating automatic test case
CN102841846A (en) Software testing method, device and system based on Hadoop
US20140068568A1 (en) System and method for dynamically debugging data in a multi-tenant database environment
CN103246606B (en) The performance test methods of ESB platform and system
US8046638B2 (en) Testing of distributed systems
WO2019075994A1 (en) Method, device and system for mock data at ios end, and storage medium
US9823999B2 (en) Program lifecycle testing
CN111209060A (en) Capability development platform processing method and device
CN104599092B (en) For monitoring the method and apparatus of order business
CN112905460B (en) Device and method for simulating three-party receipt by automatic interface test
CN113515462A (en) Method, device, equipment and storage medium for testing
CN108280024A (en) Traffic distribution strategy test method, device and electronic equipment
CN109274533B (en) Web service fault positioning device and method based on rule engine
CN111538646A (en) System and method for testing performance of spatial information network
CN110730109A (en) Method and apparatus for generating information
CN110795330A (en) Monkey pressure testing method and device
CN111008143B (en) Coverage rate scheduling test method, terminal equipment and computer readable storage medium
CN110990280B (en) Automatic test data generation system and method
CN112131095B (en) Pressure testing method and device
CN112948195A (en) Interface testing method and device, electronic equipment and storage medium
CN110443703A (en) Environmentally friendly measure of supervision and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140226