CN106959926A - A kind of the software test module and method of software-oriented upgrading - Google Patents

A kind of the software test module and method of software-oriented upgrading Download PDF

Info

Publication number
CN106959926A
CN106959926A CN201710321977.7A CN201710321977A CN106959926A CN 106959926 A CN106959926 A CN 106959926A CN 201710321977 A CN201710321977 A CN 201710321977A CN 106959926 A CN106959926 A CN 106959926A
Authority
CN
China
Prior art keywords
software
test
server
module
upgrading
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
CN201710321977.7A
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.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System 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 Shandong Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201710321977.7A priority Critical patent/CN106959926A/en
Publication of CN106959926A publication Critical patent/CN106959926A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses the software test module and method of a kind of software-oriented upgrading, realized by procedure below:Test module is created first, the test module is used to issue upgrading task, performs upgrading task, and after task is finished, carry out the inspection of implementing result;Dispose test scene, testing results module;Test result is analyzed, test report is provided.The software test module and method of a kind of software-oriented upgrading of the present invention are compared with prior art, by using the software of B/S frameworks, software upgrade is tested, escalation process is integrated in the tool, the possibility of error is preferably minimized, testing efficiency is improved, human resources are saved, testing cost is reduced.

Description

A kind of the software test module and method of software-oriented upgrading
Technical field
The present invention relates to computer software technical field, specifically a kind of software test module of software-oriented upgrading And method.
Background technology
It is increasing with the scale of computer software, increased using the radix of software, software upgrading also becomes software A kind of means of quality assurance.Software upgrading test is exactly in software running process, according to the daily BUG and visitor being collected into The demand of family feedback, this partial content is researched and developed again, is compiled, the new AKU worked it out, this is that software tends to document Committed step.It is finally reached client and uses satisfied purpose.Its definition can be summarized as solving error, be incorporated into new demand and The process of installation procedure.With the continuous expansion of software size, software quality problem has turned into the main of restriction development of computer One of factor.As the means for ensureing software quality, software upgrading test plays irreplaceable effect.With entering for technology Step, the framework of software is also more likely to B/S frameworks, Web system is accessed by Internet.Compare, be based on conventional software The characteristics of web software has different and conventional software:(1)Centralized management(2)Access region big(3)Data volume is big, business Amount is big.Be based on this, the upgrading test of software more faces more challenges, once go wrong, may will cause software or The variety of problems of person's server exception.This just proposes bigger requirement to the escalation process of web system, it is desirable to before product is reached the standard grade Strict stability upgrading test must be received.
Based on this, the present invention proposes kind of a software test module and method for software-oriented upgrading.
The content of the invention
The technical assignment of the present invention is that there is provided the software test module that a kind of software-oriented upgrades for above weak point And method.
A kind of software test module of software-oriented upgrading, for testing the software using B/S frameworks, software upgrade Test, its structure includes:
Task creation module, for creating computer software upgrading test task according to upgrade requirement;
Mission dispatching module, the test assignment of establishment is issued in task execution module;
Task execution module, carries out tasks carrying, completes software upgrading test;
Logging modle, all execution informations during logging software upgrading test;
Analysis module, the execution information recorded according to logging modle analyzes test result, provides test report.
Mutual trust module is also configured with the test module, for setting up mutual between server before software upgrading test Gateway system.
The detailed process for relation of being built up mutual trust between the mutual trust module and server is:Simulation creates server letter first Breath, the server info includes IP, host name, account, encrypted message, and the emulating server is mapped to the thing of necessary being Manage on server;Then continuity testing module is created, checks whether the server info that simulation is created is authentic and valid;In simulation On the premise of server info is authentic and valid, with creating mutual trust operation between configured server.
The detailed process of the analysis module analysis test result is to collect record during software upgrade server first Module record performance parameter, the performance parameter including the use of bandwidth, CPU, memory size;Then daily record is analyzed, inspection is It is no to have abnormal conditions;Check after software upgrading, if can normally run.
When analyzing test result, by checking the execution journal that logging modle is recorded, determined to upgrade by analysis module Whether the response time of server, the handling capacity of server, the performance indications of server meet the requirements in journey.
A kind of method for testing software of software-oriented upgrading, its implementation process is:
Test module is created first, and the test module is used to issue upgrading task, performs upgrading task, and be finished in task Afterwards, the inspection of implementing result is carried out;
Dispose test scene, testing results module;
Test result is analyzed, test report is provided.
When creating test module, the mutual trust configuration between server is carried out, its detailed process is:First in test module Middle simulation creates server info, and the server info includes IP, host name, account, encrypted message, and by the emulating server It is mapped on the physical server of necessary being;By adding continuity testing module in test module, check that simulation is created Server info it is whether authentic and valid;Test module is performed, with creating mutual trust operation between configured server.
Being created in the test module has logging modle, and the logging modle is used in the test process of test module, note Record module execution journal, step implementation status and time-consuming situation for analyzing test result.
The detailed process for completing post analysis test result in test is, first during test module collection server updating Performance parameter, the performance parameter including the use of bandwidth, CPU, memory size;Then daily record is analyzed, exception is checked whether there is Situation occurs;Check after software upgrading, if can normally run.
When analyzing test result, by checking the execution journal that logging modle is recorded, determined to upgrade by test module Whether the response time of server, the handling capacity of server, the performance indications of server meet the requirements in journey.
Compared to the prior art the software test module and method of a kind of software-oriented upgrading of the present invention, have with following Beneficial effect:
The software test module and method of a kind of software-oriented upgrading of the present invention, by using the software of B/S frameworks, are performed soft Part upgrading test, escalation process is integrated in the tool, the possibility of error is preferably minimized, testing efficiency is improved, people is saved Power resource, reduces testing cost, in the present invention, the test process of software upgrading is easy and effective, it is to avoid excessively complicated flow, It is practical, it is applied widely, with good application value.
Brief description of the drawings
Accompanying drawing 1 is the structural representation of module of the present invention.
Accompanying drawing 2 realizes schematic diagram for the inventive method.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the invention will be further described.
As shown in Figure 1, a kind of software test module of software-oriented upgrading, for testing the software using B/S frameworks, Software upgrade is tested, and its structure includes:
Task creation module, for creating computer software upgrading test task according to upgrade requirement;
Mission dispatching module, the test assignment of establishment is issued in task execution module;
Task execution module, carries out tasks carrying, completes software upgrading test;
Logging modle, all execution informations during logging software upgrading test;
Analysis module, the execution information recorded according to logging modle analyzes test result, provides test report.
Mutual trust module is also configured with the test module, for setting up mutual between server before software upgrading test Gateway system.
The detailed process for relation of being built up mutual trust between the mutual trust module and server is:Simulation creates server letter first Breath, the server info includes IP, host name, account, encrypted message, and the emulating server is mapped to the thing of necessary being Manage on server;Then continuity testing module is created, checks whether the server info that simulation is created is authentic and valid;In simulation On the premise of server info is authentic and valid, with creating mutual trust operation between configured server.
The detailed process of the analysis module analysis test result is to collect record during software upgrade server first Module record performance parameter, the performance parameter including the use of bandwidth, CPU, memory size;Then daily record is analyzed, inspection is It is no to have abnormal conditions;Check after software upgrading, if can normally run.
When analyzing test result, by checking the execution journal that logging modle is recorded, determined to upgrade by analysis module Whether the response time of server, the handling capacity of server, the performance indications of server meet the requirements in journey.
As shown in Figure 2, a kind of method for testing software of software-oriented upgrading, this method includes deployment test scene, led to Cross establishment upgrading test task and perform task;And analysis test result.The present invention can shorten the test week of software upgrading Phase, upgrading test efficiency is improved, save human resources, reduce testing cost.
Its implementation process is:
Test module is created first, and the test module is used to issue upgrading task, performs upgrading task, and be finished in task Afterwards, the inspection of implementing result is carried out;
Dispose test scene, testing results module;
Test result is analyzed, test report is provided.
When creating test module, the mutual trust configuration between server is carried out, its detailed process is:First in test module Middle simulation creates server info, and the server info includes IP, host name, account, encrypted message, and by the emulating server It is mapped on the physical server of necessary being;By adding continuity testing module in test module, check that simulation is created Server info it is whether authentic and valid;Test module is performed, with creating mutual trust operation between configured server.
Being created in the test module has logging modle, and the logging modle is used in the test process of test module, note Record module execution journal, step implementation status and time-consuming situation for analyzing test result.
The detailed process for completing post analysis test result in test is, first during test module collection server updating Performance parameter, the performance parameter including the use of bandwidth, CPU, memory size;Then daily record is analyzed, exception is checked whether there is Situation occurs;Check after software upgrading, if can normally run.
When analyzing test result, by checking the execution journal that logging modle is recorded, determined to upgrade by test module Whether the response time of server, the handling capacity of server, the performance indications of server meet the requirements in journey.
During test assignment is performed, each process run by script records script execution journal, passes through day Will analyzes the step implementation status and time-consuming situation of test result.
, it is necessary to be related to different network broadbands, in the network of different bandwidth during above-mentioned upgrading test is performed It is lower to perform respectively.
In above-mentioned Automated software testing method, the loading condition of server in observation software upgrade process, analysis clothes The parameter being engaged in the escalation process of device.
In the method for testing software of above-mentioned software upgrading, by analyzing the response time of server in escalation process, clothes Whether the handling capacity of business device, the related performance indicators of server meet the requirements.
The script created includes selection agreement, selects the script based on HTML, by inserting affairs in script, so as to The response time of the affairs is viewed in the step of the analysis test result.
The step of establishment test script, further comprises setting the network bandwidth to simulate the network of different openings.
The step of analysis is about performance indications further comprise the response time for checking affairs, and being averaged for server is gulped down Whether up to standard the amount of telling etc., analyze relevant index.
By embodiment above, the those skilled in the art can readily realize the present invention.But should Work as understanding, the present invention is not limited to above-mentioned embodiment.On the basis of disclosed embodiment, the technical field Technical staff can be combined different technical characteristics, so as to realize different technical schemes.
In addition to the technical characteristic described in specification, the known technology of those skilled in the art is.

