WO2016165484A1 - 一种实现服务器测试的方法、测试服务器及待测服务器 - Google Patents

一种实现服务器测试的方法、测试服务器及待测服务器 Download PDF

Info

Publication number
WO2016165484A1
WO2016165484A1 PCT/CN2016/074285 CN2016074285W WO2016165484A1 WO 2016165484 A1 WO2016165484 A1 WO 2016165484A1 CN 2016074285 W CN2016074285 W CN 2016074285W WO 2016165484 A1 WO2016165484 A1 WO 2016165484A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
server
tested
test case
case
Prior art date
Application number
PCT/CN2016/074285
Other languages
English (en)
French (fr)
Inventor
张书琴
唐忆众
徐明志
黄剑
王晶
李昌顺
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016165484A1 publication Critical patent/WO2016165484A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Definitions

  • testing technology especially a method for implementing server testing, a testing server, and a server to be tested.
  • server testing is done primarily through manual testing.
  • the test cannot be traced: the test results are recorded in a uniform format for the test results, and only the test results are statistically analyzed. The test personnel are not recorded. When a test accident occurs, the test results cannot be obtained. Effective traceability of the test, and the tester can not be determined; 2, the test is not easy to expand: the test content of the server test is limited to the test on the traditional test interface, unable to adapt to the test requirements brought by the advancement of technology and the evolution of standards.
  • the query and control of the test can be performed through the management server or the server under test, that is, only through it. If the test is performed on the server to be tested, the test results need to be manually summarized. If the management server is used, the test result can be processed uniformly by the management server, but the test operation still needs the tester to perform manual work on the management server. Operation, testing is not flexible.
  • the manual test method is used to test the factory server, and the test efficiency is low; in addition, the tester's human error will also reduce the test quality of the server.
  • Embodiments of the present invention provide a method for implementing server testing, a test server, and a service to be tested. It can improve the testing efficiency of the server to be tested and avoid human error.
  • An embodiment of the present invention provides a method for implementing server testing, and setting a test server includes:
  • the test server controls the test cases of the test server to be tested according to external commands and/or preset control commands.
  • controlling the test case of testing the server under test according to an external instruction comprises: selecting a test case by an external instruction, and/or suspending the test of the test case, and/or viewing the test progress of the test case, and/or viewing the server to be tested. Test data for testing.
  • controlling the test case of testing the server to be tested according to the preset control instruction comprises: selecting a test case according to a preset control instruction, and/or suspending the test of the test case at a preset time, and/or in advance
  • the set test phase shows the test progress and/or test data for the test case.
  • the method further includes:
  • the test server records the login information of the tester, and determines, according to the login information, the tester who logs in to test the tester of the server to be tested in the corresponding time period.
  • the method further includes:
  • the test server records and displays relevant information of the tested server to be tested and test progress of the test case
  • the test progress includes whether the test is started, and/or the length of time spent testing, and/or the remaining time of the test.
  • the method further includes: testing the server management test case;
  • the management test case includes: creating, and/or deleting, a test case for testing the server under test, and/or creating a new test case based on the test case.
  • test case includes: a test case constructed in a wizard form;
  • test cases constructed in the form of a wizard include: constructing a test case name in a wizard form, and/or a model number of the server to be tested to which the test case applies, and/or whether to perform an automatic test, and/or a test configuration.
  • the method further includes:
  • the test configuration is generated to generate a configuration file of the Extensible Markup Language XML document.
  • the method further includes: displaying all test items involved in the test configuration through a list, and selecting corresponding test items of each test case according to an external instruction to generate a corresponding test configuration.
  • the method further includes:
  • the model of the server to be tested to be tested is matched with the model of the server to be tested to which the test case applies. If the model of the server to be tested for the test case is included in the model of the server to be tested, the test case is automatically executed; If the model of the server under test to be tested is not included in the model of the server to be tested to which the test case applies, the automatic test is not performed.
  • the method further includes: setting login authority information of the tester;
  • the method further includes:
  • test results of the test cases are separately displayed according to the test summary, and/or the test details, and the test results displayed are displayed.
  • finishing display includes:
  • the test summary includes: creation time of each test result, and/or reception time, and/or device model number, and/or product serial number, and / or test personnel, and / or have read;
  • test details include: consisting of a report page, a data page, and a selected attention page;
  • the report page includes: test case items and corresponding test results of each test case item;
  • the data page includes: test case items and test data involved in each test case item during the test;
  • the selection attention page includes: a test case item set according to an external instruction, and/or a test The corresponding test results of the project, and/or the test data involved in the test case project during the test.
  • the managing the test results includes: processing for exporting and/or saving the test results.
  • test result further includes a model or a serial number of the server to be tested, or a tester login information
  • method further includes:
  • the method further includes: the server to be tested controls the test server test case according to an external instruction or a preset control instruction.
  • controlling the test case for controlling the test server according to the external instruction comprises: selecting a test case by an external instruction, and/or suspending the test of the test case, and/or viewing the test progress of the test case, and/or viewing the treatment Test the test data of the server for testing;
  • the controlling the test case for controlling the test server according to the preset control command includes: selecting a test case according to a preset control command, and/or suspending the test of the test case at a preset time, and/or presetting
  • the test phase shows the test progress and/or test data for the test case.
  • the method further includes: guiding, on the server to be tested, the tester to input the login information and select the test case by using a wizard to implement the test of the server to be tested.
  • test server and the server to be tested comprise: a server with a Windows operating system.
  • the application further provides a test server for implementing server testing, including a control unit,
  • the control unit is configured to control the test case of the test server to be tested according to an external command and/or a preset control command.
  • the test server further includes a record login unit configured to record the login information of the tester, and determine, according to the login information, the tester who logs in to test the tester of the server to be tested in the corresponding time period.
  • a record login unit configured to record the login information of the tester, and determine, according to the login information, the tester who logs in to test the tester of the server to be tested in the corresponding time period.
  • the test server further includes a recording progress unit, configured to record and display the tested location Describe the relevant information of the server to be tested and the test progress of the test case;
  • the test progress includes whether the test is started, and/or the length of time spent testing, and/or the remaining time of the test.
  • the test server further includes a test case management unit configured to create, and/or delete, a test case for testing the server under test, and/or create a new test case based on the test case.
  • a test case management unit configured to create, and/or delete, a test case for testing the server under test, and/or create a new test case based on the test case.
  • the test server further includes a matching unit, configured to be a test server to be tested and a test case to be tested before the automatic test is performed, when the test case is a test case for performing an automatic test.
  • the model is matched. If the model of the server to be tested is included in the model of the server to be tested for the test case, the test case is automatically executed; if the model of the server to be tested to which the test case applies does not include the test. The model of the server to be tested does not perform automatic testing.
  • test server further includes a permission setting unit configured to set login authority information of the tester;
  • Setting the login permission information of the tester includes: adding, deleting, or modifying the login permission of the tester; setting whether the tester has the authority of the administrator.
  • the test server further includes a test result sorting unit, configured to separately display the test result of the test case according to the test summary, and/or the test details, and manage the test result displayed by the finishing.
  • a test result sorting unit configured to separately display the test result of the test case according to the test summary, and/or the test details, and manage the test result displayed by the finishing.
  • the test result includes a model or serial number of the server to be tested, or tester login information
  • the test server further includes: a retrieval unit configured to search by using a model or serial number of the server to be tested, or a tester login information. Keywords, view the test results that need to be queried.
  • the application further provides a server to be tested for implementing server testing, including a control unit to be tested, configured to control a test server test case according to an external instruction and/or a preset control instruction.
  • the server to be tested further includes a wizard unit configured to guide the tester to input the login information and select the test case in a wizard manner to implement testing of the server to be tested.
  • a wizard unit configured to guide the tester to input the login information and select the test case in a wizard manner to implement testing of the server to be tested.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the technical solution of the present application includes: setting a test server; and further comprising: the test server controlling the test case of testing the server to be tested according to an external instruction and/or a preset control instruction.
  • the test server is configured to control the test case of the test server according to the external command and/or the preset control command, thereby improving the test efficiency of the server to be tested; further, by recording the tester login information.
  • Test case management, test result display, etc. improve test efficiency, avoid errors caused by human participation during the test process, and improve test quality.
  • FIG. 1 is a flowchart of a method for implementing server testing according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a test server for implementing server testing according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of a server to be tested that implements server testing according to an embodiment of the present invention
  • FIG. 4 is a flow chart of a method in accordance with a first embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing server testing according to an embodiment of the present invention. As shown in FIG. 1 , setting a test server includes:
  • Step 101 The test server controls the test case of testing the server to be tested according to an external instruction and/or a preset control instruction.
  • the test case for controlling the test server according to an external command includes: selecting a test case by an external command, and/or suspending the test of the test case, and/or viewing the test progress of the test case, and/or viewing the server to be tested. Test data for testing;
  • the test case for controlling the test server to be tested according to the preset control command includes: The first set of control commands selects the test case, and/or suspends the test case test at a predetermined time, and/or displays the test progress and/or test data of the test case at a predetermined test phase.
  • the method of the embodiment of the present invention further includes a step 100;
  • Step 100 The test server records the login information of the tester, and determines, according to the login information, the tester who logs in to test the tester of the server to be tested in the corresponding time period.
  • the test server records and displays the relevant information of the tested server to be tested and the test progress of the test case; here, the test progress includes: whether the test starts, and/or the test duration, and/or the remaining time of the test.
  • the method of the embodiment of the present invention further includes: managing the test case by the test server; here, managing the test case comprises: creating, and/or deleting, a test case for testing the server to be tested, and/or creating a new test case based on the test case.
  • the test case includes: a test case constructed in a wizard form;
  • Test cases built in the form of wizards include: building the test case name in a wizard form, and/or the model of the server under test to which the test case applies, and/or whether to perform an automated test, and/or test configuration.
  • the method of the embodiment of the present invention further includes:
  • test configuration will generate a configuration file for the Extensible Markup Language XML document and save it.
  • the method of the embodiment of the present invention further includes: displaying all test items involved in the test configuration through a list, and selecting corresponding test items of each test case according to an external instruction to generate a corresponding test configuration.
  • test case is a test case for performing an automatic test
  • method of the embodiment of the present invention further includes:
  • the model of the server to be tested to be tested is matched with the model of the server to be tested to which the test case applies. If the model of the server to be tested for the test case is included in the model of the server to be tested, the test case is automatically executed; If the model of the server under test to be tested is not included in the model of the server to be tested to which the test case applies, the automatic test is not performed.
  • the method of the embodiment of the present invention further includes: setting login authority information of the tester;
  • the method of the embodiment of the invention further comprises: separately displaying the test results of the test cases according to the test summary, and/or the test details, and managing the test results displayed by the finishing.
  • finishing display includes:
  • the test summary includes: the time at which each test result was created, and/or the time of receipt, and/or the device model, and/or product serial number, and/or tester And/or whether it has been read;
  • test details include: consisting of a report page, a data page, and a selection of attention pages;
  • the report page includes: test case items and corresponding test results for each test case item;
  • the data page includes: test case items and test data involved in each test case project during the test;
  • the selection of the attention page includes: test case items set according to external instructions, and/or test result corresponding to the test case item, and/or test data involved in the test case item during the test.
  • the management of test results includes the process of exporting and/or saving test results.
  • the test result further includes the model or serial number of the server to be tested, or the tester login information.
  • the method of the embodiment of the present invention further includes: using the model or serial number of the server to be tested, or the login information of the tester as a search keyword, and viewing the query required. Test Results.
  • the method of the embodiment of the present invention further includes: the server to be tested controls the test server test case according to an external command or a preset control command.
  • controlling the test case of testing the server to be tested according to an external instruction comprises: selecting a test case by an external instruction, and/or suspending the test of the test case, and/or viewing the test progress of the test case, and/or viewing the server to be tested. Test data for testing;
  • the test case for controlling the test server to be tested according to a preset control command includes: selecting a test case according to a preset control command, and/or suspending test of the test case at a preset time, and/or a test set in advance.
  • the stage displays test progress and/or test data for the test case.
  • the method of the embodiment of the present invention further includes: guiding, on the server to be tested, the tester to input the login information and select the test case by using a wizard to implement the test of the server to be tested.
  • the test server and the server to be tested include: a server with a Windows operating system.
  • the test server is configured to control the test case of the test server according to the external command and/or the preset control command, thereby improving the test efficiency of the server to be tested; further, by recording the tester login information.
  • Test case management, test result display, etc. improve test efficiency, avoid errors caused by human participation during the test process, and improve test quality.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • FIG. 2 is a structural block diagram of a test server for implementing server testing according to an embodiment of the present invention, as shown in FIG. 2, including a control unit;
  • the control unit is configured to control the test case of the test server to be tested according to an external command and/or a preset control command.
  • the control unit is set to:
  • test cases by external instructions, and/or suspending testing of test cases, and/or viewing test progress of test cases, and/or viewing test data for testing the server under test; and/or,
  • the test case is selected according to a preset control command, and/or the test of the test case is suspended at a preset time, and/or the test progress and/or test data of the test case is displayed during a predetermined test phase.
  • the test server further includes a record login unit configured to record the login information of the tester, and determine, according to the login information, the tester who logs in to test the tester of the server to be tested in the corresponding time period.
  • the test server further includes a recording progress unit configured to record and display relevant information of the tested server to be tested and test progress of the test case; the test progress includes: whether the test starts, and/or the test duration, and/or the remaining time of the test .
  • the test server also includes a test case management unit, which is set to test the test server to be tested. Use cases to create new, and/or delete, and/or create new test cases based on test cases.
  • the test server further includes a matching unit configured to match the model of the server to be tested and the model of the server to be tested to which the test case applies before performing the automatic test when the test case is a test case for performing an automatic test. If the model of the server to be tested for testing is included in the model of the server to be tested for the test case, the test case is automatically executed; if the model of the server to be tested to which the test case applies does not include the server to be tested for testing Model, no automatic test is performed.
  • the test server further includes a permission setting unit configured to set the login authority information of the tester; the method includes: adding, deleting, or modifying the login permission of the tester; and setting whether the tester has the administrator authority.
  • the test server further includes a test result sorting unit configured to separately display the test results of the test cases according to the test summary, and/or the test details, and manage the test results displayed by the collation.
  • the test result collation unit is set to,
  • the test summary includes: the time at which each test result was created, and/or the time of receipt, and/or the device model, and/or product serial number, and/or tester And/or whether it has been read;
  • test details include: consisting of a report page, a data page, and a selection of attention pages;
  • the report page includes: test case items and corresponding test results for each test case item;
  • the data page includes: test case items and test data involved in each test case project during the test;
  • the selection of the attention page includes: test case items set according to external instructions, and/or test result corresponding to the test case item, and/or test data involved in the test case item during the test.
  • the management of test results includes the process of exporting and/or saving test results.
  • the test result further includes the model or serial number of the server to be tested, or the tester login information
  • the test server further includes a retrieval unit, which is set to use the model or serial number of the server to be tested, or the tester login information as a search keyword, and the query needs to be queried. Test results.
  • control unit to be tested is configured to control a test case of a test server to be tested according to an external command and/or a preset control command. .
  • the control unit to be tested is set to,
  • test cases by external instructions, and/or suspending testing of test cases, and/or viewing test progress of test cases, and/or viewing test data for testing the server under test; and/or,
  • the test case is selected according to a preset control command, and/or the test of the test case is suspended at a preset time, and/or the test progress and/or test data of the test case is displayed during a predetermined test phase.
  • the server to be tested further includes a wizard unit configured to guide the tester to input the login information and select the test case to implement the test of the server to be tested.
  • the method for implementing the test server in the first embodiment of the present invention includes: a test server and a server to be tested; wherein
  • the test server is configured to set the login permission information of the tester in the form of a graphical user interface (GUI); that is, an interface for adding a tester, deleting a tester, or modifying a tester through the GUI, and setting whether the tester has the authority of the administrator.
  • GUI graphical user interface
  • the interface provided by the GUI can provide the tester with the input box of the tester name and the login password. If the tester is a manager, the permission of the tester can be set as the administrator authority by setting, for example, by the administrator authority. Add testers, remove testers, or modify testers.
  • the test server records the login information of the tester, and determines, according to the login information, the tester who logs in to test the tester of the server to be tested in the corresponding time period. That is, after the tester logs in, before the user logs out, the test of the device to be tested of the device is determined to be the test performed by the tester.
  • the test server performs test case management in the form of a GUI, including: creating, and/or deleting test cases for testing the server to be tested, and/or creating new test cases based on test cases. Measurement
  • the management of the trial case can also be implemented through a plug-in.
  • the test case in this embodiment is: a test case constructed in the form of a wizard; that is, constructing a test case name in a wizard form, and/or a model of a server to be tested to which the test case applies, and/or whether to perform an automatic test, and/or test. Configuration, etc.
  • the wizard can guide the tester to complete the filling or selection of test case related information.
  • test case contains the test configuration
  • all the test items involved in the test configuration are displayed through a list, and the corresponding test items of each test case are selected according to an external instruction to generate a corresponding test configuration.
  • the test configuration generates a configuration file for an Extensible Markup Language (XML) document and saves it.
  • XML Extensible Markup Language
  • the model of the server to be tested to be tested is matched with the model of the server to be tested to which the test case applies, if the test server to be tested is applicable to the test case. If the model number of the server to be tested for testing is included in the model, the test case is automatically executed. If the model of the server to be tested for testing is not included in the model of the server to be tested for the test case, the automatic test is not performed.
  • test items involved in the test configuration are displayed through a list, and corresponding test items of each test case are selected according to external instructions to generate a corresponding test configuration.
  • the test server controls the test cases of the test server to be tested according to external commands or preset control commands.
  • external commands or preset control commands.
  • Controlling test cases for testing a server under test based on external instructions includes: selecting test cases by external instructions, and/or suspending testing of test cases, and/or viewing test progress of test cases, and/or testing to test the server under test data;
  • the test case for controlling the test server to be tested according to a preset control command includes: selecting a test case according to a preset control command, and/or suspending test of the test case at a preset time, and/or a test set in advance.
  • the stage displays test progress and/or test data for the test case.
  • test results of the test cases are separately displayed according to the test summary, and/or the test details, and the test results displayed are displayed.
  • the test summary includes: the time at which each test result was created, and/or the time of receipt, and/or the device model, and/or product serial number, and/or tester And/or whether it has been read;
  • test details include: consisting of a report page, a data page, and a selection of attention pages;
  • the report page includes: test case items and corresponding test results for each test case item;
  • the data page includes: test case items and test data involved in each test case project during the test;
  • the selection of the attention page includes: test case items set according to external instructions, and/or test result corresponding to the test case item, and/or test data involved in the test case item during the test.
  • the test result also includes the model or serial number of the server to be tested, or the tester login information.
  • the embodiment further includes: checking the test result of the query by using the model or serial number of the server to be tested or the login information of the tester as a search keyword.
  • the retrieval may be implemented in the form of a GUI.
  • the export interface may also be generated through a GUI.
  • FIG. 4 is a flowchart of a method according to a first embodiment of the present invention. As shown in FIG. 4, when the method of the embodiment is applied to test the server to be tested, the method includes:
  • Step 400 The tester logs in through the GUI page of the test server; that is, the tester inputs the user name and password to log in, and the login information of the tester is added, deleted, or modified by the authority of the administrator.
  • Step 401 According to the model of the server to be tested, select a test case to which the model is applied;
  • Step 402 After the server to be tested is connected to the test server, the server to be tested is tested according to a test case to which the model is applied.
  • the test case can be controlled.
  • Step 403 The test server generates a test result according to the test process.
  • the test results can be separately displayed according to the test summary and the test details.
  • the test summary can be displayed before the test details, if there are test cases or test results that require special attention during the test, According to the method of the embodiment, it is also possible to perform separate display by selecting the attention page in the test details.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution improves the testing efficiency of the server to be tested; further, the test efficiency is improved by recording the tester login information, the test case management, and the test result display, thereby avoiding errors caused by human participation during the test, and improving the test. quality.

