Regulatory references қР 27 шілде 2007 ж. «Білім туралы»


Testing and monitoring of remote servers



бет9/35
Дата10.03.2023
өлшемі131,3 Kb.
#73252
1   ...   5   6   7   8   9   10   11   12   ...   35
Байланысты:
Дуйсенбаева Дариға Орынқызы

1.5 Testing and monitoring of remote servers
A programming language was chosen to implement the framework Python. The choice is due to the fact that Python allows you to solve software problems of any complexity, while having a simple and convenient syntax. Due to the simplicity of the code, further maintenance of programs written in Python is greatly facilitated, which entails a reduction in costs and an increase in employee productivity from a business point of view [19]. The determining factor is that for the Python language
many third-party modules have been implemented to solve a wide range of tasks. In particular, a module for creating an unlimited number of parallel SSH connections.
PyCharm, an integrated development environment for the Python programming language based on IntelliJ software, was used as an IDE IDEA from JetBrains. It provides tools for code analysis, a graphical debugger, and support for version control systems.VPN service project except SDK and client applications for Android It also includes iOS apps. Given this fact, it seems logical to choose Appium because of its cross-platform nature, which would allow you to have and maintain only one test base instead of two. However, different teams of both developers and testers work on the Android and iOS directions , therefore, the implementation of tests is carried out by each team within its area of responsibility. The choice was made in favor of the Java programming language and the use of a combination of tools from Google: Espresso,
Android J Unit Runner and UI Automator. The Espresso requirement of having access to the source code did not become a problem, since the implementation of tests was performed in the main repository of the application, which will allow in the future introducing testing into the continuous integration process without additional effort.
UI Automat or makes it possible to interact with such system functions as, for example, Internet settings and VPN connections. Android Studio, an integrated
development environment for working with the Android platform based on IntelliJ software, was used as an IDE IDEA from Jet Brains. 3.2 Implementation of a framework for testing and monitoring remote servers Testing using a programming language implemented The Python framework goes as follows: 1. Tests are run once a day according to a schedule configured in the Circle CI continuous integration system, which uploads and builds a solution from the repository in GitHub.
2. The test parameters are entered via the command line: a list of servers, a set of tests, a method for exporting data. 3. According to the parameterization, the corresponding tests are run in parallel on the specified servers. 4. The test results are processed according to the selected data export method and sent to the Prometheus data collection system. 5. Test results are imported from Prometheus into the Granma monitoring system, where they are processed and displayed in the form of customizable tables, graphs and diagrams. The framework is designed so that in the future there the ability to add new tests, implementing only the logic the test itself, without affecting the auxiliary part of the code responsible for: processing of test results, the integration of Prometheus, create connections to servers that satisfies one of the requirements for the formulation presented in section




Достарыңызбен бөлісу:
1   ...   5   6   7   8   9   10   11   12   ...   35




©emirsaba.org 2024
әкімшілігінің қараңыз

    Басты бет