CN116991734A - Test environment deployment method, device, equipment and storage medium - Google Patents

Test environment deployment method, device, equipment and storage medium Download PDF

Info

Publication number
CN116991734A
CN116991734A CN202311001929.1A CN202311001929A CN116991734A CN 116991734 A CN116991734 A CN 116991734A CN 202311001929 A CN202311001929 A CN 202311001929A CN 116991734 A CN116991734 A CN 116991734A
Authority
CN
China
Prior art keywords
deployment
test
information
test environment
change rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311001929.1A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202311001929.1A priority Critical patent/CN116991734A/en
Publication of CN116991734A publication Critical patent/CN116991734A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • 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
    • 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

Landscapes

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

Abstract

The application relates to the technical field of financial science and technology, and provides a test environment deployment method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring a deployment document of a system to be tested, and acquiring configuration information of the system to be tested according to the deployment document; determining a target test environment according to the configuration information, and acquiring test information of the target test environment; extracting the characteristics of the test information through a preset model to obtain characteristic information and a change rule; and generating an automatic deployment script by utilizing an automatic deployment script generating tool according to the characteristic information and the change rule, and executing the automatic deployment script to complete the deployment of the target test environment. According to the application, the characteristic information and the change rule of the test environment are extracted by analyzing the test environment, so that the automatic deployment of the test environment is realized, the test environment requirement of the natural language expression can be more accurately understood and processed, and the efficiency and the accuracy of the automatic deployment are improved.

Description