Abstract

一种实现服务器测试的方法、测试服务器及待测服务器,包括:设置测试服务器;还包括:测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例(101)。上述技术方案通过设置测试服务器,测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例(101),提高了待测服务器的测试效率;进一步的,通过记录测试人员登录信息、测试用例管理、测试结果显示等提高了测试效率,避免了测试过程中由于人为参与造成的错误,提高了测试质量。

Description

一种实现服务器测试的方法、测试服务器及待测服务器 技术领域
本文涉及但不限于测试技术,尤指一种实现服务器测试的方法、测试服务器及待测服务器。
背景技术
服务器在完成生产进行出厂出售前,需要测试验证服务器配置是否正确、性能是否达标以及工作是否稳定等。目前,主要通过手动测试的方式完成服务器测试。对于手动测试,主要存在以下缺陷:1、测试无法追溯:对测试结果采用统一的格式记录测试结果,只对测试结果是进行统计分析,未记录测试人员,当出现测试事故时,无法从测试结果中进行测试的有效追溯,且无法确定测试人员;2、测试不易扩展:对服务器测试内容局限有传统的测试接口上进行的测试,无法适应技术进步及标准的演变带来的测试需求。
在手动测试时,一些技术人员引入了管理服务器,以提高手动测试的工作效率;引入管理服务器中,对测试的操控和结果的查询能通过管理服务器上或待测服务器进行,即只能通过其中一端进行;如在待测试服务器端进行,则需要对测试结果进行手动汇总;如在管理服务器上进行,通过管理服务器可以对测试结果统一处理,但测试操作仍需测试人员在管理服务器上进行人工操作,测试不灵活。
综上,采用手动测试方式对出厂的服务器进行测试,测试效率低;另外,测试人员的人为错误,还会降低服务器的测试质量。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种实现服务器测试的方法、测试服务器及待测服务 器,能够提高待测服务器的测试效率,避免人为错误。
本发明实施例提供了一种实现服务器测试的方法,设置测试服务器,包括:
测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例。
可选地,根据外部指令控制测试待测服务器的测试用例包括:通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据。
可选地,根据预先设置的控制指令控制测试待测服务器的测试用例包括:根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
可选地,该方法之前还包括:
所述测试服务器记录测试人员的登录信息,根据登录信息确定登录的测试人员为相应时段内测试待测服务器的测试人员。
可选地,该方法还包括:
所述测试服务器记录并显示测试的所述待测服务器的相关信息及测试用例的测试进度;
所述测试进度包括:测试是否开始、和/或测试已用时长、和/或测试剩余时长。
可选地,该方法还包括:测试服务器管理测试用例;
所述管理测试用例包括:对测试待测服务器的测试用例进行新建、和/或删除、和/或基于测试用例创建新的测试用例。
可选地,测试用例包括:以向导形式构建的测试用例;
所述以向导形式构建的测试用例包括:以向导形式构建测试用例名称、和/或测试用例适用的待测服务器的型号、和/或是否执行自动测试、和/或测试配置。
可选地,当所述测试用例包含测试配置时,该方法还包括:
将所述测试配置生成可扩展标记语言XML文档的配置文件并进行保存。
可选地,当所述测试用例包含测试配置时,该方法还包括:通过列表显示测试配置涉及的所有测试项,根据外部指令选择每个测试用例相应的测试项,以生成相应的测试配置。
可选地,当测试用例为执行自动测试的测试用例时,在执行自动测试之前,该方法还包括:
将进行测试的待测服务器的型号与测试用例适用的待测服务器的型号进行匹配,如果在测试用例适用的待测服务器的型号中包含进行测试的待测服务器的型号,则自动执行测试用例;如果在测试用例适用的待测服务器的型号内不包含进行测试的待测服务器的型号,则不执行自动测试。
可选地,该方法还包括:设置测试人员的登录权限信息;包括:
对测试人员的登录权限进行增加、删除或修改;
对测试人员设置是否具备管理人权限。
可选地,该方法还包括:
对测试用例的测试结果按照测试概要、和/或测试细节分别进行整理显示,并对整理显示的测试结果进行管理。
可选地,进行整理显示包括:
当所述对测试用例的测试结果按照测试概要进行整理时,所述测试概要包括:每条测试结果的创建时间、和/或接收时间、和/或设备型号、和/或产品序列号、和/或测试人员、和/或是否已读;
当所述对测试用例的测试结果按照测试细节进行整理时,所述测试细节包括:由报告页、数据页及选择关注页组成;
所述报告页包括:测试用例项目及每个测试用例项目相应的测试结果;
所述数据页包括:测试用例项目及每个测试用例项目在测试过程中涉及的测试数据;
所述选择关注页包括:根据外部指令设定的测试用例项目、和/或测试用 例项目相应的测试结果、和/或测试用例项目在测试过程中涉及的测试数据。
所述对测试结果进行管理包括:对所述测试结果进行导出和/或保存的处理。
可选地,测试结果还包括有待测服务器的型号或序号、或测试人员登录信息,该方法还包括:
通过待测服务器的型号或序号、或测试人员登录信息作为检索关键词,查看需要查询的测试结果。
可选地,该方法还包括:待测服务器根据外部指令或预先设置的控制指令控制测试待测服务器测试用例。
可选地,所述根据外部指令控制测试待测服务器的测试用例包括:通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据;
所述根据预先设置的控制指令控制测试待测服务器的测试用例包括:根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
可选地,该方法还包括:在待测服务器上,通过向导形式引导测试人员进行登录信息的输入、测试用例的选择,以实现待测试服务器的测试。
可选地,测试服务器与待测服务器包括:具备Windows操作系统的服务器。
另一方面,本申请还提供一种实现服务器测试的测试服务器,包括控制单元,
控制单元,设置为根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例。
可选地,测试服务器还包括记录登录单元,设置为记录测试人员的登录信息,根据登录信息确定登录的测试人员为相应时段内测试待测服务器的测试人员。
可选地,测试服务器还包括记录进度单元,设置为记录并显示测试的所 述待测服务器的相关信息及测试用例的测试进度;
所述测试进度包括:测试是否开始、和/或测试已用时长、和/或测试剩余时长。
可选地,测试服务器还包括测试用例管理单元,设置为对测试待测服务器的测试用例进行新建、和/或删除、和/或基于测试用例创建新的测试用例。
可选地,测试服务器还包括匹配单元,设置为当所述测试用例为执行自动测试的测试用例时,在执行自动测试之前,将进行测试的待测服务器的型号与测试用例适用的待测服务器的型号进行匹配,如果在测试用例适用的待测服务器的型号中包含进行测试的待测服务器的型号,则自动执行测试用例;如果在测试用例适用的待测服务器的型号内不包含进行测试的待测服务器的型号,则不执行自动测试。
可选地,测试服务器还包括权限设置单元,设置为设置所述测试人员的登录权限信息;
设置所述测试人员的登录权限信息包括:对测试人员的登录权限进行增加、删除或修改;对测试人员设置是否具备管理人权限。
可选地,测试服务器还包括测试结果整理单元,设置为对测试用例的测试结果按照测试概要、和/或测试细节分别进行整理显示,并对整理显示的测试结果进行管理。
可选地,测试结果包括有待测服务器的型号或序号、或测试人员登录信息,所述测试服务器还包括:检索单元,设置为通过待测服务器的型号或序号、或测试人员登录信息作为检索关键词,查看需要查询的所述测试结果。
再一方面,本申请还提供一种实现服务器测试的待测服务器,包括待测控制单元,设置为根据外部指令和/或预先设置的控制指令控制测试待测服务器测试用例。
可选地,该待测服务器还包括向导单元,设置为以向导形式引导测试人员进行登录信息的输入、测试用例的选择,以实现待测试服务器的测试。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
与相关技术相比,本申请技术方案包括:包括:设置测试服务器;还包括:测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例。本发明实施例方法通过设置测试服务器,测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例,提高了待测服务器的测试效率;进一步的,通过记录测试人员登录信息、测试用例管理、测试结果显示等提高了测试效率,避免了测试过程中由于人为参与造成的错误,提高了测试质量。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例实现服务器测试的方法的流程图;
图2为本发明实施例实现服务器测试的测试服务器的结构框图;
图3为本发明实施例实现服务器测试的待测服务器的结构框图;
图4为本发明第一实施例的方法的流程图。
本发明的实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
图1为本发明实施例实现服务器测试的方法的流程图,如图1所示,设置测试服务器,包括:
步骤101、测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例。
本步骤中,根据外部指令控制测试待测服务器的测试用例包括:通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据;
根据预先设置的控制指令控制测试待测服务器的测试用例包括:根据预 先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
步骤101之前,本发明实施例方法还包括步骤100;
步骤100、测试服务器记录测试人员的登录信息,根据登录信息确定登录的测试人员为相应时段内测试待测服务器的测试人员。
本发明实施例方法还包括:
测试服务器记录并显示测试的待测服务器的相关信息及测试用例的测试进度;这里,测试进度包括:测试是否开始、和/或测试已用时长、和/或测试剩余时长。
本发明实施例方法还包括:通过测试服务器管理测试用例;这里,管理测试用例包括:对测试待测服务器的测试用例进行新建、和/或删除、和/或基于测试用例创建新的测试用例。
本发明实施例方法中,测试用例包括:以向导形式构建的测试用例;
以向导形式构建的测试用例包括:以向导形式构建测试用例名称、和/或测试用例适用的待测服务器的型号、和/或是否执行自动测试、和/或测试配置。
当测试用例包含测试配置时,本发明实施例方法还包括:
将测试配置生成可扩展标记语言XML文档的配置文件并进行保存。
当测试用例包含测试配置时,本发明实施例方法还包括:通过列表显示测试配置涉及的所有测试项,根据外部指令选择每个测试用例相应的测试项,以生成相应的测试配置。
当测试用例为执行自动测试的测试用例时,在执行自动测试之前,本发明实施例方法还包括:
将进行测试的待测服务器的型号与测试用例适用的待测服务器的型号进行匹配,如果在测试用例适用的待测服务器的型号中包含进行测试的待测服务器的型号,则自动执行测试用例;如果在测试用例适用的待测服务器的型号内不包含进行测试的待测服务器的型号,则不执行自动测试。
本发明实施例方法还包括:设置测试人员的登录权限信息;包括:
对测试人员的登录权限进行增加、删除或修改;
对测试人员设置是否具备管理人权限。
本发明实施例方法还包括:对测试用例的测试结果按照测试概要、和/或测试细节分别进行整理显示,并对整理显示的测试结果进行管理。
可选的,进行整理显示包括:
当对测试用例的测试结果按照测试概要进行整理时,测试概要包括:每条测试结果的创建时间、和/或接收时间、和/或设备型号、和/或产品序列号、和/或测试人员、和/或是否已读;
当对测试用例的测试结果按照测试细节进行整理时,测试细节包括:由报告页、数据页及选择关注页组成;
报告页包括:测试用例项目及每个测试用例项目相应的测试结果;
数据页包括:测试用例项目及每个测试用例项目在测试过程中涉及的测试数据;
选择关注页包括:根据外部指令设定的测试用例项目、和/或测试用例项目相应的测试结果、和/或测试用例项目在测试过程中涉及的测试数据。
对测试结果进行管理包括:对测试结果进行导出和/或保存的处理。
测试结果还包括有待测服务器的型号或序号、或测试人员登录信息,本发明实施例方法还包括:通过待测服务器的型号或序号、或测试人员登录信息作为检索关键词,查看需要查询的测试结果。
本发明实施例方法还包括:待测服务器根据外部指令或预先设置的控制指令控制测试待测服务器测试用例。
可选的,根据外部指令控制测试待测服务器的测试用例包括:通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据;
根据预先设置的控制指令控制测试待测服务器的测试用例包括:根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
本发明实施例方法还包括:在待测服务器上,通过向导形式引导测试人员进行登录信息的输入、测试用例的选择,以实现待测试服务器的测试。
本发明实施例方法中,测试服务器与待测服务器包括:具备Windows操作系统的服务器。
本发明实施例方法通过设置测试服务器,测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例,提高了待测服务器的测试效率;进一步的,通过记录测试人员登录信息、测试用例管理、测试结果显示等提高了测试效率,避免了测试过程中由于人为参与造成的错误,提高了测试质量。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。
图2为本发明实施例实现服务器测试的测试服务器的结构框图,如图2所示,包括控制单元;
控制单元,设置为根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例。
控制单元是设置为:
通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据;和/或,
根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
测试服务器还包括记录登录单元,设置为记录测试人员的登录信息,根据登录信息确定登录的测试人员为相应时段内测试待测服务器的测试人员。
测试服务器还包括记录进度单元,设置为记录并显示测试的待测服务器的相关信息及测试用例的测试进度;测试进度包括:测试是否开始、和/或测试已用时长、和/或测试剩余时长。
测试服务器还包括测试用例管理单元,设置为对测试待测服务器的测试 用例进行新建、和/或删除、和/或基于测试用例创建新的测试用例。
测试服务器还包括匹配单元,设置为当所述测试用例为执行自动测试的测试用例时,在执行自动测试之前,将进行测试的待测服务器的型号与测试用例适用的待测服务器的型号进行匹配,如果在测试用例适用的待测服务器的型号中包含进行测试的待测服务器的型号,则自动执行测试用例;如果在测试用例适用的待测服务器的型号内不包含进行测试的待测服务器的型号,则不执行自动测试。
测试服务器还包括权限设置单元,设置为设置测试人员的登录权限信息;包括:对测试人员的登录权限进行增加、删除或修改;对测试人员设置是否具备管理人权限。
测试服务器还包括测试结果整理单元,设置为对测试用例的测试结果按照测试概要、和/或测试细节分别进行整理显示,并对整理显示的测试结果进行管理。
测试结果整理单元是设置为,
当对测试用例的测试结果按照测试概要进行整理时,测试概要包括:每条测试结果的创建时间、和/或接收时间、和/或设备型号、和/或产品序列号、和/或测试人员、和/或是否已读;
当对测试用例的测试结果按照测试细节进行整理时,测试细节包括:由报告页、数据页及选择关注页组成;
报告页包括:测试用例项目及每个测试用例项目相应的测试结果;
数据页包括:测试用例项目及每个测试用例项目在测试过程中涉及的测试数据;
选择关注页包括:根据外部指令设定的测试用例项目、和/或测试用例项目相应的测试结果、和/或测试用例项目在测试过程中涉及的测试数据。
对测试结果进行管理包括:对测试结果进行导出和/或保存的处理。
测试结果还包括有待测服务器的型号或序号、或测试人员登录信息,测试服务器还包括检索单元,设置为通过待测服务器的型号或序号、或测试人员登录信息作为检索关键词,查看需要查询的测试结果。
图3为本发明实施例实现服务器测试的待测服务器的结构框图,如图3所示,包括待测控制单元,设置为根据外部指令和/或预先设置的控制指令控制测试待测服务器测试用例。
待测控制单元是设置为,
通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据;和/或,
根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
本发明实施例待测服务器还包括向导单元,设置为以向导形式引导测试人员进行登录信息的输入、测试用例的选择,以实现待测试服务器的测试。
以下通过具体实施例对本发明方法进行清楚详细的说明,实施例仅用于陈述本发明,并不用于限制本发明方法的保护范围。
实施例1
本发明第一实施例实现测试服务器方法中,包括:测试服务器和待测服务器;其中,
测试服务器,设置为以图形用户界面(GUI)的形式设置测试人员的登录权限信息;即通过GUI提供增加测试人员、删除测试人员或修改测试人员,及对测试人员设置是否具备管理人权限的接口。
通过GUI提供的接口可以为测试人员提供测试人员名称及登录密码的输入框;假设测试人员是管理人员,则通过设置可以设定该测试人员的权限为管理人权限,例如通过管理人权限可以进行增加测试人员、删除测试人员或修改测试人员的操作。
通过测试服务器记录测试人员的登录信息,根据登录信息确定登录的测试人员为相应时段内测试待测服务器的测试人员。即测试人员登录后,在其退出登录之前,器件的待测服务器的测试确定为该测试人员进行的测试。
测试服务器以GUI形式进行测试用例管理,包括:对测试待测服务器的测试用例进行新建、和/或删除、和/或基于测试用例创建新的测试用例等。测 试用例的管理还可以通过插件方式实现。
本实施例中测试用例为:以向导形式构建的测试用例;即以向导形式构建测试用例名称、和/或测试用例适用的待测服务器的型号、和/或是否执行自动测试、和/或测试配置等。通过向导方式可以引导测试人员完成测试用例相关信息的填写或选择。
当测试用例包含测试配置时,通过列表显示测试配置涉及的所有测试项,根据外部指令选择每个测试用例相应的测试项,以生成相应的测试配置。
将测试配置生成可扩展标记语言(XML)文档的配置文件并进行保存。
当测试用例为执行自动测试的测试用例时,在执行自动测试之前,将进行测试的待测服务器的型号与测试用例适用的待测服务器的型号进行匹配,如果在测试用例适用的待测服务器的型号中包含进行测试的待测服务器的型号,则自动执行测试用例;如果在测试用例适用的待测服务器的型号内不包含进行测试的待测服务器的型号,则不执行自动测试。
本实施例通过列表显示测试配置涉及的所有测试项,根据外部指令选择每个测试用例相应的测试项,以生成相应的测试配置。
测试服务器根据外部指令或预先设置的控制指令控制测试待测服务器的测试用例。可选的,
根据外部指令控制测试待测服务器的测试用例包括:通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据;
根据预先设置的控制指令控制测试待测服务器的测试用例包括:根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
对测试用例的测试结果按照测试概要、和/或测试细节分别进行整理显示,并对整理显示的测试结果进行管理。
当对测试用例的测试结果按照测试概要进行整理时,测试概要包括:每条测试结果的创建时间、和/或接收时间、和/或设备型号、和/或产品序列号、和/或测试人员、和/或是否已读;
当对测试用例的测试结果按照测试细节进行整理时,测试细节包括:由报告页、数据页及选择关注页组成;
报告页包括:测试用例项目及每个测试用例项目相应的测试结果;
数据页包括:测试用例项目及每个测试用例项目在测试过程中涉及的测试数据;
选择关注页包括:根据外部指令设定的测试用例项目、和/或测试用例项目相应的测试结果、和/或测试用例项目在测试过程中涉及的测试数据。
测试结果还包括有待测服务器的型号或序号、或测试人员登录信息,本实施例还包括:通过待测服务器的型号或序号、或测试人员登录信息作为检索关键词,查看需要查询的测试结果。可选的,可以通过GUI的形式实现检索,当需要导出报告时,也可以通过GUI的形式生成导出接口。
图4为本发明第一实施例的方法的流程图,如图4所示,将实施例的方法应用与待测服务器测试时,包括:
步骤400、通过测试服务器的GUI页面测试人员进行登录;即测试人员输入用户名及密码进行登录,测试人员的登录信息通过管理人员权限进行增加、删除或修改。
步骤401、根据待测服务器的型号,选择适用其型号的测试用例;
步骤402、待测服务器与测试服务器连接后,待测服务器根据适用其型号的测试用例进行测试。
根据本实施公开的方法,可以对测试用例进行控制。
步骤403、测试服务器器根据测试进程生成测试结果。按照本实施例的设定,可以按照测试概要和测试细节对测试结果分别进行显示,一般的,测试概要可以显示在测试细节之前,如果测试过程中存在需要特别关注的测试用例或测试结果时,根据本实施例方法,还可以通过测试细节中的选择关注页进行单独显示。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。
工业实用性
上述技术方案提高了待测服务器的测试效率;进一步的,通过记录测试人员登录信息、测试用例管理、测试结果显示等提高了测试效率,避免了测试过程中由于人为参与造成的错误,提高了测试质量。

