{"uuid": "01077b61-b4db-40f5-957d-720abc53988a", "children": ["8a5d31d0-9399-4ace-93f5-b73e5d49ba0c"], "befores": [{"name": "get_fmcg_invoice", "status": "failed", "statusDetails": {"message": "AssertionError: Handler: POST https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/create; \n Expected status code: 200; \n Actual status code: 500; \n Response body: <!doctype html><html lang=\"en\"><head><title>HTTP Status 500 – Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>; \n X-Aer-Trace-Id: \n", "trace": "  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 38, in run_old_style_hookwrapper\n    res = yield\n          ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 139, in _multicall\n    teardown.throw(exception)\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 53, in run_old_style_hookwrapper\n    return result.get_result()\n           ^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_result.py\", line 103, in get_result\n    raise exc.with_traceback(tb)\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 38, in run_old_style_hookwrapper\n    res = yield\n          ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 139, in _multicall\n    teardown.throw(exception)\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/setuponly.py\", line 36, in pytest_fixture_setup\n    return (yield)\n            ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 121, in _multicall\n    res = hook_impl.function(*args)\n          ^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/fixtures.py\", line 1202, in pytest_fixture_setup\n    result = call_fixture_func(fixturefunc, request, kwargs)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/fixtures.py\", line 915, in call_fixture_func\n    fixture_result = fixturefunc(**kwargs)\n                     ^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/fixtures/lk.py\", line 47, in get_fmcg_invoice\n    new_invoice = FMCGInvoiceBuilder(headers=get_fmcg_auth_header).create_invoice()\n                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/builders/lk/invoice.py\", line 44, in create_invoice\n    invoice = InvoiceApi(headers=self.headers).api_v1_invoice_create_post(body=request_body)\n              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api/invoice_api.py\", line 545, in api_v1_invoice_create_post\n    return self.api_v1_invoice_create_post_with_http_info(**kwargs)  # noqa: E501\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api/invoice_api.py\", line 612, in api_v1_invoice_create_post_with_http_info\n    return self.api_client.call_api(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api_client.py\", line 339, in call_api\n    return self.__call_api(resource_path, method,\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api_client.py\", line 172, in __call_api\n    assert response_data.status == expected_status_code, \\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"}, "steps": [{"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/categories", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "fd87a95e-9fdb-4e6f-b190-2e2426546099-attachment.json", "type": "application/json"}], "start": 1775636233597, "stop": 1775636233597}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "aff0b72a-f8d7-4068-a33e-f155a0f7c748-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "b8648639-a6c6-4d70-a2fe-7f4827af8222-attachment.json", "type": "application/json"}], "start": 1775636233597, "stop": 1775636233598}], "attachments": [{"name": "cURL", "source": "c3cecff3-1cf7-4060-8938-c7674739ca8d-attachment.txt", "type": "text/plain"}], "start": 1775636233597, "stop": 1775636233598}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/unit", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "680d8eb5-b2d3-426f-99bf-b4dea85b9a82-attachment.json", "type": "application/json"}], "start": 1775636233644, "stop": 1775636233644}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "1931aa9b-936a-4d66-a6e3-5755187de15e-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "7a54531b-2efb-4a03-b2ac-f0868690dde0-attachment.json", "type": "application/json"}], "start": 1775636233644, "stop": 1775636233644}], "attachments": [{"name": "cURL", "source": "0502f1cb-5e73-47bc-b2c8-fb42299cb5e5-attachment.txt", "type": "text/plain"}], "start": 1775636233644, "stop": 1775636233645}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/packingtype", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "e7c7563a-e51f-4aed-8552-76d1d236717d-attachment.json", "type": "application/json"}], "start": 1775636233695, "stop": 1775636233695}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "016acb6a-5b78-477c-a468-a6d903fbf5cb-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "caf36e59-8f66-45d3-b41f-fa2fe8ffe7e6-attachment.json", "type": "application/json"}], "start": 1775636233695, "stop": 1775636233695}], "attachments": [{"name": "cURL", "source": "b865f012-296a-4ea9-a43a-4bcf7ca313a5-attachment.txt", "type": "text/plain"}], "start": 1775636233695, "stop": 1775636233696}, {"name": "POST → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/sku", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "b3e16f4c-f3d7-49b9-98df-c4127d0074e2-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "adc836f3-048d-4305-802a-8648b8962df4-attachment.json", "type": "application/json"}], "start": 1775636233754, "stop": 1775636233755}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "a88b1d61-2de7-4679-a397-6c8fb3f7b55c-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "3be1107d-8cbf-4ab9-8013-63913604dc19-attachment.json", "type": "application/json"}], "start": 1775636233755, "stop": 1775636233755}], "attachments": [{"name": "cURL", "source": "9dc7168f-41ca-47bc-82d2-8090d1015df9-attachment.txt", "type": "text/plain"}], "start": 1775636233754, "stop": 1775636233755}, {"name": "PUT → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/cart/add-item", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "75e6b3ad-364d-414a-bb58-3191b7e74027-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "797cac01-deb8-416d-902a-4b596170ccf1-attachment.json", "type": "application/json"}], "start": 1775636233876, "stop": 1775636233876}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "b61f50ea-360d-4d18-a8c9-cc372bbdfe6b-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "7adb0836-cf90-44a3-819e-be571629615c-attachment.json", "type": "application/json"}], "start": 1775636233876, "stop": 1775636233876}], "attachments": [{"name": "cURL", "source": "3a08abac-54f0-4fcf-bec9-754d2899ad2e-attachment.txt", "type": "text/plain"}], "start": 1775636233876, "stop": 1775636233876}, {"name": "POST → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/create", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "1cfc6c3e-d6f7-4d80-a2b5-befbc06600eb-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "26f60489-975b-4288-ab44-f99fdc0ab3a1-attachment.json", "type": "application/json"}], "start": 1775636234230, "stop": 1775636234231}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "eddc43f6-ea07-4c3f-9e39-878ebdc45523-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "e1264be9-da38-4869-81f0-b6736d10fa4f-attachment.txt", "type": "text/plain"}], "start": 1775636234231, "stop": 1775636234231}], "attachments": [{"name": "cURL", "source": "5c5c2822-5222-48e5-89ef-f48119afea82-attachment.txt", "type": "text/plain"}], "start": 1775636234230, "stop": 1775636234231}], "start": 1775636233499, "stop": 1775636234231}], "start": 1775636233499, "stop": 1775636234533}