Test environment deployment method, device, equipment and storage medium
Technical Field
The present application relates to the technical field of financial science and technology, and in particular, to a test environment deployment method, device, equipment and storage medium.
Background
As the Murex system is increasingly used in the financial industry, the requirements on the testing environment are also increasing. The traditional automatic deployment of the test environment requires manual intervention, consumes a great deal of time and energy, and is easy to cause errors and missed test. Meanwhile, due to the diversity and complexity of the test environment, the manual intervention cannot meet the efficient test requirement. Therefore, how to automatically deploy the test environment of the Murex system in an automatic mode improves the test efficiency and quality, and becomes a hot spot and a difficult point of current research.
Disclosure of Invention
In view of the above, the present application aims to overcome the defects in the prior art, and provide a test environment deployment method, device, apparatus and storage medium.
The application provides the following technical scheme:
in a first aspect, the present application provides a test environment deployment method, including:
acquiring a deployment document of a system to be tested, and acquiring configuration information of the system to be tested according to the deployment document;
determining a target test environment according to the configuration information, and acquiring test information of the target test environment;
extracting the characteristics of the test information through a preset model to obtain characteristic information and a change rule;
and generating an automatic deployment script by utilizing an automatic deployment script generating tool according to the characteristic information and the change rule, and executing the automatic deployment script to complete the deployment of the target test environment.
In one embodiment, the determining the target test environment according to the configuration information includes:
acquiring system configuration of a preset test environment;
and selecting a target system configuration matched with the configuration information from the system configuration, and taking the test environment corresponding to the target system configuration as the target test environment.
In one embodiment, the obtaining the test information of the target test environment includes:
and acquiring environment configuration information, a database table structure and test data of the target test environment.
In one embodiment, the feature extraction of the test information by a preset model to obtain feature information and a change rule includes:
inputting the environment configuration information, the database table structure and the test data into the preset model;
and extracting the characteristic information keywords and the change rule keywords in the environment configuration information, the database table structure and the test data through the preset model to obtain the characteristic information and the change rule.
In one embodiment, the preset model includes a discriminator and a classifier, and the feature extraction is performed on the test information through the preset model to obtain feature information and the change rule, including:
determining whether the test information contains characteristic information keywords or change rule keywords through the discriminator;
dividing the test information containing the characteristic information keywords into first test information and dividing the test information containing the change rule keywords into second test information through the classifier;
extracting a characteristic information keyword from the first test information to obtain the characteristic information;
and extracting the change rule keywords of the second test information to obtain the change rule.
In one embodiment, the generating an automated deployment script by using an automated deployment script generating tool according to the feature information and the change rule, and executing the automated deployment script to complete deployment of the target test environment, includes:
generating a corresponding deployment script and a configuration script according to the characteristic information and the change rule;
and calling the automatic deployment script generation tool, executing the deployment script and the configuration script, and completing the deployment of the target test environment.
In one embodiment, after the deployment of the target test environment is completed, the method includes:
and carrying out automatic test on the system to be tested by using an automatic test tool to obtain a test result.
In a second aspect, the present application provides a test environment deployment apparatus, comprising:
the acquisition module is used for acquiring a deployment document of the system to be tested and acquiring configuration information of the system to be tested according to the deployment document;
the determining module is used for determining a target test environment according to the configuration information and obtaining the test information of the target test environment;
the extraction module is used for extracting the characteristics of the test information through a preset model to obtain characteristic information and a change rule;
and the deployment module is used for generating an automatic deployment script by utilizing an automatic deployment script generation tool according to the characteristic information and the change rule, and executing the automatic deployment script to complete the deployment of the target test environment.
In a third aspect, the present application provides a computer device comprising a memory storing a computer program and at least one processor for executing the computer program to implement the test environment deployment method of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium storing a computer program which, when executed, implements the test environment deployment method according to the first aspect.
The embodiment of the application has the following beneficial effects:
according to the test environment deployment method, the characteristic information and the change rule of the test environment are extracted by analyzing the test environment, so that the automatic deployment of the test environment is realized, the test environment requirements expressed by natural language can be more accurately understood and processed, and the efficiency and the accuracy of the automatic deployment are improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a flow diagram of a test environment deployment method;
FIG. 2 is a flow chart of a method for determining a target test environment;
FIG. 3 shows a flow diagram of a feature extraction method;
FIG. 4 is a flow diagram of a target test environment deployment method;
fig. 5 shows a schematic diagram of a test environment deployment apparatus framework.
Description of main reference numerals:
500. testing an environment deployment device; 501. an acquisition module; 502. a determining module; 503. an extraction module; 504. and (5) deploying a module.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
It will be understood that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly on" another element, there are no intervening elements present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
In the present application, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the templates herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart of a test environment deployment method provided in this embodiment, including:
s101, acquiring a deployment document of a system to be tested, and acquiring configuration information of the system to be tested according to the deployment document.
The system in the financial industry is various, and the application takes a murex system commonly used in the financial industry as an example: before testing the mux system, the test environment needs to be deployed first, in order to make the test environment better meet the requirement of system testing, the mux system needs to be analyzed, the deployment requirement is usually recorded in the deployment document of the mux system, and the configuration, the characteristics, the change requirement and the like of the system on the test environment can be obtained by analyzing the deployment document, so that a foundation is provided for subsequent test environment deployment. The test environment deployment method of the application can be used for testing the murex system and testing other systems.
S102, determining a target test environment according to the configuration information, and acquiring test information of the target test environment.
Referring to fig. 2, step S102 further includes:
s1021, acquiring system configuration of a preset test environment.
Since there are usually a plurality of test environments, and the system configuration of the test environments is fixed, some system configurations may not meet the requirements of the system to be tested, and in order to better implement the mux system test, first, the system configuration of each preset test environment needs to be acquired, so as to obtain the configuration parameters of the test environments. The configuration parameters to be analyzed include: operating system, environment properties (virtual machine, physical machine), system configuration (cpu, memory, disk size), etc.
S1022, selecting a target system configuration matched with the configuration information from the system configurations, and taking the test environment corresponding to the target system configuration as the target test environment.
The deployment document of the Murex system can be divided into a foreground module, a middle module, a background module and an accounting module according to the module division, and verification after different modules are deployed has different requirements on a test environment. For example, because the middle platform module involves a large amount of middle platform risk metering, a test environment with high system configuration is needed to cooperate with batch verification, so that the deployment of the middle platform module automatically deploys by screening the physical machine environment with the highest system configuration from all test environments, thereby meeting the subsequent verification.
After determining the target test environment, acquiring environment configuration information, a database table structure, test data and the like of the target test environment, and storing the environment configuration information, the database table structure, the test data and the like in a database so as to facilitate subsequent processing.
And S103, extracting the characteristics of the test information through a preset model to obtain characteristic information and a change rule.
Referring to fig. 3, step S103 further includes:
s1031, inputting the environment configuration information, the database table structure and the test data into the preset model.
After obtaining the test information of the target test environment, inputting the target test information into a preset model, wherein the preset model can be a neural network model.
S1032, extracting the environment configuration information, the database table structure and the characteristic information keywords and the change rule keywords in the test data through the preset model to obtain the characteristic information and the change rule.
The preset model comprises a discriminator and a classifier, and the environment configuration information, the database table structure and the test data are input into the preset model. Firstly, judging whether the environment configuration information, the database table structure and the test data contain characteristic information keywords or change rule keywords or not by a discriminator, and taking the test information containing the characteristic information keywords or the change rule keywords as candidate information, thereby realizing the discrimination of the test information.
And then, dividing the test information containing the characteristic information keywords in the candidate information into first test information and dividing the test information containing the change rule keywords into second test information by using a classifier, thereby realizing information classification.
Then extracting characteristic information keywords in the first test information and extracting change rule keywords in the second test information through a keyword extraction method, respectively training two different models, wherein one model inputs the first test information to enable the target output of the first test information to be the characteristic information keywords, the second model inputs the second test information to enable the target output of the second test information to be the change rule keywords, and then continuously carrying out parameter adjustment and output result verification on the two models to enable the two models to finish keyword extraction.
For example: a set of labels and related texts of a UI interface with Murex are collected, each element belongs to a specific category, such as a button, a text box and the like, a machine learning logistic regression algorithm is used for training a discriminator model, and elements such as a login button, a registration form or a search box are positioned according to category information. The discriminator judges whether the text belongs to a specific category according to the input text. The labeled training data is used to train the discriminators so that they can distinguish between different classes. And inputting the text to be tested into the trained discriminator model. The arbiter will output a binary value indicating whether the text belongs to a particular category. And judging whether the test data contains a phrase of a certain category or not according to the judging result of the discriminator. And then grouped using a classifier.
Keyword extraction is then performed: and extracting keywords or key phrases according to the phrases of each category. These keywords may be labels for UI elements, instructions for specific operations, important text content, etc., by which important elements and points of interest in the test environment are identified.
After keyword extraction, element recognition and localization can be performed through keywords: the keyword or category information is used to identify a particular UI element in the test environment and to determine its location and attributes. For example, elements such as a login button, a registry, or a search box are positioned according to category information to facilitate subsequent execution of related operations with respect to a particular element.
For the acquisition of the change rule, when the change of the related content exists in the test environment, the change possibly causing the problem or error is detected and identified. And setting expected environmental states according to the category information and the keywords, and detecting whether the expected changes are not met in the subsequent tests. For example, it is detected whether the text or style of the login button changes in an unexpected manner, thereby obtaining a change rule.
According to the embodiment, the characteristic extraction is carried out on the test information through the preset neural network model, and the required information can be obtained from the test information, so that the subsequent deployment of the test environment is facilitated.
And S104, generating an automatic deployment script by using an automatic deployment script generating tool according to the characteristic information and the change rule, and executing the automatic deployment script to complete the deployment of the target test environment.
Referring to fig. 4, step S104 further includes:
s1041, generating a corresponding deployment script and a configuration script according to the characteristic information and the change rule.
For example: and a corresponding deployment script and configuration file can be generated according to the result of semantic analysis by using a Python or Shell scripting language.
S1042, calling the automatic deployment script generation tool, executing the deployment script and the configuration script, and completing the deployment of the target test environment.
After generating the deployment script, a UI automation test tool may be invoked, for example: UFT or Ranorex, and the like, and automatically executing the deployment process through an automatic testing tool.
After the automatic deployment of the test environment is completed, an automatic test tool can be utilized to automatically test the Murex system so as to verify the correctness and stability of the test environment.
The embodiment can realize automatic deployment of the test environment, can more accurately understand and process the test environment requirements of the natural language expression, and improves the efficiency and accuracy of automatic deployment.
Example 2
Referring to fig. 5, the present application further provides a test environment deployment apparatus 500, comprising:
the acquisition module 501 is configured to acquire a deployment document of a system to be tested, and acquire configuration information of the system to be tested according to the deployment document;
a determining module 502, configured to determine a target test environment according to the configuration information, and obtain test information of the target test environment;
the extracting module 503 is configured to perform feature extraction on the test information through a preset model, so as to obtain feature information and a change rule;
and the deployment module 504 is configured to generate an automatic deployment script by using an automatic deployment script generating tool according to the feature information and the change rule, and execute the automatic deployment script to complete deployment of the target test environment.
In one embodiment, the determining module 502 is further configured to:
acquiring system configuration of a preset test environment;
and selecting a target system configuration matched with the configuration information from the system configuration, and taking the test environment corresponding to the target system configuration as the target test environment.
In one embodiment, the determining module 502 is further configured to:
and acquiring environment configuration information, a database table structure and test data of the target test environment.
In one embodiment, the extracting module 503 is further configured to:
inputting the environment configuration information, the database table structure and the test data into the preset model;
and extracting the characteristic information keywords and the change rule keywords in the environment configuration information, the database table structure and the test data through the preset model to obtain the characteristic information and the change rule.
In one embodiment, the preset model includes a discriminator and a classifier, and the extracting module 503 is further configured to:
determining whether the test information contains characteristic information keywords or change rule keywords through the discriminator;
dividing the test information containing the characteristic information keywords into first test information and dividing the test information containing the change rule keywords into second test information through the classifier;
extracting a characteristic information keyword from the first test information to obtain the characteristic information;
and extracting the change rule keywords of the second test information to obtain the change rule.
In one embodiment, the deployment module 504 is further configured to:
generating a corresponding deployment script and a configuration script according to the characteristic information and the change rule;
and calling the automatic deployment script generation tool, executing the deployment script and the configuration script, and completing the deployment of the target test environment.
It will be appreciated that the implementation of the test environment deployment method of the above embodiment is equally applicable to the present embodiment, and thus will not be repeated here.
According to the embodiment, the characteristic information and the change rule of the test environment can be extracted by analyzing the test environment, so that the automatic deployment of the test environment is realized, the test environment requirement of the natural language expression can be more accurately understood and processed, and the efficiency and the accuracy of the automatic deployment are improved.
Example 3
The embodiment of the application also provides a computer device, for example, the computer device can be, but not limited to, a desktop computer, a notebook computer and the like, and the existence form of the computer device is not limited, and the computer device mainly depends on whether the computer device needs to support the interface display function of a browser webpage or not. The computer device illustratively includes a memory storing a computer program and at least one processor for executing the computer program to implement the test environment deployment method of embodiment 1 above.
The processor may be an integrated circuit chip with signal processing capabilities. The processor may be a general purpose processor including at least one of a central processing unit (Central Processing Unit, CPU), a graphics processor (GraphicsProcessing Unit, GPU) and a network processor (Network Processor, NP), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application.
The Memory may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-OnlyMemory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory is used for storing a computer program, and the processor can correspondingly execute the computer program after receiving the execution instruction.
Further, the memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created from the use of the computer device (e.g., iteration data, version data, etc.), and so on. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
Example 4
Embodiments of the present application also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to perform the test environment deployment method described in embodiment 1 above.
It will be appreciated that the implementation of the test environment deployment method of the above embodiment 1 is equally applicable to this embodiment, and thus the description thereof will not be repeated here.
The computer readable storage medium may be either a nonvolatile storage medium or a volatile storage medium. For example, the computer-readable storage medium may include, but is not limited to,: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application.
Any particular values in all examples shown and described herein are to be construed as merely illustrative and not a limitation, and thus other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application.