Claims (10)

1. a kind of software test module of software-oriented upgrading, it is characterised in that for testing the software using B/S frameworks, hold Row software upgrading is tested, and its structure includes:
Task creation module, for creating computer software upgrading test task according to upgrade requirement;
Mission dispatching module, the test assignment of establishment is issued in task execution module;
Task execution module, carries out tasks carrying, completes software upgrading test;
Logging modle, all execution informations during logging software upgrading test;
Analysis module, the execution information recorded according to logging modle analyzes test result, provides test report.
2. a kind of software test module of software-oriented upgrading according to claim 1, it is characterised in that the test mould Mutual trust module is also configured with block, for relation of being built up mutual trust before software upgrading test between server.
3. a kind of software test module of software-oriented upgrading according to claim 2, it is characterised in that the mutual trust mould The detailed process for relation of being built up mutual trust between block and server is:Simulation creates server info, the server info bag first IP, host name, account, encrypted message are included, and the emulating server is mapped on the physical server of necessary being;Then create Continuity testing module is built, checks whether the server info that simulation is created is authentic and valid;Have in emulating server information truth On the premise of effect, with creating mutual trust operation between configured server.
4. a kind of software test module of software-oriented upgrading according to claim 1, it is characterised in that the analysis mould The detailed process of block analysis test result is that the performance that logging modle is recorded during collection software upgrade server first is joined Number, the performance parameter including the use of bandwidth, CPU, memory size;Then daily record is analyzed, abnormal conditions are checked whether there is; Check after software upgrading, if can normally run.
5. the software test module of a kind of software-oriented upgrading according to claim 4, it is characterised in that in analysis test When as a result, by checking the execution journal that logging modle is recorded, when determining the response of server in escalation process by analysis module Between, whether the handling capacity of server, the performance indications of server meet the requirements.
6. a kind of method for testing software of software-oriented upgrading, it is characterised in that its implementation process is:
Test module is created first, and the test module is used to issue upgrading task, performs upgrading task, and be finished in task Afterwards, the inspection of implementing result is carried out;
Dispose test scene, testing results module;
Test result is analyzed, test report is provided.
7. the method for testing software of a kind of software-oriented upgrading according to claim 6, it is characterised in that creating test During module, the mutual trust configuration between server is carried out, its detailed process is:Simulation creates server letter first in test module Breath, the server info includes IP, host name, account, encrypted message, and the emulating server is mapped to the thing of necessary being Manage on server;By adding continuity testing module in test module, check whether the server info that simulation is created is true It is real effective;Test module is performed, with creating mutual trust operation between configured server.
8. a kind of method for testing software of software-oriented upgrading according to claim 6, it is characterised in that the test mould Being created in block has logging modle, and the logging modle is used in the test process of test module, and logging modle execution journal is used for Analyze the step implementation status and time-consuming situation of test result.
9. the method for testing software of a kind of software-oriented upgrading according to claim 7, it is characterised in that completed in test The detailed process of post analysis test result is that test module collects the performance parameter during server updating, the performance first Parameter including the use of bandwidth, CPU, memory size;Then daily record is analyzed, abnormal conditions are checked whether there is;Check software After upgrading, if can normally run.
10. the method for testing software of a kind of software-oriented upgrading according to claim 8, it is characterised in that surveyed in analysis During test result, by checking the execution journal that logging modle is recorded, the response of server in escalation process is determined by test module Whether time, the handling capacity of server, the performance indications of server meet the requirements.
CN201710321977.7A 2017-05-09 2017-05-09 A kind of the software test module and method of software-oriented upgrading Pending CN106959926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710321977.7A CN106959926A (en) 2017-05-09 2017-05-09 A kind of the software test module and method of software-oriented upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710321977.7A CN106959926A (en) 2017-05-09 2017-05-09 A kind of the software test module and method of software-oriented upgrading

