{"id":452410,"date":"2025-03-20T03:00:08","date_gmt":"2025-03-20T03:00:08","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=452410"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=452410","title":{"rendered":"<span>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f QA \u0431\u0435\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f: \u041a\u0430\u043a \u044f \u043d\u0430\u0447\u0430\u043b \u0441\u0442\u0440\u043e\u0438\u0442\u044c No-Code \u0442\u0443\u043b\u0437\u0443 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0438<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0414\u0440\u0430\u0442\u0443\u0442\u0438!<\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u044f \u0432\u00a0\u043e\u0434\u043d\u043e\u0439 \u0444\u0438\u043d\u0442\u0435\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 TL QA, \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441\u00a0\u0442\u0435\u043c, \u0447\u0442\u043e\u00a0\u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043c\u043e\u0438\u0445 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043f\u043e\u00a0\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u00a0\u0434\u043e\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u0434\u043e\u00a0\u043d\u0443\u0436\u043d\u043e\u0433\u043e, \u0430\u00a0\u0440\u0443\u0442\u0438\u043d\u0443 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c\u00a0\u0431\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0412\u00a0\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f Python (\u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0435 \u043b\u0435\u0433\u043a\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u043e), \u043d\u043e \u0432\u0441\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043e\u0431\u0443\u0447\u0438\u0442\u044c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b \u0447\u0435\u0440\u0435\u0437 \u0447\u0435\u0442\u043a\u0438\u0439 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0442\u0435\u043c, \u0447\u0442\u043e\u00a0\u0443\u00a0\u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430 \u00ab\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u043b\u043e\u00bb \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430\u00a0\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0438 \u043f\u043e\u0434\u043d\u044f\u0442\u0438\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0433\u0440\u0435\u0439\u0434\u0430 \u043a\u0430\u043a\u00a0\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0430. <\/p>\n<p>\u0412 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u0438\u0434\u0435\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 <strong>\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/strong>. \u0414\u0435\u043b\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u043d\u0430 \u043f\u043e\u0434\u043e\u0431\u0438\u0438 <em>Cucumber<\/em> \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c, \u0434\u0430 \u0438 \u0441\u0430\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0432 \u043c\u043e\u0438\u0445 \u0444\u0430\u043d\u0442\u0430\u0437\u0438\u044f\u0445 \u043d\u0435 \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430. <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u043c\u0443. <\/p>\n<h2>\u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/h2>\n<p>\u0412 \u043c\u043e\u0435\u0439 \u0433\u043e\u043b\u043e\u0432\u0435 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0439 <em>yaml<\/em> \u043a\u043e\u043d\u0444\u0438\u0433 \u0438 \u044f \u043d\u0430\u0447\u0430\u043b \u0434\u0443\u043c\u0430\u0442\u044c \u0443\u0436\u0435 \u043d\u0430\u0434 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 &#171;\u0434\u0432\u0438\u0436\u043a\u0430&#187; \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430. <\/p>\n<pre><code class=\"yaml\">tests:   - type: \"rest_api\"     name: \"Test Payment API\"     request:       url: \"https:\/\/api.payment.ru\/payment\"       method: \"GET\"     assertions:       - status_code: 200<\/code><\/pre>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0442\u0435\u043a \u0431\u044b\u043b Python, \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u042f\u041f \u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0431\u044b\u043b\u043e. \u0421\u0442\u0435\u043a \u0432\u044b\u0431\u0440\u0430\u043b \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 Python, Flask. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/2f5\/006\/0a2\/2f50060a2c0c51aef2a7e1bc5364bd7f.png\" alt=\"\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\" title=\"\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\" width=\"544\" height=\"762\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2f5\/006\/0a2\/2f50060a2c0c51aef2a7e1bc5364bd7f.png\"\/><\/p>\n<div><figcaption>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 <strong><em>app.py <\/em><\/strong>\u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043d\u0435\u0442. <\/p>\n<pre><code class=\"python\"># app.py from flask import Flask, render_template, request, jsonify from runner import running_test_config import uuid import os  app = Flask(__name__) UPLOAD_FOLDER = 'uploads' os.makedirs(UPLOAD_FOLDER, exist_ok=True)   @app.route('\/') def index():     return render_template('index.html')   @app.route('\/run-tests', methods=['POST']) def run_tests():     if 'config' not in request.files:         return jsonify({'error': 'No file uploaded'}), 400      file = request.files['config']     config_path = os.path.join(UPLOAD_FOLDER, f\"{uuid.uuid4()}.yaml\")     file.save(config_path)      try:         results = running_test_config(config_path)         return jsonify(results)     except Exception as e:         return jsonify({'error': str(e)}), 400   if __name__ == '__main__':     app.run(debug=True)<\/code><\/pre>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e <strong><em>runner.py <\/em><\/strong>\u0438 \u0435\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438. <\/p>\n<p>\u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0435\u0433\u043e \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0447\u0435\u043c-\u0442\u043e \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 <code>Cucumber<\/code><em> <\/em>\u0438 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0436\u0435\u0441\u0442\u043a\u0443\u044e \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0443 \u043a \u0444\u0430\u0439\u043b\u0443 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u0440\u0438\u0432\u043e \u0432\u044b\u0440\u0430\u0437\u0438\u043b\u0441\u044f, \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u043a\u0430\u0436\u0443)<\/p>\n<pre><code class=\"python\">import yaml import requests  def run_api_test(test_config):   response = requests.request(         test_config['request']['method'],         test_config['request']['url']     )     results = []     for assertion in test_config['assertions']:         if 'status_code' in assertion:             results.append({                 'passed': response.status_code == assertion['status_code'],                 'message': f\"Expected status {assertion['status_code']}, got {response.status_code}\"             })     return results     def running_test_config(config_path):     with open(config_path, 'r') as f:         config = yaml.safe_load(f)      results = []     for test in config.get('tests'):         if test.get('type') == 'rest_api':             results.extend(run_api_test(test))     return {'tests': results}<\/code><\/pre>\n<p>\u0412 \u043c\u0435\u0442\u043e\u0434\u0435 <code>run_api_test<\/code><em> <\/em>\u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0446\u0438\u043a\u043b <code>for<\/code><em>, <\/em>\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u0441\u0435 \u0437\u0430\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0431\u044b\u0442\u044c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0438\u043b\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0431\u043b\u043e\u043a\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0435\u0441\u0442\u044c, \u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 \u043d\u0435\u0442. \u0420\u0435\u0447\u044c \u043f\u0440\u043e \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"python\"> if 'status_code' in assertion:             results.append({                 'passed': response.status_code == assertion['status_code'],                 'message': f\"Expected status {assertion['status_code']}, got {response.status_code}\"             })<\/code><\/pre>\n<p>\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u043d\u0435 \u043b\u0430\u0437\u0438\u0442\u044c \u0432 &#171;\u0434\u0432\u0438\u0436\u043e\u043a&#187; \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043f\u0440\u0438 \u043a\u0430\u043a\u0438\u0445 \u043b\u0438\u0431\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a. <\/p>\n<h2>\u0412\u0442\u043e\u0440\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/h2>\n<p>\u041e\u043f\u044f\u0442\u044c \u0436\u0435 \u043d\u0430\u0447\u043d\u0443 \u0441 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <code>yaml<\/code> \u043a\u043e\u043d\u0444\u0438\u0433\u0430 &#8212; \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u0437\u044f\u043b \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 <a href=\"https:\/\/petstore.swagger.io\/\" rel=\"noopener noreferrer nofollow\">swagger<\/a>.<\/p>\n<pre><code class=\"yaml\">tests:   - type: \"rest_api\"     name: \"store\/inventory\"     request:       url: \"https:\/\/petstore.swagger.io\/v2\/store\/inventory\"       method: \"GET\"     assertions:       - status_code:           expected_result: 200           actual_result: \"{{status}}\"       - body:           expected_result: 16           actual_result: \"{{body.sold}}\"<\/code><\/pre>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435, \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c, \u044d\u0442\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 <code>actual_result: \"{{status}}\"<\/code>, \u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u043e\u0442\u0432\u0435\u0442\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430. <\/p>\n<p><code>app.py<\/code> \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439, \u0430 \u0432\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 <code>run_api_test<\/code> \u0438\u0437 <code>runner.py <\/code>\u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043a\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0441\u0432\u043e\u0435\u0439 \u0446\u0435\u043b\u0438 (\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445 \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0433\u043b\u0430\u0434\u043a\u043e \u0438 \u044f \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043b). \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u043a\u043e\u0434, \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u044b. ))<\/p>\n<pre><code class=\"python\">def run_api_test(test_config):   # \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u043e \u0434\u0430\u043d\u043d\u044b\u043c \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430     response = requests.request(         test_config['request']['method'],         test_config['request']['url']     )     results = []      # \u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u044b (\u0441\u0442\u0430\u0442\u0443\u0441 \u043a\u043e\u0434 \u0438 \u0442\u0435\u043b\u043e \u043e\u0442\u0432\u0435\u0442\u0430())     context = {         'status': response.status_code,         'body': response.json()     }      def change_values(data):       \"\"\"\u0420\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 yaml \u0432\u0438\u0434\u0430 '{{status}}' \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430.\"\"\"         if isinstance(data, dict):           # \u0420\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e \u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b (\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u0438\u0434\u0430 '{{status}}')             return {k: change_values(v) for k, v in data.items()}         if isinstance(data, str) and data.startswith('{{') and data.endswith('}}'):           # \u0418\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u043f\u0443\u0442\u0438 \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430             path = data[2:-2].strip().split('.')             value = context             try:                # \u0418\u0449\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u043a\u043b\u044e\u0447\u0435\u0439\/\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439                 for p in path:                     value = value[p] if isinstance(value, dict) else value[int(p)]                 return value             except (KeyError, IndexError, TypeError):                 return None         # \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0448\u0430\u0431\u043b\u043e\u043d         return data      # \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430     for assertion in test_config['assertions']:       # \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043f\u0438\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043c\u0435\u043d\u044f\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433         assertion_copy = deepcopy(assertion)       # \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0442\u0438\u043f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 (\u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043b\u044e\u0447 \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435)         assertion_type = list(assertion.keys())[0]         assertion_data = assertion_copy[assertion_type]       # \u0417\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f         resolved_data = change_values(assertion_data)       # \u0424\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438         result = {                 'endpoint': test_config['name'],                 'type': assertion_type,                 'expected': resolved_data['expected_result'],                 'actual': resolved_data['actual_result'],                 'passed': resolved_data['actual_result'] == resolved_data['expected_result']         }          results.append(result)      return results<\/code><\/pre>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u043f\u0440\u043e\u0431\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b. \u0414\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e  <code>python3 app.py<\/code><\/p>\n<p>\u0427\u0443\u0442\u044c \u043d\u0430 \u0437\u0430\u0431\u044b\u043b. \u0423 \u043d\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u0438 <code>index.html<\/code><\/p>\n<pre><code class=\"xml\">&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt;     &lt;title&gt;Run and Result&lt;\/title&gt;     &lt;style&gt;         .container { max-width: 800px; margin: 0 auto; }         .test-table {             width: 100%;             border-collapse: collapse;             margin: 20px 0;             font-family: Arial, sans-serif;         }          .test-table th {             background-color: #f5f5f5;             padding: 12px;             text-align: left;             border-bottom: 2px solid #ddd;         }          .test-table td {             padding: 10px;             border-bottom: 1px solid #eee;         }          .test-pass {             background-color: #e8f5e9;             color: #2e7d32;         }          .test-fail {             background-color: #ffebee;             color: #c62828;         }     &lt;\/style&gt; &lt;\/head&gt; &lt;body&gt;     &lt;div class=\"container\" align=\"center\"&gt;         &lt;h1&gt;Run and Result&lt;\/h1&gt;         &lt;input type=\"file\" id=\"configFile\" accept=\".yaml\"&gt;         &lt;button onclick=\"runTests()\"&gt;Run Tests&lt;\/button&gt;         &lt;div id=\"results\"&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;script&gt;         async function runTests() {             const file = document.getElementById('configFile').files[0];             if (!file) return;              const formData = new FormData();             formData.append('config', file);              try {                 const response = await fetch('\/run-tests', {                     method: 'POST',                     body: formData                 });                 const data = await response.json();                 displayResults(data.tests);             } catch (error) {                 console.error(error);             }         }          function displayResults(tests) {     const resultsDiv = document.getElementById('results');     resultsDiv.innerHTML = `         &lt;table class=\"test-table\"&gt;             &lt;thead&gt;                 &lt;tr&gt;                     &lt;th&gt;Endpoint&lt;\/th&gt;                     &lt;th&gt;Test Name&lt;\/th&gt;                     &lt;th&gt;Actual Result&lt;\/th&gt;                     &lt;th&gt;Expected Result&lt;\/th&gt;                     &lt;th&gt;Result&lt;\/th&gt;                 &lt;\/tr&gt;             &lt;\/thead&gt;             &lt;tbody&gt;                 ${tests.map(test =&gt; `                     &lt;tr class=\"${test.passed ? 'test-pass' : 'test-fail'}\"&gt;                         &lt;td&gt;${test.endpoint}&lt;\/td&gt;                         &lt;td&gt;${test.type}&lt;\/td&gt;                         &lt;td&gt;${test.actual ?? 'N\/A'}&lt;\/td&gt;                         &lt;td&gt;${test.expected ?? 'N\/A'}&lt;\/td&gt;                         &lt;td&gt;${test.passed ? '\u2713 Passed' : '\u2717 Failed'}&lt;\/td&gt;                     &lt;\/tr&gt;                 `).join('')}             &lt;\/tbody&gt;         &lt;\/table&gt;     `; }     &lt;\/script&gt; &lt;\/body&gt; &lt;\/html&gt;<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u0432\u043e\u0442 \u0442\u0430\u043a<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e3e\/4ce\/da2\/e3e4ceda28f0b53d52def7f0e21abe86.png\" alt=\"\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\" title=\"\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\" width=\"2760\" height=\"1504\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e3e\/4ce\/da2\/e3e4ceda28f0b53d52def7f0e21abe86.png\"\/><\/p>\n<div><figcaption>\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0430\u0448 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 <code>yaml<\/code> \u0444\u0430\u0439\u043b \u0438 \u043d\u0430\u0436\u0430\u0442\u044c <code>Run Tests<\/code><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7d6\/28c\/b80\/7d628cb80506882d28bbf1820882376d.png\" alt=\"\u0412\u044b\u0431\u043e\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438\" title=\"\u0412\u044b\u0431\u043e\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438\" width=\"1590\" height=\"872\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7d6\/28c\/b80\/7d628cb80506882d28bbf1820882376d.png\"\/><\/p>\n<div><figcaption>\u0412\u044b\u0431\u043e\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a3d\/e7b\/e70\/a3de7be7096b6014e3f403193fffeff4.png\" alt=\"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432\" title=\"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432\" width=\"2758\" height=\"1508\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a3d\/e7b\/e70\/a3de7be7096b6014e3f403193fffeff4.png\"\/><\/p>\n<div><figcaption>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0445 \u043f\u043b\u0430\u043d\u0430\u0445 <br \/>1. \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 UI \u0442\u0435\u0441\u0442\u043e\u0432, GraphQL \u0442\u0435\u0441\u0442\u043e\u0432<br \/>2. \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e allure report \u0438\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433<br \/>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043f\u043e\u043a\u043e\u043d\u0442\u0440\u0438\u0431\u044c\u044e\u0442\u0438\u0442\u044c \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e &#8212; \u0432\u0435\u043b\u043a\u043e\u043c \u0432 <a href=\"https:\/\/github.com\/93rus\/no-code-testing-tools\" rel=\"noopener noreferrer nofollow\">\u0440\u0435\u043f\u043a\u0443<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/892530\/\"> https:\/\/habr.com\/ru\/articles\/892530\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0414\u0440\u0430\u0442\u0443\u0442\u0438!<\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u044f \u0432\u00a0\u043e\u0434\u043d\u043e\u0439 \u0444\u0438\u043d\u0442\u0435\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 TL QA, \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441\u00a0\u0442\u0435\u043c, \u0447\u0442\u043e\u00a0\u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043c\u043e\u0438\u0445 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043f\u043e\u00a0\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u00a0\u0434\u043e\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u0434\u043e\u00a0\u043d\u0443\u0436\u043d\u043e\u0433\u043e, \u0430\u00a0\u0440\u0443\u0442\u0438\u043d\u0443 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c\u00a0\u0431\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0412\u00a0\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f Python (\u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0435 \u043b\u0435\u0433\u043a\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u043e), \u043d\u043e \u0432\u0441\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043e\u0431\u0443\u0447\u0438\u0442\u044c \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b \u0447\u0435\u0440\u0435\u0437 \u0447\u0435\u0442\u043a\u0438\u0439 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0442\u0435\u043c, \u0447\u0442\u043e\u00a0\u0443\u00a0\u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430 \u00ab\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u043b\u043e\u00bb \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430\u00a0\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0438 \u043f\u043e\u0434\u043d\u044f\u0442\u0438\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0433\u0440\u0435\u0439\u0434\u0430 \u043a\u0430\u043a\u00a0\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0430. <\/p>\n<p>\u0412 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0430 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u0438\u0434\u0435\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 <strong>\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/strong>. \u0414\u0435\u043b\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u043d\u0430 \u043f\u043e\u0434\u043e\u0431\u0438\u0438 <em>Cucumber<\/em> \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c, \u0434\u0430 \u0438 \u0441\u0430\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0432 \u043c\u043e\u0438\u0445 \u0444\u0430\u043d\u0442\u0430\u0437\u0438\u044f\u0445 \u043d\u0435 \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430. <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u043c\u0443. <\/p>\n<h2>\u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/h2>\n<p>\u0412 \u043c\u043e\u0435\u0439 \u0433\u043e\u043b\u043e\u0432\u0435 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0439 <em>yaml<\/em> \u043a\u043e\u043d\u0444\u0438\u0433 \u0438 \u044f \u043d\u0430\u0447\u0430\u043b \u0434\u0443\u043c\u0430\u0442\u044c \u0443\u0436\u0435 \u043d\u0430\u0434 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 &#171;\u0434\u0432\u0438\u0436\u043a\u0430&#187; \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430. <\/p>\n<pre><code class=\"yaml\">tests:   - type: \"rest_api\"     name: \"Test Payment API\"     request:       url: \"https:\/\/api.payment.ru\/payment\"       method: \"GET\"     assertions:       - status_code: 200<\/code><\/pre>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0442\u0435\u043a \u0431\u044b\u043b Python, \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u042f\u041f \u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u0431\u044b\u043b\u043e. \u0421\u0442\u0435\u043a \u0432\u044b\u0431\u0440\u0430\u043b \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 Python, Flask. <\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 <strong><em>app.py <\/em><\/strong>\u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043d\u0435\u0442. <\/p>\n<pre><code class=\"python\"># app.py from flask import Flask, render_template, request, jsonify from runner import running_test_config import uuid import os  app = Flask(__name__) UPLOAD_FOLDER = 'uploads' os.makedirs(UPLOAD_FOLDER, exist_ok=True)   @app.route('\/') def index():     return render_template('index.html')   @app.route('\/run-tests', methods=['POST']) def run_tests():     if 'config' not in request.files:         return jsonify({'error': 'No file uploaded'}), 400      file = request.files['config']     config_path = os.path.join(UPLOAD_FOLDER, f\"{uuid.uuid4()}.yaml\")     file.save(config_path)      try:         results = running_test_config(config_path)         return jsonify(results)     except Exception as e:         return jsonify({'error': str(e)}), 400   if __name__ == '__main__':     app.run(debug=True)<\/code><\/pre>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e <strong><em>runner.py <\/em><\/strong>\u0438 \u0435\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438. <\/p>\n<p>\u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0435\u0433\u043e \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0447\u0435\u043c-\u0442\u043e \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 <code>Cucumber<\/code><em> <\/em>\u0438 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0436\u0435\u0441\u0442\u043a\u0443\u044e \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0443 \u043a \u0444\u0430\u0439\u043b\u0443 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u0440\u0438\u0432\u043e \u0432\u044b\u0440\u0430\u0437\u0438\u043b\u0441\u044f, \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u043a\u0430\u0436\u0443)<\/p>\n<pre><code class=\"python\">import yaml import requests  def run_api_test(test_config):   response = requests.request(         test_config['request']['method'],         test_config['request']['url']     )     results = []     for assertion in test_config['assertions']:         if 'status_code' in assertion:             results.append({                 'passed': response.status_code == assertion['status_code'],                 'message': f\"Expected status {assertion['status_code']}, got {response.status_code}\"             })     return results     def running_test_config(config_path):     with open(config_path, 'r') as f:         config = yaml.safe_load(f)      results = []     for test in config.get('tests'):         if test.get('type') == 'rest_api':             results.extend(run_api_test(test))     return {'tests': results}<\/code><\/pre>\n<p>\u0412 \u043c\u0435\u0442\u043e\u0434\u0435 <code>run_api_test<\/code><em> <\/em>\u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0446\u0438\u043a\u043b <code>for<\/code><em>, <\/em>\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u0441\u0435 \u0437\u0430\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u0438 \u043d\u0435 \u0431\u044b\u0442\u044c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0438\u043b\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0431\u043b\u043e\u043a\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0435\u0441\u0442\u044c, \u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 \u043d\u0435\u0442. \u0420\u0435\u0447\u044c \u043f\u0440\u043e \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"python\"> if 'status_code' in assertion:             results.append({                 'passed': response.status_code == assertion['status_code'],                 'message': f\"Expected status {assertion['status_code']}, got {response.status_code}\"             })<\/code><\/pre>\n<p>\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u043d\u0435 \u043b\u0430\u0437\u0438\u0442\u044c \u0432 &#171;\u0434\u0432\u0438\u0436\u043e\u043a&#187; \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043f\u0440\u0438 \u043a\u0430\u043a\u0438\u0445 \u043b\u0438\u0431\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a. <\/p>\n<h2>\u0412\u0442\u043e\u0440\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/h2>\n<p>\u041e\u043f\u044f\u0442\u044c \u0436\u0435 \u043d\u0430\u0447\u043d\u0443 \u0441 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <code>yaml<\/code> \u043a\u043e\u043d\u0444\u0438\u0433\u0430 &#8212; \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u0437\u044f\u043b \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 <a href=\"https:\/\/petstore.swagger.io\/\" rel=\"noopener noreferrer nofollow\">swagger<\/a>.<\/p>\n<pre><code class=\"yaml\">tests:   - type: \"rest_api\"     name: \"store\/inventory\"     request:       url: \"https:\/\/petstore.swagger.io\/v2\/store\/inventory\"       method: \"GET\"     assertions:       - status_code:           expected_result: 200           actual_result: \"{{status}}\"       - body:           expected_result: 16           actual_result: \"{{body.sold}}\"<\/code><\/pre>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435, \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c, \u044d\u0442\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 <code>actual_result: \"{{status}}\"<\/code>, \u043a\u0443\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u043e\u0442\u0432\u0435\u0442\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430. <\/p>\n<p><code>app.py<\/code> \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439, \u0430 \u0432\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 <code>run_api_test<\/code> \u0438\u0437 <code>runner.py <\/code>\u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043a\u0440\u043e\u0438\u0442\u044c \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0441\u0432\u043e\u0435\u0439 \u0446\u0435\u043b\u0438 (\u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445 \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0433\u043b\u0430\u0434\u043a\u043e \u0438 \u044f \u0432\u0441\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043b). \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u043a\u043e\u0434, \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u044b. ))<\/p>\n<pre><code class=\"python\">def run_api_test(test_config):   # \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u043e \u0434\u0430\u043d\u043d\u044b\u043c \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430     response = requests.request(         test_config['request']['method'],         test_config['request']['url']     )     results = []      # \u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u044b (\u0441\u0442\u0430\u0442\u0443\u0441 \u043a\u043e\u0434 \u0438 \u0442\u0435\u043b\u043e \u043e\u0442\u0432\u0435\u0442\u0430())     context = {         'status': response.status_code,         'body': response.json()     }      def change_values(data):       \"\"\"\u0420\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 yaml \u0432\u0438\u0434\u0430 '{{status}}' \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430.\"\"\"         if isinstance(data, dict):           # \u0420\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e \u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b (\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432\u0438\u0434\u0430 '{{status}}')             return {k: change_values(v) for k, v in data.items()}         if isinstance(data, str) and data.startswith('{{') and data.endswith('}}'):           # \u0418\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u043f\u0443\u0442\u0438 \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430             path = data[2:-2].strip().split('.')             value = context             try:                # \u0418\u0449\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0446\u0435\u043f\u043e\u0447\u043a\u0435 \u043a\u043b\u044e\u0447\u0435\u0439\/\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439                 for p in path:                     value = value[p] if isinstance(value, dict) else value[int(p)]                 return value             except (KeyError, IndexError, TypeError):                 return None         # \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0448\u0430\u0431\u043b\u043e\u043d         return data      # \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430     for assertion in test_config['assertions']:       # \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043f\u0438\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043c\u0435\u043d\u044f\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433         assertion_copy = deepcopy(assertion)       # \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0442\u0438\u043f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 (\u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043b\u044e\u0447 \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435)         assertion_type = list(assertion.keys())[0]         assertion_data = assertion_copy[assertion_type]       # \u0417\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f         resolved_data = change_values(assertion_data)       # \u0424\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438         result = {                 'endpoint': test_config['name'],                 'type': assertion_type,                 'expected': resolved_data['expected_result'],                 'actual': resolved_data['actual_result'],                 'passed': resolved_data['actual_result'] == resolved_data['expected_result']         }          results.append(result)      return results<\/code><\/pre>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u043f\u0440\u043e\u0431\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b. \u0414\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e  <code>python3 app.py<\/code><\/p>\n<p>\u0427\u0443\u0442\u044c \u043d\u0430 \u0437\u0430\u0431\u044b\u043b. \u0423 \u043d\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u0438 <code>index.html<\/code><\/p>\n<pre><code class=\"xml\">&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt;     &lt;title&gt;Run and Result&lt;\/title&gt;     &lt;style&gt;         .container { max-width: 800px; margin: 0 auto; }         .test-table {             width: 100%;             border-collapse: collapse;             margin: 20px 0;             font-family: Arial, sans-serif;         }          .test-table th {             background-color: #f5f5f5;             padding: 12px;             text-align: left;             border-bottom: 2px solid #ddd;         }          .test-table td {             padding: 10px;             border-bottom: 1px solid #eee;         }          .test-pass {             background-color: #e8f5e9;             color: #2e7d32;         }          .test-fail {             background-color: #ffebee;             color: #c62828;         }     &lt;\/style&gt; &lt;\/head&gt; &lt;body&gt;     &lt;div class=\"container\" align=\"center\"&gt;         &lt;h1&gt;Run and Result&lt;\/h1&gt;         &lt;input type=\"file\" id=\"configFile\" accept=\".yaml\"&gt;         &lt;button onclick=\"runTests()\"&gt;Run Tests&lt;\/button&gt;         &lt;div id=\"results\"&gt;&lt;\/div&gt;     &lt;\/div&gt;     &lt;script&gt;         async function runTests() {             const file = document.getElementById('configFile').files[0];             if (!file) return;              const formData = new FormData();             formData.append('config', file);              try {                 const response = await fetch('\/run-tests', {                     method: 'POST',                     body: formData                 });                 const data = await response.json();                 displayResults(data.tests);             } catch (error) {                 console.error(error);             }         }          function displayResults(tests) {     const resultsDiv = document.getElementById('results');     resultsDiv.innerHTML = `         &lt;table class=\"test-table\"&gt;             &lt;thead&gt;                 &lt;tr&gt;                     &lt;th&gt;Endpoint&lt;\/th&gt;                     &lt;th&gt;Test Name&lt;\/th&gt;                     &lt;th&gt;Actual Result&lt;\/th&gt;                     &lt;th&gt;Expected Result&lt;\/th&gt;                     &lt;th&gt;Result&lt;\/th&gt;                 &lt;\/tr&gt;             &lt;\/thead&gt;             &lt;tbody&gt;                 ${tests.map(test =&gt; `                     &lt;tr class=\"${test.passed ? 'test-pass' : 'test-fail'}\"&gt;                         &lt;td&gt;${test.endpoint}&lt;\/td&gt;                         &lt;td&gt;${test.type}&lt;\/td&gt;                         &lt;td&gt;${test.actual ?? 'N\/A'}&lt;\/td&gt;                         &lt;td&gt;${test.expected ?? 'N\/A'}&lt;\/td&gt;                         &lt;td&gt;${test.passed ? '\u2713 Passed' : '\u2717 Failed'}&lt;\/td&gt;                     &lt;\/tr&gt;                 `).join('')}             &lt;\/tbody&gt;         &lt;\/table&gt;     `; }     &lt;\/script&gt; &lt;\/body&gt; &lt;\/html&gt;<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u0432\u043e\u0442 \u0442\u0430\u043a<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0430\u0448 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 <code>yaml<\/code> \u0444\u0430\u0439\u043b \u0438 \u043d\u0430\u0436\u0430\u0442\u044c <code>Run Tests<\/code><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0412\u044b\u0431\u043e\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<p>\u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0445 \u043f\u043b\u0430\u043d\u0430\u0445 <br \/>1. \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 UI \u0442\u0435\u0441\u0442\u043e\u0432, GraphQL \u0442\u0435\u0441\u0442\u043e\u0432<br \/>2. \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e allure report \u0438\u043b\u0438<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-452410","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/452410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=452410"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/452410\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=452410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=452410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=452410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}