Claims (10)

1. A test environment deployment method, comprising:
acquiring a deployment document of a system to be tested, and acquiring configuration information of the system to be tested according to the deployment document;
determining a target test environment according to the configuration information, and acquiring test information of the target test environment;
extracting the characteristics of the test information through a preset model to obtain characteristic information and a change rule;
and generating an automatic deployment script by utilizing an automatic deployment script generating tool according to the characteristic information and the change rule, and executing the automatic deployment script to complete the deployment of the target test environment.
2. The test environment deployment method of claim 1, wherein the determining a target test environment according to the configuration information comprises:
acquiring system configuration of a preset test environment;
and selecting a target system configuration matched with the configuration information from the system configuration, and taking the test environment corresponding to the target system configuration as the target test environment.
3. The test environment deployment method of claim 1, wherein the obtaining the test information of the target test environment comprises:
and acquiring environment configuration information, a database table structure and test data of the target test environment.
4. The method for deploying a test environment according to claim 3, wherein the feature extraction of the test information by a preset model to obtain feature information and a change rule comprises:
inputting the environment configuration information, the database table structure and the test data into the preset model;
and extracting the characteristic information keywords and the change rule keywords in the environment configuration information, the database table structure and the test data through the preset model to obtain the characteristic information and the change rule.
5. The method for deploying a test environment according to claim 4, wherein the preset model includes a discriminator and a classifier, the feature extraction is performed on the test information by the preset model to obtain feature information and the change rule, and the method includes:
determining whether the test information contains characteristic information keywords or change rule keywords through the discriminator;
dividing the test information containing the characteristic information keywords into first test information and dividing the test information containing the change rule keywords into second test information through the classifier;
extracting a characteristic information keyword from the first test information to obtain the characteristic information;
and extracting the change rule keywords of the second test information to obtain the change rule.
6. The test environment deployment method of claim 1, wherein the generating an automated deployment script using an automated deployment script generation tool according to the characteristic information and the change rule, and executing the automated deployment script to complete the deployment of the target test environment, comprises:
generating a corresponding deployment script and a configuration script according to the characteristic information and the change rule;
and calling the automatic deployment script generation tool, executing the deployment script and the configuration script, and completing the deployment of the target test environment.
7. The test environment deployment method of claim 1, wherein after the deployment of the target test environment is completed, comprising:
and carrying out automatic test on the system to be tested by using an automatic test tool to obtain a test result.
8. A test environment deployment apparatus, comprising:
the acquisition module is used for acquiring a deployment document of the system to be tested and acquiring configuration information of the system to be tested according to the deployment document;
the determining module is used for determining a target test environment according to the configuration information and obtaining the test information of the target test environment;
the extraction module is used for extracting the characteristics of the test information through a preset model to obtain characteristic information and a change rule;
and the deployment module is used for generating an automatic deployment script by utilizing an automatic deployment script generation tool according to the characteristic information and the change rule, and executing the automatic deployment script to complete the deployment of the target test environment.
9. A computer device, characterized in that it comprises a memory storing a computer program and at least one processor for executing the computer program to implement the test environment deployment method according to any of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed, implements the test environment deployment method according to any one of claims 1 to 7.
CN202311001929.1A 2023-08-09 2023-08-09 Test environment deployment method, device, equipment and storage medium Pending CN116991734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311001929.1A CN116991734A (en) 2023-08-09 2023-08-09 Test environment deployment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311001929.1A CN116991734A (en) 2023-08-09 2023-08-09 Test environment deployment method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116991734A true CN116991734A (en) 2023-11-03

