{"uid":"65e57f7e39a304c3","name":"Create subscription, check invoices, delete subscription","fullName":"KVS GraphQL subscription: Create subscription, check invoices, delete subscription","historyId":"7cccd63cf5a5a0c9e367594080cb5757","time":{"start":1777972857912,"stop":1777972857920,"duration":8},"status":"broken","statusMessage":"NameError: name 'raw' is not defined\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"KVSTest\\features\\steps\\place_steps.py\", line 20, in step_get_access_token\n token = admin_data.get_access_token_from_env()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\admin_data.py\", line 71, in get_access_token_from_env\n token = get_access_token(username=username, password=password, grant_type=grant_type)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\auth_as_employer.py\", line 44, in get_access_token\n data = json.loads(raw) if raw else {}\n ^^^\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"status":"broken","statusMessage":"NameError: name 'raw' is not defined\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"KVSTest\\features\\steps\\place_steps.py\", line 20, in step_get_access_token\n token = admin_data.get_access_token_from_env()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\admin_data.py\", line 71, in get_access_token_from_env\n token = get_access_token(username=username, password=password, grant_type=grant_type)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\auth_as_employer.py\", line 44, in get_access_token\n data = json.loads(raw) if raw else {}\n ^^^\n","steps":[{"name":"When get access token","time":{"start":1777972857913,"stop":1777972857917,"duration":4},"status":"broken","statusMessage":"NameError: name 'raw' is not defined\n","statusTrace":" File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\model.py\", line 1991, in run\n match.run(runner.context)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Степаан\\AppData\\Local\\Python\\pythoncore-3.14-64\\Lib\\site-packages\\behave\\matchers.py\", line 105, in run\n self.func(context, *args, **kwargs)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"KVSTest\\features\\steps\\place_steps.py\", line 20, in step_get_access_token\n token = admin_data.get_access_token_from_env()\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\admin_data.py\", line 71, in get_access_token_from_env\n token = get_access_token(username=username, password=password, grant_type=grant_type)\n File \"C:\\Users\\Степаан\\PycharmProjects\\work\\worklib\\auth_as_employer.py\", line 44, in get_access_token\n data = json.loads(raw) if raw else {}\n ^^^\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":true},{"name":"Then access token is valid","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When create service for kvs subscription","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And create plan for kvs subscription","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"And create subscription for kvs","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then subscription response is valid","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When query pending invoices for subscription place","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then invoices response is valid and references subscription","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"When delete created subscription","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false},{"name":"Then delete subscription response is successful","time":{"start":1777972857920,"stop":1777972857920,"duration":0},"status":"skipped","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":0,"hasContent":false}],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"attachmentsCount":0,"attachmentStep":false,"stepsCount":10,"hasContent":true},"afterStages":[],"labels":[{"name":"severity","value":"normal"},{"name":"feature","value":"KVS GraphQL subscription"},{"name":"framework","value":"behave"},{"name":"language","value":"cpython3"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"65e57f7e39a304c3.json","parameterValues":[]}