Claims (29)

  1. 一种实现服务器测试的方法,包括:
    设置测试服务器;
    测试服务器根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例。
  2. 根据权利要求1所述的方法,其中,
    所述根据外部指令控制测试待测服务器的测试用例包括:
    通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据。
  3. 根据权利要求1所述的方法,其中,所述根据预先设置的控制指令控制测试待测服务器的测试用例包括:
    根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
  4. 根据权利要求1~3任一项所述的方法,该方法之前还包括:
    所述测试服务器记录测试人员的登录信息,根据登录信息确定登录的测试人员为相应时段内测试待测服务器的测试人员。
  5. 根据权利要求1~3任一项所述的方法,该方法还包括:
    所述测试服务器记录并显示测试的所述待测服务器的相关信息及测试用例的测试进度;
    所述测试进度包括:测试是否开始、和/或测试已用时长、和/或测试剩余时长。
  6. 根据权利要求1~3任一项所述的方法,该方法还包括:测试服务器管理测试用例;
    所述管理测试用例包括:对测试待测服务器的测试用例进行新建、和/或删除、和/或基于测试用例创建新的测试用例。
  7. 根据权利要求6所述的方法,其中,所述测试用例包括:以向导形式构建的测试用例;
    所述以向导形式构建的测试用例包括:以向导形式构建测试用例名称、和/或测试用例适用的待测服务器的型号、和/或是否执行自动测试、和/或测试配置。
  8. 根据权利要求7所述的方法,该方法还包括:
    当所述测试用例包含测试配置时,将所述测试配置生成可扩展标记语言XML文档的配置文件并进行保存。
  9. 根据权利要求7所述的方法,该方法还包括:
    当所述测试用例包含测试配置时,通过列表显示测试配置涉及的所有测试项,根据外部指令选择每个测试用例相应的测试项,以生成相应的测试配置。
  10. 根据权利要求7所述的方法,该方法还包括:
    当测试用例为执行自动测试的测试用例时,在执行自动测试之前,将进行测试的待测服务器的型号与测试用例适用的待测服务器的型号进行匹配,如果在测试用例适用的待测服务器的型号中包含进行测试的待测服务器的型号,则自动执行测试用例;如果在测试用例适用的待测服务器的型号内不包含进行测试的待测服务器的型号,则不执行自动测试。
  11. 根据权利要求4所述的方法,该方法还包括:
    设置测试人员的登录权限信息,包括:
    对测试人员的登录权限进行增加、删除或修改;
    对测试人员设置是否具备管理人权限。
  12. 根据权利要求1~3任一项所述的方法,该方法还包括:
    对测试用例的测试结果按照测试概要、和/或测试细节分别进行整理显示,并对整理显示的测试结果进行管理。
  13. 根据权利要求12所述的方法,其中,所述进行整理显示包括:
    当所述对测试用例的测试结果按照测试概要进行整理时,所述测试概要 包括:每条测试结果的创建时间、和/或接收时间、和/或设备型号、和/或产品序列号、和/或测试人员、和/或是否已读;
    当所述对测试用例的测试结果按照测试细节进行整理时,所述测试细节包括:由报告页、数据页及选择关注页组成;
    所述报告页包括:测试用例项目及每个测试用例项目相应的测试结果;
    所述数据页包括:测试用例项目及每个测试用例项目在测试过程中涉及的测试数据;
    所述选择关注页包括:根据外部指令设定的测试用例项目、和/或测试用例项目相应的测试结果、和/或测试用例项目在测试过程中涉及的测试数据;
    所述对测试结果进行管理包括:对所述测试结果进行导出和/或保存的处理。
  14. 根据权利要求13所述的方法,所述测试结果还包括有待测服务器的型号或序号、或测试人员登录信息;
    该方法还包括:
    通过待测服务器的型号或序号、或测试人员登录信息作为检索关键词,查看需要查询的测试结果。
  15. 根据权利要求1~3任一项所述的方法,该方法还包括:待测服务器根据外部指令或预先设置的控制指令控制测试待测服务器测试用例。
  16. 根据权利要求15所述的方法,其中,
    所述根据外部指令控制测试待测服务器的测试用例包括:通过外部指令选择测试用例、和/或暂停测试用例的测试、和/或查看测试用例的测试进度、和/或查看对待测服务器进行测试的测试数据;
    所述根据预先设置的控制指令控制测试待测服务器的测试用例包括:根据预先设置的控制指令选择测试用例、和/或在预先设定的时间暂停测试用例的测试、和/或在预先设定的测试阶段显示测试用例的测试进度和/或测试数据。
  17. 根据权利要求1~3任一项所述的方法,该方法还包括:在待测服务 器上,通过向导形式引导测试人员进行登录信息的输入、测试用例的选择,以实现待测试服务器的测试。
  18. 根据权利要求1所述的方法,其中,所述测试服务器与待测服务器包括:具备Windows操作系统的服务器。
  19. 一种实现服务器测试的测试服务器,包括
    控制单元,设置为根据外部指令和/或预先设置的控制指令控制测试待测服务器的测试用例。
  20. 根据权利要求19所述的测试服务器,所述测试服务器还包括记录登录单元,设置为记录测试人员的登录信息,根据登录信息确定登录的测试人员为相应时段内测试待测服务器的测试人员。
  21. 根据权利要求19所述的测试服务器,所述测试服务器还包括记录进度单元,设置为记录并显示测试的所述待测服务器的相关信息及测试用例的测试进度;
    所述测试进度包括:测试是否开始、和/或测试已用时长、和/或测试剩余时长。
  22. 根据权利要求19所述的测试服务器,所述测试服务器还包括测试用例管理单元,设置为对测试待测服务器的测试用例进行新建、和/或删除、和/或基于测试用例创建新的测试用例。
  23. 根据权利要求19所述的测试服务器,所述测试服务器还包括匹配单元,设置为当所述测试用例为执行自动测试的测试用例时,在执行自动测试之前,将进行测试的待测服务器的型号与测试用例适用的待测服务器的型号进行匹配,如果在测试用例适用的待测服务器的型号中包含进行测试的待测服务器的型号,则自动执行测试用例;如果在测试用例适用的待测服务器的型号内不包含进行测试的待测服务器的型号,则不执行自动测试。
  24. 根据权利要求20所述的测试服务器,所述测试服务器还包括权限设置单元,设置为设置所述测试人员的登录权限信息;
    设置所述测试人员的登录权限信息包括:对测试人员的登录权限进行增加、删除或修改;对测试人员设置是否具备管理人权限。
  25. 根据权利要求19所述的测试服务器,所述测试服务器还包括测试结果整理单元,设置为对测试用例的测试结果按照测试概要、和/或测试细节分别进行整理显示,并对整理显示的测试结果进行管理。
  26. 根据权利要求25所述的测试服务器,其中,所述测试结果包括有待测服务器的型号或序号、或测试人员登录信息;
    所述测试服务器还包括:检索单元,设置为通过待测服务器的型号或序号、或测试人员登录信息作为检索关键词,查看需要查询的所述测试结果。
  27. 一种实现服务器测试的待测服务器,包括:
    待测控制单元,设置为根据外部指令和/或预先设置的控制指令控制测试待测服务器测试用例。
  28. 根据权利要求27所述的待测服务器,该待测服务器还包括向导单元,设置为以向导形式引导测试人员进行登录信息的输入、测试用例的选择,以实现待测试服务器的测试。
  29. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~18中任一项所述的方法。