Publications (1)

Publication Number Publication Date
CN106959926A true CN106959926A (en) 2017-07-18

Family

ID=59482853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710321977.7A Pending CN106959926A (en) 2017-05-09 2017-05-09 A kind of the software test module and method of software-oriented upgrading

Country Status (1)

Country Link
CN (1) CN106959926A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193618A (en) * 2017-07-20 2017-09-22 山东浪潮商用系统有限公司 A kind of solving device, method and the application of device end upgrading test
CN109062806A (en) * 2018-09-14 2018-12-21 杭州数梦工场科技有限公司 A kind of program testing method, system, device and computer readable storage medium
CN110308923A (en) * 2018-03-27 2019-10-08 上海擎感智能科技有限公司 A kind of test method and its system of OTA upgrading

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07210424A (en) * 1994-01-14 1995-08-11 Toshiba Corp Software test supporting system
CN103544101A (en) * 2012-07-16 2014-01-29 深圳市世纪光速信息技术有限公司 Wireless platform development automatic test system and method
CN104573984A (en) * 2015-01-27 2015-04-29 国网四川省电力公司电力科学研究院 B/S information system state partitioning method based on healthy tree
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
CN106506269A (en) * 2016-11-03 2017-03-15 北京蓝海讯通科技股份有限公司 Execute method, system, computing device and the test system of test assignment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07210424A (en) * 1994-01-14 1995-08-11 Toshiba Corp Software test supporting system
CN103544101A (en) * 2012-07-16 2014-01-29 深圳市世纪光速信息技术有限公司 Wireless platform development automatic test system and method
CN104573984A (en) * 2015-01-27 2015-04-29 国网四川省电力公司电力科学研究院 B/S information system state partitioning method based on healthy tree
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
CN106506269A (en) * 2016-11-03 2017-03-15 北京蓝海讯通科技股份有限公司 Execute method, system, computing device and the test system of test assignment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193618A (en) * 2017-07-20 2017-09-22 山东浪潮商用系统有限公司 A kind of solving device, method and the application of device end upgrading test
CN110308923A (en) * 2018-03-27 2019-10-08 上海擎感智能科技有限公司 A kind of test method and its system of OTA upgrading
CN109062806A (en) * 2018-09-14 2018-12-21 杭州数梦工场科技有限公司 A kind of program testing method, system, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110309071B (en) Test code generation method and module, and test method and system
US8938719B2 (en) System and method for performance assurance of applications
US20080120602A1 (en) Test Automation for Business Applications
US20100058287A1 (en) Model driven software
CN109002391A (en) The method of automatic detection embedded software interface testing data
CN108897686B (en) Full-entry automatic testing method and device
Kalita et al. Investigation on performance testing and evaluation of prewebd: A. net technique for implementing web application
CN106959926A (en) A kind of the software test module and method of software-oriented upgrading
CN103186463B (en) Determine the method and system of the test specification of software
CN107168844A (en) A kind of method and device of performance monitoring
CN103810092A (en) Application system testing method and device
CN107506194A (en) Application version, which retracts, determines method and device
CN114896108A (en) Test verification system
Cortellessa et al. Integrating software models and platform models for performance analysis
CN106649121A (en) Test result analysis method and apparatus
EP4152715A1 (en) Method and apparatus for determining resource configuration of cloud service system
CN108287787A (en) A kind of object change impact analysis method and system based on tense
CN104461832A (en) Method and device for monitoring resources of application server
CN115840560A (en) Management system for software development process
CN103186551B (en) Exception analysis method and analogue system based on web application platform
Schmietendorf et al. Process models for the software development and performance engineering tasks
KR20090083621A (en) Test automating system
CN113360397A (en) Regression testing method, device, equipment and storage medium of system function
Kruglov et al. Incorporating energy efficiency measurement into CI\CD pipeline
Harrer et al. A pattern language for workflow engine conformance and performance benchmarking

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: 20170718

RJ01 Rejection of invention patent application after publication