CN110737595A - automatic testing method and device - Google Patents

automatic testing method and device Download PDF

Info

Publication number
CN110737595A
CN110737595A CN201910892017.5A CN201910892017A CN110737595A CN 110737595 A CN110737595 A CN 110737595A CN 201910892017 A CN201910892017 A CN 201910892017A CN 110737595 A CN110737595 A CN 110737595A
Authority
CN
China
Prior art keywords
timeout time
preset
time
preset timeout
bmc
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.)
Withdrawn
Application number
CN201910892017.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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910892017.5A priority Critical patent/CN110737595A/en
Publication of CN110737595A publication Critical patent/CN110737595A/en
Withdrawn legal-status Critical Current

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
    • 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/3684Test management for test design, e.g. generating new test cases

Abstract

The embodiment of the invention discloses automatic testing methods and devices, wherein the method comprises the steps of automatically setting timeout time to preset timeout time on a BMC Web service setting interface, judging whether the preset timeout time is set successfully, waiting preset timeout time when the preset timeout time is set successfully, and checking whether a session generated by currently logging in a BMC Web can be used or not, wherein the preset timeout time is which is the minimum timeout time and the maximum timeout time, and therefore the timeout time setting function of the BMC WEB service can be automatically tested and verified.

Description

automatic testing method and device
Technical Field
The present disclosure relates to server testing technologies, and more particularly, to automated testing methods and apparatuses.
Background
In the test of the server, the test of a Baseboard management controller network BMC (Baseboard management controller) Web (Web) is an important link , a large part of each test task performed by a tester is realized based on the BMC Web, the overtime setting function of the BMC Web service is used for monitoring whether a page has user operation, if no user operation exists at within the time set by a timer, the Web automatically carries out overtime processing, the current session fails, no response is carried out when the user operation is received again, and the logged user is automatically logged out, because the Web service has fixed requirements on the number of sessions, when the number of simultaneous login persons reaches fixed number, other users are not allowed to log in, the Web can close the session which is not operated any more after the overtime setting of the Web, so that other users can log in normally, in addition, the setting of the overtime time also maintains the WEB security and security of the BMC Web, and certain privacy information is prevented from being exposed under the condition that the Web is not automatically protected by after the user forgets to log out the timed authority of the BMC Web.
At present, the BMC WEB timeout function is basically verified in a manual test mode, most manual tests do not operate for hours, and then whether the final page can not operate or not is checked.
Therefore, the manual test does not have good processing modes for the timeout function of the BMC WEB service, and the timeout function of many servers still has bug (bug) at present.
Disclosure of Invention
In view of this, the embodiment of the present invention provides automated testing methods, including:
automatically setting the overtime time to th preset overtime time on a BMC Web service setting interface;
judging whether the preset timeout time is set successfully;
when the th preset timeout time is successfully set, after waiting for the th preset timeout time, checking whether a session generated by the currently logged BMC Web can be used or not;
wherein the th preset timeout time is :
minimum timeout time, maximum timeout time.
The embodiment of the invention also provides automatic testing devices, which comprise:
the setting unit is used for automatically setting the overtime time to th preset overtime time on a BMC Web service setting interface;
the judging unit is used for judging whether the th preset timeout time is set successfully;
the checking unit is used for checking whether a session generated by the currently logged BMC Web can be used or not after waiting for the preset timeout when the preset timeout is set successfully;
wherein the th preset timeout time is :
minimum timeout time, maximum timeout time.
The embodiment of the invention also provides automatic testing devices, which comprise a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the automatic testing method when being executed by the processor.
The embodiment of the present invention further provides computer-readable storage media, where the computer-readable storage media store information processing programs, and when the information processing programs are executed by a processor, the steps of the automated testing method are implemented.
The technical scheme provided by the embodiment of the application can automatically test and verify the overtime setting function of the BMC WEB service.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. Other advantages of the application may be realized and attained by the instrumentalities and combinations particularly pointed out in the specification, claims, and drawings.
Drawings
The drawings are provided to provide an understanding of the present application and constitute a part of the specification, serve to explain the present application with embodiment of the present application and do not constitute a limitation of the present application.
FIG. 1 is a schematic flow chart of the automated testing methods provided by the embodiment of the present invention;
FIG. 2 is a schematic flow chart of automated testing methods according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of kinds of automated testing apparatuses according to an embodiment of the present invention .
Detailed Description
The present application describes embodiments, but the description is illustrative rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or instead of any other feature or element in any other embodiment, unless expressly limited otherwise.
The embodiments, features and elements that have been disclosed in this application can also be combined with any conventional features or elements to form additional unique inventive aspects defined by the claims.
Further, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other orders of steps are possible as will be understood by those of ordinary skill in the art. Therefore, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Further, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
Fig. 1 is a schematic flow chart of automated testing methods provided by an embodiment of of the present invention, as shown in fig. 1, the method includes:
step 101, automatically setting the timeout time to th preset timeout time on a baseboard management controller BMC Web service setting interface;
step 102, judging whether the preset timeout time is set successfully;
103, when the th preset timeout time is successfully set, waiting for the th preset timeout time, and checking whether a session generated by the currently logged-in BMC Web can be used or not;
wherein the th preset timeout time is :
minimum timeout time, maximum timeout time.
Wherein, the method also comprises:
automatically setting the timeout time to be a second preset timeout time on a BMC Web service setting interface;
judging whether the second preset timeout time is set successfully or not;
when the second preset timeout time is successfully set, after waiting for the second preset timeout time, checking whether a session generated by the currently logged BMC Web can be used;
wherein the second preset timeout time is below and is different from the preset timeout time:
minimum timeout time, maximum timeout time.
Wherein, the method also comprises:
automatically setting the timeout time to be a third preset timeout time on a BMC Web service setting interface;
judging whether the third preset timeout time is set successfully;
wherein the third preset timeout time is :
any time less than the minimum timeout time, any time greater than the maximum timeout time.
Wherein, the method also comprises:
automatically setting the timeout time to a fourth preset timeout time on a BMC Web service setting interface;
judging whether the fourth preset timeout time is set successfully;
wherein the fourth preset timeout time is below and is different from the third preset timeout time:
any time less than the minimum timeout time, any time greater than the maximum timeout time.
Wherein, the method also comprises:
when the preset timeout setting is unsuccessful, or the second preset timeout setting is unsuccessful, or the preset timeout period is waited, and the session generated by logging in the BMC Web can be used, or the second preset timeout period is waited, and the session generated by logging in the BMC Web can be used, or the third preset timeout period is successful, or the fourth preset timeout period is successful, the BMC WEB timeout period setting function test fails, and the test log is recorded.
Wherein, the method also comprises:
when the preset timeout is successfully set, waiting for the preset timeout and the session generated by the currently logged BMC Web cannot be used, or when the second preset timeout is successfully set, waiting for the second preset timeout and the session generated by the currently logged BMC Web cannot be used, or when the third preset timeout is not successfully set, or when the fourth preset timeout is not successfully set, the BMC Web timeout function test is normal, and a test log is recorded.
Before automatically setting the timeout time to th preset timeout time on a BMC Web service setting interface, the method comprises the following steps:
automatically acquiring the timeout time of a default state after logging in a BMC Web;
the method further comprises the following steps:
after the test is finished, automatically setting the overtime time to the overtime time of the default state on a BMC Web service setting interface
The technical scheme provided by the embodiment can automatically set the overtime function of the BMC (baseboard management controller) WEB service to test and verify.
Fig. 2 is a schematic flow chart of automated testing methods according to another embodiment of the present invention, as shown in fig. 2, the method includes:
step 201, after logging in BMC Web, automatically acquiring timeout time of a default state;
the method comprises the steps of firstly logging in BMC WEB, then entering a service setting page, and then carrying out subsequent operation.
The obtaining of the timeout time of the default state is prepared for the last recovery operation of the timeout time of the BMC WEB, and the default state can be recovered after the test is finished, so that the use of the BMC WEB is not affected.
Step 202, automatically setting the timeout time to th preset timeout time on a BMC Web service setting interface, judging whether the th preset timeout time is successfully set, and when the th preset timeout time is successfully set, waiting for the th preset timeout time, checking whether a session generated by currently logging in a BMC Web can be used;
wherein the th preset timeout time is :
minimum timeout time, maximum timeout time.
For example, the timeout time is set to 300s (minimum timeout time), whether the setting is successful is determined, and when the setting is successful, it is checked whether the session generated by the current login web can still be used after waiting for 301 s.
When the preset timeout time setting is unsuccessful, or after the preset timeout time is waited and the session generated by logging in the BMC Web is enabled, it indicates that the BMC Web timeout time setting function test fails, and at this moment, a LOG of the test failure may be recorded.
When the -th preset timeout time is successfully set, waiting for the -th preset timeout time, and the session generated by logging in the BMC Web currently cannot be used, the BMC WEB timeout time setting function test is normal, and at this moment, the LOG LOG of the normal test can be recorded.
Step 203, automatically setting the timeout time to be a second preset timeout time on a BMC Web service setting interface; judging whether the second preset timeout time is set successfully or not; when the second preset timeout time is successfully set, after waiting for the second preset timeout time, checking whether a session generated by the currently logged BMC Web can be used;
wherein the second preset timeout time is below and is different from the preset timeout time:
minimum timeout time, maximum timeout time.
For example, setting the web service timeout time to 1800s (maximum timeout time), determining whether the setting is successful, and waiting 1801s before checking whether the session generated by the currently logged-in web can still be used.
When the second preset timeout time is not set successfully, or after waiting for the second preset timeout time and the session generated by logging in the BMC Web currently can be used, the test of the BMC WEB timeout time setting function fails, and at this moment, the LOG LOG of the test failure can be recorded.
When the second preset timeout time is successfully set, waiting for the second preset timeout time, and the session generated by logging in the BMC Web currently cannot be used, the BMC WEB timeout time setting function test is normal, and at this moment, the LOG LOG of the normal test can be recorded.
Step 204, automatically setting the timeout time to a third preset timeout time on a BMC Web service setting interface; judging whether the third preset timeout time is set successfully;
wherein the third preset timeout time is :
any time less than the minimum timeout time, any time greater than the maximum timeout time.
For example, setting the web timeout time to 299s, which is less than the minimum timeout time, is not within the normal range of timeout times.
When the third preset timeout time is successfully set, the test of the BMC WEB timeout time setting function fails, and at this moment, a LOG LOG of the test failure can be recorded.
When the third preset timeout period is unsuccessful, the BMC WEB timeout period setting function test is normal, and at this moment, a LOG of the normal test can be recorded.
Step 205, automatically setting the timeout time to a fourth preset timeout time on a BMC Web service setting interface; judging whether the fourth preset timeout time is set successfully;
wherein the fourth preset timeout time is below and is different from the third preset timeout time:
any time less than the minimum timeout time, any time greater than the maximum timeout time.
For example, the web timeout time is set to 1801s, which is greater than the maximum timeout time and is not within the normal range of timeout times.
When the fourth preset timeout time is successfully set, the BMC WEB timeout time setting function test fails, and at this moment, a LOG of the test failure may be recorded.
When the fourth preset timeout period is unsuccessful, the BMC WEB timeout period setting function test is normal, and at this moment, a LOG of the normal test can be recorded.
It should be noted that there is no fixed sequence between steps 202, 203, 204, and 205, and the sequence may be any sequence, and the sequence in fig. 2 is only an exemplary sequence and is not limited in particular. In addition, before executing steps 202, 203, 204, 205, it is necessary to confirm whether the current login is valid, and if not, it is necessary to log in the BMC WEB again and then execute the relevant operation.
Step 206, recording and storing a test log;
the test log may include information about each step in a test case, a test result, a reason for a test failure, and the like.
And step 207, after the test is finished, automatically setting the timeout time to the timeout time of the default state on a BMC Web service setting interface.
The server is restored to the default state, so that the server can be ensured to continue to be normally used.
The technical scheme that this embodiment provided tests WEB overtime time setting function through automatic mode, not only can raise the efficiency, the cost of using manpower sparingly reduces artifical fault rate, can also improve the rate of accuracy of test, is the true control of time in accurate within range. Corresponding log results can be automatically saved in the process, so that the results can be viewed and tracked. After the test is started, extra manpower is not needed to observe and wait, and the waste of manpower resources is reduced.
In another embodiment of the present invention, the BMC Web timeout function is automatically tested in a JAVA script manner, the JAVA script is compiled based on JAVA, and the timeout setting function of the Web service can be tested and verified by inputting the name parameter of the Java script under the CMD by using a Java virtual running tool and running the script.
Wherein, the test process in this embodiment includes:
1, the following inserts were introduced:
import java.io.File;
import java.util.ArrayList;
import jav.util.Map;
impoor BMC.Public.*;
the plug-in is a common JAVA tool and builds an operating environment for the JAVA script.
2, running the JAVA script;
specifically, the prepared JAVA script may be run using the ipmi instruction to call the restful interface.
The JAVA script mainly comprises the following three parts:
(1) login to BMC WEB
The specific script content of this part is as follows:
Figure BDA0002209041800000091
Figure BDA0002209041800000101
the script content is mainly used for ensuring successful login to the BMC WEB.
The specific script content of this part is only an exemplary illustration, and may be written using JAVA according to the above requirements, as long as the above functions can be implemented, and no specific command line or code is limited.
(2) Acquiring and setting timeout
The specific script content of this part is, for example, as follows:
Figure BDA0002209041800000111
wherein, when setting the timeout fails, a failure prompt is returned, for example: a Server returned HTTPresponse code 401; when the timeout is successfully set, the set content of the request body is returned.
The specific script content of this part is only an exemplary illustration, and may be written using JAVA according to the above requirements, as long as the above functions can be implemented, and no specific command line or code is limited.
(3) Verifying timeout time
The verification of the timeout time waits firstly, when the waiting time exceeds the set timeout time, the current session is used for obtaining the timeout time again, if the timeout time can be obtained, the fact that the web does not have session invalidation is shown, the timeout function does not take effect, for example, a prompt Server returned HTTP response code 500 is obtained, the fact that the session invalidation is proved, and the timeout function test is successful.
The specific script content of this part is, for example, as follows:
Figure BDA0002209041800000112
the serviceAllInfo5 is the information returned for acquiring the web service information, and is the parameter in the iscontainsString method, and the error code is the parameter two in the iscontainsString method.
The specific script content of this part is only an exemplary illustration, and may be written using JAVA according to the above requirements, as long as the above functions can be implemented, and no specific command line or code is limited.
3, recording and storing the test log
Wherein, the test log records various results returned by executing the script.
Specifically, script execution and log recording are performed, wherein the execution preconditions of the test case, case related information (name/number), specific values of called parameters (related information such as an IP (Internet protocol), a user name and a password of a machine to be tested), the step contents of the test case, expected results corresponding to the steps, specific operations performed by the scripts in each step, and actual results of execution (whether the operations are successful or not and results generated by the operations) are mainly returned, the execution results of the test case are finally recorded, for example, when the preset timeout time of the third is not successful, or the preset timeout time of the second is not successful, the Server returned HTTP response code 401 records the test success, when the preset timeout time of the third is not successful, or the preset timeout time of the fourth is not successful, the Server returned HTTP response code 401 records the test success, when the preset timeout time of the third is successful, the preset timeout time of the second BMC 36 is not successfully used after the preset timeout time of the BMC 32 is waited for the current BMC login, or the preset BMC is not successfully used for the login, the login of the second BMC 500 is not successfully recorded when the preset BMC timeout time of the current BMC 36 is set, and the preset BMC for the current BMC for the login, the preset timeout of the current BMC for the test success, the preset BMC for the current timeout time is not successful, the login, the preset BMC for the login, and the login is not successfully recorded time of the preset BMC for the login, the preset BMC for the login, the preset timeout of the login, the preset BMC for the preset timeout time of the current BMC for the login, the preset BMC for the.
According to the technical scheme, the method for testing by the aid of the automatic script is simple, convenient and accurate to operate, and corresponding log results can be automatically stored in the process, so that the results can be checked with good evidence. After the script starts to run, extra manpower is not needed for observation and waiting, and the waste of human resources is reduced.
The technical scheme provided by the embodiment aims to reduce the consumption of manpower in the setting test of the overtime time of the web service, changes manual test into automatic test, can start the test only by running a script, has clear results and is convenient for finding problems. And log is stored in the whole test process or result, so that the test is convenient and easy to check.
The technical scheme provided by the embodiment is mainly applied to the verification test of the overtime setting of the web service, and the test result accuracy is not accurate enough because long waiting time is needed to judge whether the function is correct when the test is carried out manually. The manual testing process is complicated and tedious, the manual operation is too time consuming and the results are difficult to preserve in a normative manner. The user tests by running the script, the operation is convenient, and the test log is reserved to ensure that the test result is traceable.
The technical scheme provided by the embodiment avoids the time and manpower resources wasted by manual testing in the prior test, and greatly reduces the test errors on the basis of ensuring the correct running of the script. After the test method script tool is executed, the test log is analyzed, and the method is convenient, rapid and accurate. The machine can automatically run the script to automatically test no matter in daytime or at night, and a plurality of machines can also test simultaneously, so that the working efficiency is greatly improved.
Fig. 3 is a schematic structural diagram of a kinds of automated testing apparatuses according to an embodiment of the present invention , as shown in fig. 3, the apparatuses include:
the setting unit is used for automatically setting the overtime time to th preset overtime time on a BMC Web service setting interface;
the judging unit is used for judging whether the th preset timeout time is set successfully;
the checking unit is used for checking whether a session generated by the currently logged BMC Web can be used or not after waiting for the preset timeout when the preset timeout is set successfully;
wherein the th preset timeout time is :
minimum timeout time, maximum timeout time.
The setting unit is further used for automatically setting the timeout time to be a second preset timeout time on a BMC Web service setting interface;
the judging unit is further configured to judge whether the second preset timeout period is set successfully;
the checking unit is further configured to, when the second preset timeout period is successfully set, wait for the second preset timeout period, and check whether a session generated by currently logging in the BMC Web can be used;
wherein the second preset timeout time is below and is different from the preset timeout time:
minimum timeout time, maximum timeout time.
Wherein, the method also comprises:
the setting unit is also used for automatically setting the timeout time to a third preset timeout time on a BMC Web service setting interface;
the judging unit is further configured to judge whether the third preset timeout period is set successfully;
wherein the third preset timeout time is :
any time less than the minimum timeout time, any time greater than the maximum timeout time.
Wherein, the method also comprises:
the setting unit is also used for automatically setting the timeout time to a fourth preset timeout time on a BMC Web service setting interface;
the judging unit is further configured to judge whether the fourth preset timeout period is set successfully;
wherein the fourth preset timeout time is below and is different from the third preset timeout time:
any time less than the minimum timeout time and any time greater than the maximum timeout time; .
Wherein, the device still includes:
and the log unit is used for recording a test log when the th preset timeout time is not successfully set, or the second preset timeout time is not successfully set, or after waiting for the th preset timeout time, the session generated by the currently logged BMC Web can be used, or after waiting for the second preset timeout time, the session generated by the currently logged BMC Web can be used, or when the third preset timeout time is successfully set, or when the fourth preset timeout time is successfully set, the BMCWEB timeout time setting function test fails.
Wherein, the device still includes:
and the log unit is used for waiting that the session generated by logging in the BMC Web cannot be used after the preset timeout time of the is successful when the preset timeout time of the is successfully set, or waiting that the session generated by logging in the BMC Web cannot be used after the preset timeout time of the second is successful when the preset timeout time of the second is successful, or the setting of the preset timeout time of the third is unsuccessful, or the setting of the timeout time of the fourth is unsuccessful, and the function test of the setting of the BMC WEB timeout time is normal, and a test log is recorded.
Wherein, the device still includes:
the acquisition unit is used for automatically acquiring the timeout time of a default state before th preset timeout time is automatically set in a BMC Web service setting interface and after the BMC Web is logged in;
and the setting unit is also used for automatically setting the overtime time to the overtime time of the default state on a BMC Web service setting interface after the test is finished.
The technical scheme provided by the embodiment can automatically set the overtime function of the BMC (baseboard management controller) WEB service to test and verify.
The technical scheme provided by the embodiment has the advantages of simple and convenient test method and convenient test process result check, and can be used for various service tests of the conventional server.
In addition, the technical solution provided by the above embodiment can also be used for testing the timeout time of a KVM (Kernel-based virtual machine), the timeout time of an SSH (Secure Shell), and the timeout time setting of various types of services. In this test approach, the automated test approach can also be used for other types of functional tests of services such as: port number settings, etc. The automatic test mode avoids the time and human resources wasted by manual test in the prior test, and greatly reduces the test error. After the test method is executed, the test log is analyzed, and the method is convenient, rapid and accurate. The machine can automatically run to test no matter in daytime or at night, and a plurality of machines can also test simultaneously, so that the working efficiency is greatly improved.
The embodiment of the invention also provides automatic testing devices, which comprise a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the computer program realizes the automatic testing method of any item when being executed by the processor.
An embodiment of the present invention further provides computer-readable storage media, where the computer-readable storage media stores information processing programs, and when the information processing programs are executed by a processor, the information processing programs implement the steps of any automated testing method.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods disclosed above, functional modules/units in systems, devices may be implemented as software, firmware, hardware, and suitable combinations thereof, in a hardware implementation, the division between functional modules/units mentioned in the above description is not a division corresponding to physical components, e.g., physical components may have multiple functions, or functions or steps may be performed cooperatively by several physical components.