PCT/CN2016/074285 2015-04-13 2016-02-22 一种实现服务器测试的方法、测试服务器及待测服务器 WO2016165484A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510173207.3 2015-04-13
CN201510173207.3A CN106055466A (zh) 2015-04-13 2015-04-13 一种实现服务器测试的方法、测试服务器及待测服务器

Publications (1)

Publication Number Publication Date
WO2016165484A1 true WO2016165484A1 (zh) 2016-10-20

Family

ID=57127131

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074285 WO2016165484A1 (zh) 2015-04-13 2016-02-22 一种实现服务器测试的方法、测试服务器及待测服务器

Country Status (2)

Country Link
CN (1) CN106055466A (zh)
WO (1) WO2016165484A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159043A (zh) * 2019-12-31 2020-05-15 中国银行股份有限公司 一种测试风险的自动识别方法及系统
CN112612702A (zh) * 2020-12-24 2021-04-06 光大兴陇信托有限责任公司 一种基于web的自动测试方法及装置
CN112988580A (zh) * 2021-03-11 2021-06-18 挂号网(杭州)科技有限公司 一种测试过程的复现方法、装置、设备及存储介质
CN113128981A (zh) * 2021-05-18 2021-07-16 中国农业银行股份有限公司 项目管理方法和系统
CN114153709A (zh) * 2021-11-05 2022-03-08 苏州浪潮智能科技有限公司 一种服务器测试行为分析方法、装置及存储介质
CN115567566A (zh) * 2022-09-19 2023-01-03 中国联合网络通信集团有限公司 一种仪表的管理方法、云服务器及计算机可读存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102923A (zh) * 2017-04-14 2017-08-29 广东浪潮大数据研究有限公司 一种自动进行BMC Web用户增删改的测试方法
CN107220178B (zh) * 2017-05-26 2021-02-02 苏州浪潮智能科技有限公司 一种服务器诊断测试结果准实时展现的方法
CN107678956A (zh) * 2017-09-22 2018-02-09 郑州云海信息技术有限公司 一种服务器自动化测试管理系统及方法
CN109491901A (zh) * 2018-11-01 2019-03-19 郑州云海信息技术有限公司 一种多维度的测试执行进度度量系统及设备
CN109933520B (zh) * 2019-01-22 2022-04-08 平安科技(深圳)有限公司 软件开发测试方法、装置、计算机装置及存储介质
CN110147312A (zh) * 2019-04-09 2019-08-20 平安科技(深圳)有限公司 软件开发测试方法、装置、计算机装置及存储介质
CN110365968B (zh) * 2019-06-27 2022-07-08 视联动力信息技术股份有限公司 一种测试方法和装置
CN111314417B (zh) * 2020-01-14 2023-04-28 网易(杭州)网络有限公司 应用数据处理的方法及装置、存储介质、处理器
CN111324846B (zh) * 2020-03-04 2024-02-23 北京奇艺世纪科技有限公司 信息处理方法、装置、电子设备及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522995B1 (en) * 1999-12-28 2003-02-18 International Business Machines Corporation Method and apparatus for web-based control of a web-based workload simulation
CN101252471A (zh) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 一种分布式自动化测试系统及其方法
CN102495799A (zh) * 2011-12-02 2012-06-13 刘伟 移动终端的自动化测试系统和方法
CN102495789A (zh) * 2011-10-18 2012-06-13 瑞斯康达科技发展股份有限公司 一种自动化测试方法和设备
CN103902439A (zh) * 2012-12-25 2014-07-02 北大方正集团有限公司 一种测试用例的管理方法、装置及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100543698C (zh) * 2007-09-29 2009-09-23 中兴通讯股份有限公司 一种分布式软件系统的集成测试系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522995B1 (en) * 1999-12-28 2003-02-18 International Business Machines Corporation Method and apparatus for web-based control of a web-based workload simulation
CN101252471A (zh) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 一种分布式自动化测试系统及其方法
CN102495789A (zh) * 2011-10-18 2012-06-13 瑞斯康达科技发展股份有限公司 一种自动化测试方法和设备
CN102495799A (zh) * 2011-12-02 2012-06-13 刘伟 移动终端的自动化测试系统和方法
CN103902439A (zh) * 2012-12-25 2014-07-02 北大方正集团有限公司 一种测试用例的管理方法、装置及系统

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159043A (zh) * 2019-12-31 2020-05-15 中国银行股份有限公司 一种测试风险的自动识别方法及系统
CN111159043B (zh) * 2019-12-31 2024-02-27 中国银行股份有限公司 一种测试风险的自动识别方法及系统
CN112612702A (zh) * 2020-12-24 2021-04-06 光大兴陇信托有限责任公司 一种基于web的自动测试方法及装置
CN112988580A (zh) * 2021-03-11 2021-06-18 挂号网(杭州)科技有限公司 一种测试过程的复现方法、装置、设备及存储介质
CN113128981A (zh) * 2021-05-18 2021-07-16 中国农业银行股份有限公司 项目管理方法和系统
CN114153709A (zh) * 2021-11-05 2022-03-08 苏州浪潮智能科技有限公司 一种服务器测试行为分析方法、装置及存储介质
CN114153709B (zh) * 2021-11-05 2024-01-12 苏州浪潮智能科技有限公司 一种服务器测试行为分析方法、装置及存储介质
CN115567566A (zh) * 2022-09-19 2023-01-03 中国联合网络通信集团有限公司 一种仪表的管理方法、云服务器及计算机可读存储介质