Family

ID=88523105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311001929.1A Pending CN116991734A (en) 2023-08-09 2023-08-09 Test environment deployment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116991734A (en)

Similar Documents

Publication Publication Date Title
CN110209764B (en) Corpus annotation set generation method and device, electronic equipment and storage medium
CN106095866B (en) The optimization method and device of application program recommended method, program starting speed
CN107273269B (en) Log analysis method and device
EP3821359A1 (en) Open source vulnerability prediction with machine learning ensemble
US11651014B2 (en) Source code retrieval
CN111338692B (en) Vulnerability classification method and device based on vulnerability codes and electronic equipment
CN113450147B (en) Product matching method, device, equipment and storage medium based on decision tree
CN110796153A (en) Training sample processing method and device
CN115562656A (en) Page generation method and device, storage medium and computer equipment
CN110750297B (en) Python code reference information generation method based on program analysis and text analysis
CN112633341A (en) Interface testing method and device, computer equipment and storage medium
CN117056834A (en) Big data analysis method based on decision tree
CN110968664A (en) Document retrieval method, device, equipment and medium
CN111143191A (en) Website testing method and device, computer equipment and storage medium
CN111783812A (en) Method and device for identifying forbidden images and computer readable storage medium
Altinbas et al. GUI element detection from mobile UI images using YOLOv5
CN117407288B (en) Test case recommendation method based on FPGA (field programmable Gate array) test platform
CN117312148A (en) Automatic interface testing method and device, computer equipment and storage medium
CN116820996A (en) Automatic generation method and device for integrated test cases based on artificial intelligence
EP4131010A1 (en) Method and system for performing human machine interface (hmi) automation testing
CN116991734A (en) Test environment deployment method, device, equipment and storage medium
CN115168575A (en) Subject supplement method applied to audit field and related equipment
CN111522750B (en) Method and system for processing function test problem
CN115455407A (en) Machine learning-based GitHub sensitive information leakage monitoring method
CN112698883A (en) Configuration data processing method, device, terminal and storage medium

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