Claims (10)

1, automated testing method, comprising:
automatically setting the overtime time to th preset overtime time on a Baseboard Management Controller (BMC) Web service setting interface;
judging whether the preset timeout time is set successfully;
when the th preset timeout time is successfully set, after waiting for the th preset timeout time, checking whether a session generated by the currently logged BMC Web can be used or not;
wherein the th preset timeout time is :
minimum timeout time, maximum timeout time.
2. The method of claim 1, further comprising:
automatically setting the timeout time to be a second preset timeout time on a BMC Web service setting interface;
judging whether the second preset timeout time is set successfully or not;
when the second preset timeout time is successfully set, after waiting for the second preset timeout time, checking whether a session generated by the currently logged BMC Web can be used;
wherein the second preset timeout time is below and is different from the preset timeout time:
minimum timeout time, maximum timeout time.
3. The method of claim 2, further comprising:
automatically setting the timeout time to be a third preset timeout time on a BMC Web service setting interface;
judging whether the third preset timeout time is set successfully;
wherein the third preset timeout time is :
any time less than the minimum timeout time, any time greater than the maximum timeout time.
4. The method of claim 3, further comprising:
automatically setting the timeout time to a fourth preset timeout time on a BMC Web service setting interface;
judging whether the fourth preset timeout time is set successfully;
wherein the fourth preset timeout time is below and is different from the third preset timeout time:
any time less than the minimum timeout time, any time greater than the maximum timeout time.
5. The method of any one of claims 1-4 to , further comprising:
when the preset timeout setting is unsuccessful, or the second preset timeout setting is unsuccessful, or the preset timeout period is waited, and the session generated by logging in the BMC Web can be used, or the second preset timeout period is waited, and the session generated by logging in the BMC Web can be used, or the third preset timeout period is successful, or the fourth preset timeout period is successful, the BMC WEB timeout period setting function test fails, and the test log is recorded.
6. The method of any one of claims 1-4 to , further comprising:
when the preset timeout time is successfully set, the session generated by logging in the BMCWeb at present cannot be used after waiting for the preset timeout time, or the second preset timeout time is successfully set, the session generated by logging in the BMCWeb at present cannot be used after waiting for the second preset timeout time, or the third preset timeout time is unsuccessfully set, or the fourth preset timeout time is unsuccessfully set, the BMC Web timeout time setting function test is normal, and a test log is recorded.
7. The method of claim 1, wherein before automatically setting the timeout period to the preset timeout period at the BMC Web services settings interface, the method comprises:
automatically acquiring the timeout time of a default state after logging in a BMC Web;
the method further comprises the following steps:
and after the test is finished, automatically setting the overtime time to be the overtime time of the default state on a BMC Web service setting interface.
An automated testing device of , comprising:
the setting unit is used for automatically setting the overtime time to th preset overtime time on a Baseboard Management Controller (BMC) Web service setting interface;
the judging unit is used for judging whether the th preset timeout time is set successfully;
the checking unit is used for checking whether a session generated by the currently logged BMC Web can be used or not after waiting for the preset timeout when the preset timeout is set successfully;
wherein the th preset timeout time is :
minimum timeout time, maximum timeout time.
automatic test device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the automatic test method according to any of claims 1-7, wherein is the set of claims.
10, computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an information processing program which, when executed by a processor, implements the steps of the automated testing method according to any of claims 1 to 7 to .
CN201910892017.5A 2019-09-20 2019-09-20 automatic testing method and device Withdrawn CN110737595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910892017.5A CN110737595A (en) 2019-09-20 2019-09-20 automatic testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910892017.5A CN110737595A (en) 2019-09-20 2019-09-20 automatic testing method and device