Also Published As

Publication number Publication date
CN106055466A (zh) 2016-10-26

Similar Documents

Publication Publication Date Title
WO2016165484A1 (zh) 一种实现服务器测试的方法、测试服务器及待测服务器
TWI684989B (zh) 對多個待測試儲存裝置進行自動化測試的方法、電腦裝置以及使用者介面
US11157855B2 (en) Robotics process automation platform
WO2018010552A1 (zh) 测试方法和装置
US8984339B2 (en) System and method for test case generation using components
WO2021003818A1 (zh) 接口测试用例生成方法、装置、计算机设备及存储介质
WO2018120721A1 (zh) 用户界面的测试方法、系统、电子装置及计算机可读存储介质
EP3115902B1 (en) Framework for automated testing of mobile apps
US20180173386A1 (en) Updating data records by adding editing functions to non-editable display elements
US8402047B1 (en) Method and apparatus for generating a query to search for matching forms
US8984340B2 (en) System and method for test case generation using action keywords
US9081899B2 (en) System and method for processing web service test cases
US8677320B2 (en) Software testing supporting high reuse of test data
US9245142B2 (en) Access control data editing support device and method
US20140181793A1 (en) Method of automatically testing different software applications for defects
JP2006085356A5 (zh)
US20060101403A1 (en) Method and system to automate software testing using sniffer side and browser side recording and a toolbar interface
US20100175050A1 (en) Method and system to automatically generate gui object addressing queries
DE202015009286U1 (de) Kurzlebige Anwendungen
WO2020215686A1 (zh) spring框架泛型依赖注入方法、装置及计算机设备、存储介质
US9003231B1 (en) System for instantiating service instances for testing in a known state
Lührs et al. Flexible and generic workflow management
US10360135B2 (en) Privilege test and monitoring
JP7477572B2 (ja) 分散コンピューティングデバイスの自動制御
CN106354641A (zh) 流程引擎的测试方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16779459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16779459

Country of ref document: EP

Kind code of ref document: A1