Publications (1)

Publication Number Publication Date
CN110737595A true CN110737595A (en) 2020-01-31

Family

ID=69268838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910892017.5A Withdrawn CN110737595A (en) 2019-09-20 2019-09-20 automatic testing method and device

Country Status (1)

Country Link
CN (1) CN110737595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522740A (en) * 2020-04-10 2020-08-11 成都安恒信息技术有限公司 Web server timeout analysis system and analysis method based on natural number group

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522740A (en) * 2020-04-10 2020-08-11 成都安恒信息技术有限公司 Web server timeout analysis system and analysis method based on natural number group

Similar Documents

Publication Publication Date Title
US6993683B2 (en) Analysis of pipelined networks
EP3036633B1 (en) Cloud deployment infrastructure validation engine
CN109726099B (en) Application gray level publishing method, device and equipment
CN107623698B (en) Method and device for remotely debugging network equipment
US20110231822A1 (en) Techniques for validating services for deployment in an intelligent workload management system
US20210326196A1 (en) A remediation system to prevent incompatible program module installation in an information processing system
US10044742B2 (en) Verification of computer system prior to and subsequent to computer program installation
CN107634871B (en) Connectivity test method, device and system
CN107506295A (en) Method of testing, equipment and the computer-readable recording medium of virtual machine backup
CN111130848B (en) Fault detection method and device for authentication, authorization and accounting (AAA)
CN111782372A (en) Java process starting method and device, computer equipment and storage medium
CN110737595A (en) automatic testing method and device
US20070005767A1 (en) Method and apparatus for automated testing of a utility computing system
WO2016188223A1 (en) Fault information collection method and apparatus
CN111181808B (en) Method and system for testing BMC IP access control
CN108075933B (en) Network interoperability test method and device
CN111124828B (en) Data processing method, device, equipment and storage medium
US9798608B2 (en) Recovery program using diagnostic results
CN116302738A (en) Method, system, equipment and storage medium for testing chip
CN115437925A (en) Functional automation test tool for operating system
CN110134559B (en) BMC fault detection method, system and related components
CN109039770B (en) Server CMC refreshing method and device and related equipment
CN111400057A (en) Method, device and medium for remotely controlling test process
TWI587109B (en) System structure and deployment method for installing operating systems of a plurality of devices under test
CN115250249B (en) IPv6 Ready-based automatic testing method, device, medium and equipment

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200131

WW01 Invention patent application withdrawn after publication