<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title id="head-title">b.html</title> <style type="text/css">body { font-family: Helvetica, Arial, sans-serif; font-size: 12px; /* do not increase min-width as some may use split screens */ min-width: 800px; color: #999; } h1 { font-size: 24px; color: black; } h2 { font-size: 16px; color: black; } p { color: black; } a { color: #999; } table { border-collapse: collapse; } /****************************** * SUMMARY INFORMATION ******************************/ #environment td { padding: 5px; border: 1px solid #e6e6e6; vertical-align: top; } #environment tr:nth-child(odd) { background-color: #f6f6f6; } #environment ul { margin: 0; padding: 0 20px; } /****************************** * TEST RESULT COLORS ******************************/ span.passed, .passed .col-result { color: green; } span.skipped, span.xfailed, span.rerun, .skipped .col-result, .xfailed .col-result, .rerun .col-result { color: orange; } span.error, span.failed, span.xpassed, .error .col-result, .failed .col-result, .xpassed .col-result { color: red; } .col-links__extra { margin-right: 3px; } /****************************** * RESULTS TABLE * * 1. Table Layout * 2. Extra * 3. Sorting items * ******************************/ /*------------------ * 1. Table Layout *------------------*/ #results-table { border: 1px solid #e6e6e6; color: #999; font-size: 12px; width: 100%; } #results-table th, #results-table td { padding: 5px; border: 1px solid #e6e6e6; text-align: left; } #results-table th { font-weight: bold; } /*------------------ * 2. Extra *------------------*/ .logwrapper { max-height: 230px; overflow-y: scroll; background-color: #e6e6e6; } .logwrapper.expanded { max-height: none; } .logwrapper.expanded .logexpander:after { content: "collapse [-]"; } .logwrapper .logexpander { z-index: 1; position: sticky; top: 10px; width: max-content; border: 1px solid; border-radius: 3px; padding: 5px 7px; margin: 10px 0 10px calc(100% - 80px); cursor: pointer; background-color: #e6e6e6; } .logwrapper .logexpander:after { content: "expand [+]"; } .logwrapper .logexpander:hover { color: #000; border-color: #000; } .logwrapper .log { min-height: 40px; position: relative; top: -50px; height: calc(100% + 50px); border: 1px solid #e6e6e6; color: black; display: block; font-family: "Courier New", Courier, monospace; padding: 5px; padding-right: 80px; white-space: pre-wrap; } div.media { border: 1px solid #e6e6e6; float: right; height: 240px; margin: 0 5px; overflow: hidden; width: 320px; } .media-container { display: grid; grid-template-columns: 25px auto 25px; align-items: center; flex: 1 1; overflow: hidden; height: 200px; } .media-container--fullscreen { grid-template-columns: 0px auto 0px; } .media-container__nav--right, .media-container__nav--left { text-align: center; cursor: pointer; } .media-container__viewport { cursor: pointer; text-align: center; height: inherit; } .media-container__viewport img, .media-container__viewport video { object-fit: cover; width: 100%; max-height: 100%; } .media__name, .media__counter { display: flex; flex-direction: row; justify-content: space-around; flex: 0 0 25px; align-items: center; } .collapsible td:not(.col-links) { cursor: pointer; } .collapsible td:not(.col-links):hover::after { color: #bbb; font-style: italic; cursor: pointer; } .col-result { width: 130px; } .col-result:hover::after { content: " (hide details)"; } .col-result.collapsed:hover::after { content: " (show details)"; } #environment-header h2:hover::after { content: " (hide details)"; color: #bbb; font-style: italic; cursor: pointer; font-size: 12px; } #environment-header.collapsed h2:hover::after { content: " (show details)"; color: #bbb; font-style: italic; cursor: pointer; font-size: 12px; } /*------------------ * 3. Sorting items *------------------*/ .sortable { cursor: pointer; } .sortable.desc:after { content: " "; position: relative; left: 5px; bottom: -12.5px; border: 10px solid #4caf50; border-bottom: 0; border-left-color: transparent; border-right-color: transparent; } .sortable.asc:after { content: " "; position: relative; left: 5px; bottom: 12.5px; border: 10px solid #4caf50; border-top: 0; border-left-color: transparent; border-right-color: transparent; } .hidden, .summary__reload__button.hidden { display: none; } .summary__data { flex: 0 0 550px; } .summary__reload { flex: 1 1; display: flex; justify-content: center; } .summary__reload__button { flex: 0 0 300px; display: flex; color: white; font-weight: bold; background-color: #4caf50; text-align: center; justify-content: center; align-items: center; border-radius: 3px; cursor: pointer; } .summary__reload__button:hover { background-color: #46a049; } .summary__spacer { flex: 0 0 550px; } .controls { display: flex; justify-content: space-between; } .filters, .collapse { display: flex; align-items: center; } .filters button, .collapse button { color: #999; border: none; background: none; cursor: pointer; text-decoration: underline; } .filters button:hover, .collapse button:hover { color: #ccc; } .filter__label { margin-right: 10px; } </style> </head> <body> <h1 id="title">b.html</h1> <p>Report generated on 16-Jul-2024 at 09:17:17 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a> v4.1.1</p> <div id="environment-header"> <h2>Environment</h2> </div> <table id="environment"></table> <!-- TEMPLATES --> <template id="template_environment_row"> <tr> <td></td> <td></td> </tr> </template> <template id="template_results-table__body--empty"> <tbody class="results-table-row"> <tr id="not-found-message"> <td colspan="4">No results found. Check the filters.</th> </tr> </template> <template id="template_results-table__tbody"> <tbody class="results-table-row"> <tr class="collapsible"> </tr> <tr class="extras-row"> <td class="extra" colspan="4"> <div class="extraHTML"></div> <div class="media"> <div class="media-container"> <div class="media-container__nav--left"><</div> <div class="media-container__viewport"> <img src="" /> <video controls> <source src="" type="video/mp4"> </video> </div> <div class="media-container__nav--right">></div> </div> <div class="media__name"></div> <div class="media__counter"></div> </div> <div class="logwrapper"> <div class="logexpander"></div> <div class="log"></div> </div> </td> </tr> </tbody> </template> <!-- END TEMPLATES --> <div class="summary"> <div class="summary__data"> <h2>Summary</h2> <div class="additional-summary prefix"> </div> <p class="run-count">15 tests took 00:00:01.</p> <p class="filter">(Un)check the boxes to filter the results.</p> <div class="summary__reload"> <div class="summary__reload__button hidden" onclick="location.reload()"> <div>There are still tests running. <br />Reload this page to get the latest results!</div> </div> </div> <div class="summary__spacer"></div> <div class="controls"> <div class="filters"> <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="failed" /> <span class="failed">5 Failed,</span> <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="passed" /> <span class="passed">10 Passed,</span> <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="skipped" disabled/> <span class="skipped">0 Skipped,</span> <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="xfailed" disabled/> <span class="xfailed">0 Expected failures,</span> <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="xpassed" disabled/> <span class="xpassed">0 Unexpected passes,</span> <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="error" disabled/> <span class="error">0 Errors,</span> <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="rerun" /> <span class="rerun">15 Reruns</span> </div> <div class="collapse"> <button id="show_all_details">Show all details</button> / <button id="hide_all_details">Hide all details</button> </div> </div> </div> <div class="additional-summary summary"> </div> <div class="additional-summary postfix"> </div> </div> <table id="results-table"> <thead id="results-table-head"> <tr> <th class="sortable" data-column-type="result">Result</th> <th class="sortable" data-column-type="testId">Test</th> <th class="sortable" data-column-type="duration">Duration</th> <th>Links</th> </tr> </thead> </table> </body> <footer> <div id="data-container" data-jsonblob="{"environment": {"Python": "3.12.3", "Platform": "Windows-10-10.0.17763-SP0", "Packages": {"pytest": "8.2.2", "pluggy": "1.5.0"}, "Plugins": {"allure-pytest": "2.13.5", "Faker": "25.8.0", "html": "4.1.1", "metadata": "3.1.1", "rerunfailures": "14.0"}}, "tests": {"test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u6b63\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u548c\\u5bc6\\u7801\\u6b63\\u786e-\\u9ad8-POST-/auth-application/json-case_data0-expect_data0-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u6b63\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u548c\\u5bc6\\u7801\\u6b63\\u786e-\\u9ad8-POST-/auth-application/json-case_data0-expect_data0-None-None-None]", "duration": "207 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u6b63\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u548c\\u5bc6\\u7801\\u6b63\\u786e-\\u9ad8-POST-/auth-application/json-case_data0-expect_data0-None-None-None]</td>", "<td class=\"col-duration\">207 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;\u8d85\u7ea7\u7ba1\u7406\u5458&#x27;, &#x27;account&#x27;: &#x27;admin&#x27;, &#x27;userId&#x27;: &#x27;1&#x27;, &#x27;expiration&#x27;: 86400}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzcsImlhdCI6MTcyMTA5MjU3N30.gsoQ2GdsiL0yi57a5-p7cQ2BkBWsyfv_CsVbe4T1k7G8DHZw2Un8aWDYBd3rKq62dY50137GQ0OXbGpOcXG-sA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;\u8d85\u7ea7\u7ba1\u7406\u5458&#x27;, &#x27;account&#x27;: &#x27;admin&#x27;, &#x27;userId&#x27;: &#x27;1&#x27;, &#x27;expiration&#x27;: 86400}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzcsImlhdCI6MTcyMTA5MjU3N30.gsoQ2GdsiL0yi57a5-p7cQ2BkBWsyfv_CsVbe4T1k7G8DHZw2Un8aWDYBd3rKq62dY50137GQ0OXbGpOcXG-sA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;\u8d85\u7ea7\u7ba1\u7406\u5458&#x27;, &#x27;account&#x27;: &#x27;admin&#x27;, &#x27;userId&#x27;: &#x27;1&#x27;, &#x27;expiration&#x27;: 86400}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzcsImlhdCI6MTcyMTA5MjU3N30.gsoQ2GdsiL0yi57a5-p7cQ2BkBWsyfv_CsVbe4T1k7G8DHZw2Un8aWDYBd3rKq62dY50137GQ0OXbGpOcXG-sA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;\u8d85\u7ea7\u7ba1\u7406\u5458&#x27;, &#x27;account&#x27;: &#x27;admin&#x27;, &#x27;userId&#x27;: &#x27;1&#x27;, &#x27;expiration&#x27;: 86400}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzcsImlhdCI6MTcyMTA5MjU3N30.gsoQ2GdsiL0yi57a5-p7cQ2BkBWsyfv_CsVbe4T1k7G8DHZw2Un8aWDYBd3rKq62dY50137GQ0OXbGpOcXG-sA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u4e3a\\u7a7a-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data1-expect_data1-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u4e3a\\u7a7a-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data1-expect_data1-None-None-None]", "duration": "25 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u4e3a\\u7a7a-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data1-expect_data1-None-None-None]</td>", "<td class=\"col-duration\">25 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793163919360&quot;}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793163919360&quot;}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u8fc7\\u77ed-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data2-expect_data2-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u8fc7\\u77ed-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data2-expect_data2-None-None-None]", "duration": "33 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u8fc7\\u77ed-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data2-expect_data2-None-None-None]</td>", "<td class=\"col-duration\">33 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;a&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793298137088&quot;}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;a&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793298137088&quot;}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u8fc7\\u957f-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data3-expect_data3-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u8fc7\\u957f-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data3-expect_data3-None-None-None]", "duration": "32 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u8fc7\\u957f-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data3-expect_data3-None-None-None]</td>", "<td class=\"col-duration\">32 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;adminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadmin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793465909248&quot;}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;adminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadminadmin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793465909248&quot;}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u4e3a\\u7279\\u6b8a\\u5b57\\u7b26-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data4-expect_data4-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u4e3a\\u7279\\u6b8a\\u5b57\\u7b26-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data4-expect_data4-None-None-None]", "duration": "32 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u4e3a\\u7279\\u6b8a\\u5b57\\u7b26-\\u5bc6\\u7801\\u6b63\\u786e-\\u4e2d-POST-/auth-application/json-case_data4-expect_data4-None-None-None]</td>", "<td class=\"col-duration\">32 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;\u2661\u2663\u2664\u2665\u2666\u2667\u2668\u2669\u03b5&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793604321280&quot;}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;\u2661\u2663\u2664\u2665\u2666\u2667\u2668\u2669\u03b5&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793604321280&quot;}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]": [{"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]", "duration": "31 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]</td>", "<td class=\"col-duration\">31 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]", "duration": "31 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]</td>", "<td class=\"col-duration\">31 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]", "duration": "31 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]</td>", "<td class=\"col-duration\">31 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Failed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]", "duration": "31 ms", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u4e3a\\u7a7a-\\u4e2d-POST-/auth-application/json-case_data5-expect_data5-None-None-None]</td>", "<td class=\"col-duration\">31 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD4F3BC0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u4e3a\u7a7a&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793746927616&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019793746927616&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019794531262464&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019794531262464&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019794711617536&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019794711617536&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019794879389696&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019794879389696&quot;}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]": [{"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]", "duration": "36 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]</td>", "<td class=\"col-duration\">36 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]", "duration": "36 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]</td>", "<td class=\"col-duration\">36 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]", "duration": "36 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]</td>", "<td class=\"col-duration\">36 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Failed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]", "duration": "36 ms", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u957f-\\u4e2d-POST-/auth-application/json-case_data6-expect_data6-None-None-None]</td>", "<td class=\"col-duration\">36 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&#x27; == &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;\nE \nE - \u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528\nE + \u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751790&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u957f&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;1&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None\nsql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795076521984&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795076521984&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795244294144&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795244294144&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795412066304&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795412066304&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795638558720&quot;}\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;1&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;\u8d26\u53f7\u6216\u5bc6\u7801\u9519\u8bef&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019795638558720&quot;}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]": [{"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]", "duration": "40 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]</td>", "<td class=\"col-duration\">40 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == False\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDACC4C0&gt;(&#x27;state&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDACC4C0&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]", "duration": "40 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]</td>", "<td class=\"col-duration\">40 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == False\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDA88040&gt;(&#x27;state&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDA88040&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]", "duration": "40 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]</td>", "<td class=\"col-duration\">40 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == False\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDA9D100&gt;(&#x27;state&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDA9D100&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Failed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]", "duration": "40 ms", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u767b\\u5f55\\u7cfb\\u7edf-\\u53cd\\u5411\\u7528\\u4f8b-\\u7528\\u6237\\u540d\\u6b63\\u786e-\\u5bc6\\u7801\\u8fc7\\u77ed-\\u4e2d-POST-/auth-application/json-case_data7-expect_data7-None-None-None]</td>", "<td class=\"col-duration\">40 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == False\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDA9D800&gt;(&#x27;state&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDA9D800&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD7506B0&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u767b\u5f55\u7cfb\u7edf&#x27;, title = &#x27;\u53cd\u5411\u7528\u4f8b-\u7528\u6237\u540d\u6b63\u786e-\u5bc6\u7801\u8fc7\u77ed&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;POST&#x27;, path = &#x27;/auth&#x27;, req_type = &#x27;application/json&#x27;\ncase_data = {&#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIE...5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;, &#x27;username&#x27;: &#x27;admin&#x27;}\nexpect_data = {&#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;, &#x27;state&#x27;: False}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;username&#x27;: &#x27;admin&#x27;, &#x27;password&#x27;: &#x27;F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=F4/DVgPS/NEruLxVVRqHktsb1R2fVpw81t5VuGfFjwp0G7U4k6spHPr/ejPlw8XxIVilJ+SyIH0G5FbQStFEd/94mmI7+2Dw2c7MXXIERYKjd3XNe4gZR4ANJclCJHNGfE+mtnX5voprYwEo9m6ponCdmmXTMx9cWVEJ4K/nbR8=&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: False, &#x27;message&#x27;: &#x27;\u8d26\u6237\u9519\u8bef\u6216\u8be5\u79df\u6237\u672a\u542f\u7528&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;\u8d85\u7ea7\u7ba1\u7406\u5458&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;1&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true,&quot;userAttrs&quot;:{&quot;tenantId&quot;:&quot;-1&quot;}}\n\n"}], "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]": [{"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]", "duration": "29 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]</td>", "<td class=\"col-duration\">29 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == &#x27;\u5237\u65b0\u6210\u529f&#x27;\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDA768C0&gt;(&#x27;message&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDA768C0&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]", "duration": "29 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]</td>", "<td class=\"col-duration\">29 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == &#x27;\u5237\u65b0\u6210\u529f&#x27;\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDA7D300&gt;(&#x27;message&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDA7D300&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]", "duration": "29 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]</td>", "<td class=\"col-duration\">29 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == &#x27;\u5237\u65b0\u6210\u529f&#x27;\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDAE6980&gt;(&#x27;message&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDAE6980&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Failed", "testId": "test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]", "duration": "29 ms", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">test_case/test_aHuanYo/test_case.py::TestBPM::test_bpm[\\u8ba4\\u8bc1\\u63a5\\u53e3-\\u5237\\u65b0token-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-GET-/refresh-None-None-expect_data8-None-None-None]</td>", "<td class=\"col-duration\">29 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert None == &#x27;\u5237\u65b0\u6210\u529f&#x27;\nE + where None = &lt;built-in method get of dict object at 0x000001F1FDA46D00&gt;(&#x27;message&#x27;)\nE + where &lt;built-in method get of dict object at 0x000001F1FDA46D00&gt; = {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...}.get\nE + where {&#x27;account&#x27;: &#x27;admin&#x27;, &#x27;expiration&#x27;: 86400, &#x27;loginStatus&#x27;: True, &#x27;token&#x27;: &#x27;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&#x27;, ...} = &lt;bound method Response.json of &lt;Response [200]&gt;&gt;()\nE + where &lt;bound method Response.json of &lt;Response [200]&gt;&gt; = &lt;Response [200]&gt;.json\n\ntest_case\\test_aHuanYo\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aHuanYo.test_case.TestBPM object at 0x000001F1FD751820&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FD777020&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FD777410&gt;, module = &#x27;\u8ba4\u8bc1\u63a5\u53e3&#x27;\napi = &#x27;\u5237\u65b0token&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u9ad8&#x27;, method = &#x27;GET&#x27;, path = &#x27;/refresh&#x27;, req_type = None, case_data = None\nexpect_data = {&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, sql_type = None, sql_data = None, update_key = None\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n \n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aHuanYo\\test_case.py:44: AssertionError\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1aNone, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;admin&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1aNone, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;admin&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1aNone, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;admin&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1aNone, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5237\u65b0\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;token&quot;:&quot;eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsInRlbmFudElkIjoiLTEiLCJleHAiOjE3MjExNzg5NzgsImlhdCI6MTcyMTA5MjU3OH0.nIyrNrqJ7xrb9MeZEXMzllgMRYDtli79UhYCVHyd8TO6mrFTPxUdoYPUAMieVagzbVrdgkrps04ljLQX-oXKkA&quot;,&quot;username&quot;:&quot;admin&quot;,&quot;account&quot;:&quot;admin&quot;,&quot;userId&quot;:&quot;&quot;,&quot;expiration&quot;:86400,&quot;loginStatus&quot;:true}\n\n"}], "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6dfb\\u52a0\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-post-/api/demension/v1/dem/addDem-json-case_data0-expect_data0-delete-DELETE FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6dfb\\u52a0\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-post-/api/demension/v1/dem/addDem-json-case_data0-expect_data0-delete-DELETE FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-None]", "duration": "116 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6dfb\\u52a0\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-post-/api/demension/v1/dem/addDem-json-case_data0-expect_data0-delete-DELETE FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-None]</td>", "<td class=\"col-duration\">116 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;code&#x27;: &#x27;test_dem_xyz_123&#x27;, &#x27;description&#x27;: &#x27;\u6d4b\u8bd5\u7ef4\u5ea6&#x27;, &#x27;isDefault&#x27;: 0, &#x27;name&#x27;: &#x27;xyz\u6d4b\u8bd5\u7ef4\u5ea6&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u6dfb\u52a0\u7ef4\u5ea6\u6210\u529f\uff01&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u6dfb\u52a0\u7ef4\u5ea6\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\n\n"}], "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u8bbe\\u7f6e\\u9ed8\\u8ba4\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-PUT-/api/demension/v1/dem/setDefaultDem-query-case_data1-expect_data1-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u8bbe\\u7f6e\\u9ed8\\u8ba4\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-PUT-/api/demension/v1/dem/setDefaultDem-query-case_data1-expect_data1-None-None-None]", "duration": "29 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u8bbe\\u7f6e\\u9ed8\\u8ba4\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-PUT-/api/demension/v1/dem/setDefaultDem-query-case_data1-expect_data1-None-None-None]</td>", "<td class=\"col-duration\">29 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;code&#x27;: &#x27;test_dem_xyz_123&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u8bbe\u7f6e\u9ed8\u8ba4\u7ef4\u5ea6\u6210\u529f\uff01&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u8bbe\u7f6e\u9ed8\u8ba4\u7ef4\u5ea6\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\n\n"}], "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u6dfb\\u52a0\\u7ec4\\u7ec7-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-post-/api/org/v1/org/addOrg-json-case_data2-expect_data2-select|delete-sql_data2-demId]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u6dfb\\u52a0\\u7ec4\\u7ec7-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-post-/api/org/v1/org/addOrg-json-case_data2-expect_data2-select|delete-sql_data2-demId]", "duration": "64 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u6dfb\\u52a0\\u7ec4\\u7ec7-\\u6b63\\u5411\\u7528\\u4f8b-\\u9ad8-post-/api/org/v1/org/addOrg-json-case_data2-expect_data2-select|delete-sql_data2-demId]</td>", "<td class=\"col-duration\">64 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;code&#x27;: &#x27;test_org&#x27;, &#x27;demId&#x27;: &#x27;1813019797693767680&#x27;, &#x27;exceedLimitNum&#x27;: 0, &#x27;grade&#x27;: &#x27;&#x27;, &#x27;limitNum&#x27;: 0, &#x27;name&#x27;: &#x27;\u6d4b\u8bd5\u7ec4\u7ec7&#x27;, &#x27;nowNum&#x27;: 0, &#x27;orderNo&#x27;: 0, &#x27;parentId&#x27;: &#x27;0&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u6dfb\u52a0\u7ec4\u7ec7\u6210\u529f\uff01&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u6dfb\u52a0\u7ec4\u7ec7\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\n\n"}], "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u4fdd\\u5b58\\u7ec4\\u7ec7\\u53c2\\u6570-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-post-/api/org/v1/orgParam/saveOrgParams-query|json-case_data3-expect_data3-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u4fdd\\u5b58\\u7ec4\\u7ec7\\u53c2\\u6570-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-post-/api/org/v1/orgParam/saveOrgParams-query|json-case_data3-expect_data3-None-None-None]", "duration": "41 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u4fdd\\u5b58\\u7ec4\\u7ec7\\u53c2\\u6570-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-post-/api/org/v1/orgParam/saveOrgParams-query|json-case_data3-expect_data3-None-None-None]</td>", "<td class=\"col-duration\">41 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;query&#x27;: {&#x27;orgCode&#x27;: &#x27;test_org&#x27;}, &#x27;body&#x27;: [{&#x27;alias&#x27;: &#x27;sr&#x27;, &#x27;value&#x27;: &#x27;dog&#x27;}]}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: True, &#x27;message&#x27;: &#x27;\u4fdd\u5b58\u7ec4\u7ec7\u53c2\u6570\u6210\u529f\uff01&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u4fdd\u5b58\u7ec4\u7ec7\u53c2\u6570\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;query&#x27;: {&#x27;orgCode&#x27;: &#x27;test_org&#x27;}, &#x27;body&#x27;: [{&#x27;alias&#x27;: &#x27;sr&#x27;, &#x27;value&#x27;: &#x27;dog&#x27;}]}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: True, &#x27;message&#x27;: &#x27;\u4fdd\u5b58\u7ec4\u7ec7\u53c2\u6570\u6210\u529f\uff01&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u4fdd\u5b58\u7ec4\u7ec7\u53c2\u6570\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\n\n"}], "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u5220\\u9664\\u7ec4\\u7ec7-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-post-/api/org/v1/org/deleteOrg-form-test_org-expect_data4-None-None-None]": [{"extras": [], "result": "Passed", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u5220\\u9664\\u7ec4\\u7ec7-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-post-/api/org/v1/org/deleteOrg-form-test_org-expect_data4-None-None-None]", "duration": "45 ms", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ec4\\u7ec7\\u7ba1\\u7406-\\u5220\\u9664\\u7ec4\\u7ec7-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-post-/api/org/v1/org/deleteOrg-form-test_org-expect_data4-None-None-None]</td>", "<td class=\"col-duration\">45 ms</td>", "<td class=\"col-links\"></td>"], "log": "----------------------------- Captured stdout call -----------------------------\n\u65ad\u8a00\u6210\u529f\uff01\n\n------------------------------ Captured log call -------------------------------\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1atest_org, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: True, &#x27;message&#x27;: &#x27;\u5220\u9664\u7ec4\u7ec7\u6210\u529f\uff01&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u5220\u9664\u7ec4\u7ec7\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\nINFO root:test_case.py:41 \u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1atest_org, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;state&#x27;: True, &#x27;message&#x27;: &#x27;\u5220\u9664\u7ec4\u7ec7\u6210\u529f\uff01&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u5220\u9664\u7ec4\u7ec7\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\n\n"}], "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]": [{"extras": [], "result": "Rerun", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]", "duration": "32 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]</td>", "<td class=\"col-duration\">32 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f\uff01&#x27; == &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;\nE \nE - \u5220\u9664\u7ef4\u5ea6\u6210\u529f\nE + \u5220\u9664\u7ef4\u5ea6\u6210\u529f\uff01\nE ? +\n\ntest_case\\test_aYuan\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aYuan\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]", "duration": "32 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]</td>", "<td class=\"col-duration\">32 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;&#x27; == &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;\nE \nE - \u5220\u9664\u7ef4\u5ea6\u6210\u529f\n\ntest_case\\test_aYuan\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aYuan\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Rerun", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]", "duration": "32 ms", "resultsTableRow": ["<td class=\"col-result\">Rerun</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]</td>", "<td class=\"col-duration\">32 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;&#x27; == &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;\nE \nE - \u5220\u9664\u7ef4\u5ea6\u6210\u529f\n\ntest_case\\test_aYuan\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aYuan\\test_case.py:44: AssertionError\n"}, {"extras": [], "result": "Failed", "testId": "test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]", "duration": "32 ms", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">test_case/test_aYuan/test_case.py::TestBPM::test_bpm[\\u7ef4\\u5ea6\\u7ba1\\u7406-\\u6839\\u636e\\u7ef4\\u5ea6\\u7f16\\u7801\\u5220\\u9664\\u7ef4\\u5ea6-\\u6b63\\u5411\\u7528\\u4f8b-\\u4e2d-DELETE-/api/demension/v1/dem/deleteDemByIds-query-case_data5-expect_data5-select-SELECT ID_ FROM uc_demension WHERE `CODE_`=\"test_dem_xyz_123\";-ids]</td>", "<td class=\"col-duration\">32 ms</td>", "<td class=\"col-links\"></td>"], "log": "self = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n&gt; assert bpm_res.json().get(key) == expect_data[key]\nE AssertionError: assert &#x27;&#x27; == &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;\nE \nE - \u5220\u9664\u7ef4\u5ea6\u6210\u529f\n\ntest_case\\test_aYuan\\test_case.py:40: AssertionError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &lt;MyAPIAutoTest_v1.test_case.test_aYuan.test_case.TestBPM object at 0x000001F1FD752B10&gt;\ndb_fix = &lt;MyAPIAutoTest_v1.common.DB_config.DbConfig object at 0x000001F1FDB045C0&gt;\nreq_fix = &lt;MyAPIAutoTest_v1.request_method.request_method.RequestMethod object at 0x000001F1FDB04980&gt;, module = &#x27;\u7ef4\u5ea6\u7ba1\u7406&#x27;\napi = &#x27;\u6839\u636e\u7ef4\u5ea6\u7f16\u7801\u5220\u9664\u7ef4\u5ea6&#x27;, title = &#x27;\u6b63\u5411\u7528\u4f8b&#x27;, lever = &#x27;\u4e2d&#x27;, method = &#x27;DELETE&#x27;, path = &#x27;/api/demension/v1/dem/deleteDemByIds&#x27;\nreq_type = &#x27;query&#x27;, case_data = {&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, expect_data = {&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, sql_type = &#x27;select&#x27;\nsql_data = &#x27;SELECT ID_ FROM uc_demension WHERE `CODE_`=&quot;test_dem_xyz_123&quot;;&#x27;, update_key = &#x27;ids&#x27;\n\n @allure.epic(f&quot;BPM-{USERNAME}&quot;)\n @pytest.mark.parametrize(&quot;module, api, title, lever,method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key&quot;, ReadExcel(USERNAME).get_case_data())\n def test_bpm(self, db_fix, req_fix, module, api, title, lever, method, path, req_type, case_data, expect_data, sql_type, sql_data, update_key):\n allure.dynamic.feature(module)\n allure.dynamic.story(api)\n allure.dynamic.title(title)\n allure.dynamic.severity(lever)\n if sql_type == &quot;delete&quot;:\n db_fix.sql_delete(sql_data)\n elif sql_type == &quot;select&quot;:\n new_data = db_fix.sql_select(sql_data)\n case_data[update_key] = new_data\n \n elif sql_type == &quot;select|delete&quot; or sql_type == &quot;delete|select&quot;:\n db_fix.sql_delete(sql_data.get(&quot;delete&quot;))\n new_data = db_fix.sql_select(sql_data.get(&quot;select&quot;))\n case_data[update_key] = new_data\n \n bpm_res = req_fix.request_all(req_method=method, req_url=path, req_type=req_type, case_data=case_data)\n \n try:\n for key in expect_data:\n assert bpm_res.json().get(key) == expect_data[key]\n log.info(f&quot;\u65ad\u8a00\u6210\u529f\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n except AssertionError:\n log.error(f&quot;\u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{case_data}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{expect_data}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{bpm_res.text}&quot;)\n&gt; raise AssertionError(&quot;\u65ad\u8a00\u5931\u8d25\uff01&quot;)\nE AssertionError: \u65ad\u8a00\u5931\u8d25\uff01\n\ntest_case\\test_aYuan\\test_case.py:44: AssertionError\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:true,&quot;message&quot;:&quot;\u5220\u9664\u7ef4\u5ea6\u6210\u529f\uff01&quot;,&quot;value&quot;:&quot;&quot;,&quot;code&quot;:200}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019798843006976&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019799019167744&quot;}\n\n\n------------------------------ Captured log call -------------------------------\nERROR root:test_case.py:43 \u65ad\u8a00\u5931\u8d25\uff01\u6d4b\u8bd5\u6570\u636e\u4e3a\uff1a{&#x27;ids&#x27;: &#x27;1813019797693767680&#x27;}, \u671f\u671b\u6570\u636e\u4e3a\uff1a{&#x27;message&#x27;: &#x27;\u5220\u9664\u7ef4\u5ea6\u6210\u529f&#x27;}, \u5b9e\u9645\u6570\u636e\u4e3a\uff1a{&quot;state&quot;:false,&quot;message&quot;:&quot;&quot;,&quot;code&quot;:200,&quot;logId&quot;:&quot;1813019799207911424&quot;}\n\n"}]}, "renderCollapsed": ["passed"], "initialSort": "result", "title": "b.html"}"></div> <script> (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ const { getCollapsedCategory, setCollapsedIds } = require('./storage.js') class DataManager { setManager(data) { const collapsedCategories = [...getCollapsedCategory(data.renderCollapsed)] const collapsedIds = [] const tests = Object.values(data.tests).flat().map((test, index) => { const collapsed = collapsedCategories.includes(test.result.toLowerCase()) const id = `test_${index}` if (collapsed) { collapsedIds.push(id) } return { ...test, id, collapsed, } }) const dataBlob = { ...data, tests } this.data = { ...dataBlob } this.renderData = { ...dataBlob } setCollapsedIds(collapsedIds) } get allData() { return { ...this.data } } resetRender() { this.renderData = { ...this.data } } setRender(data) { this.renderData.tests = [...data] } toggleCollapsedItem(id) { this.renderData.tests = this.renderData.tests.map((test) => test.id === id ? { ...test, collapsed: !test.collapsed } : test, ) } set allCollapsed(collapsed) { this.renderData = { ...this.renderData, tests: [...this.renderData.tests.map((test) => ( { ...test, collapsed } ))] } } get testSubset() { return [...this.renderData.tests] } get environment() { return this.renderData.environment } get initialSort() { return this.data.initialSort } } module.exports = { manager: new DataManager(), } },{"./storage.js":8}],2:[function(require,module,exports){ const mediaViewer = require('./mediaviewer.js') const templateEnvRow = document.getElementById('template_environment_row') const templateResult = document.getElementById('template_results-table__tbody') function htmlToElements(html) { const temp = document.createElement('template') temp.innerHTML = html return temp.content.childNodes } const find = (selector, elem) => { if (!elem) { elem = document } return elem.querySelector(selector) } const findAll = (selector, elem) => { if (!elem) { elem = document } return [...elem.querySelectorAll(selector)] } const dom = { getStaticRow: (key, value) => { const envRow = templateEnvRow.content.cloneNode(true) const isObj = typeof value === 'object' && value !== null const values = isObj ? Object.keys(value).map((k) => `${k}: ${value[k]}`) : null const valuesElement = htmlToElements( values ? `<ul>${values.map((val) => `<li>${val}</li>`).join('')}<ul>` : `<div>${value}</div>`)[0] const td = findAll('td', envRow) td[0].textContent = key td[1].appendChild(valuesElement) return envRow }, getResultTBody: ({ testId, id, log, extras, resultsTableRow, tableHtml, result, collapsed }) => { const resultBody = templateResult.content.cloneNode(true) resultBody.querySelector('tbody').classList.add(result.toLowerCase()) resultBody.querySelector('tbody').id = testId resultBody.querySelector('.collapsible').dataset.id = id resultsTableRow.forEach((html) => { const t = document.createElement('template') t.innerHTML = html resultBody.querySelector('.collapsible').appendChild(t.content) }) if (log) { // Wrap lines starting with "E" with span.error to color those lines red const wrappedLog = log.replace(/^E.*$/gm, (match) => `<span class="error">${match}</span>`) resultBody.querySelector('.log').innerHTML = wrappedLog } else { resultBody.querySelector('.log').remove() } if (collapsed) { resultBody.querySelector('.collapsible > td')?.classList.add('collapsed') resultBody.querySelector('.extras-row').classList.add('hidden') } else { resultBody.querySelector('.collapsible > td')?.classList.remove('collapsed') } const media = [] extras?.forEach(({ name, format_type, content }) => { if (['image', 'video'].includes(format_type)) { media.push({ path: content, name, format_type }) } if (format_type === 'html') { resultBody.querySelector('.extraHTML').insertAdjacentHTML('beforeend', `<div>${content}</div>`) } }) mediaViewer.setup(resultBody, media) // Add custom html from the pytest_html_results_table_html hook tableHtml?.forEach((item) => { resultBody.querySelector('td[class="extra"]').insertAdjacentHTML('beforeend', item) }) return resultBody }, } module.exports = { dom, htmlToElements, find, findAll, } },{"./mediaviewer.js":6}],3:[function(require,module,exports){ const { manager } = require('./datamanager.js') const { doSort } = require('./sort.js') const storageModule = require('./storage.js') const getFilteredSubSet = (filter) => manager.allData.tests.filter(({ result }) => filter.includes(result.toLowerCase())) const doInitFilter = () => { const currentFilter = storageModule.getVisible() const filteredSubset = getFilteredSubSet(currentFilter) manager.setRender(filteredSubset) } const doFilter = (type, show) => { if (show) { storageModule.showCategory(type) } else { storageModule.hideCategory(type) } const currentFilter = storageModule.getVisible() const filteredSubset = getFilteredSubSet(currentFilter) manager.setRender(filteredSubset) const sortColumn = storageModule.getSort() doSort(sortColumn, true) } module.exports = { doFilter, doInitFilter, } },{"./datamanager.js":1,"./sort.js":7,"./storage.js":8}],4:[function(require,module,exports){ const { redraw, bindEvents, renderStatic } = require('./main.js') const { doInitFilter } = require('./filter.js') const { doInitSort } = require('./sort.js') const { manager } = require('./datamanager.js') const data = JSON.parse(document.getElementById('data-container').dataset.jsonblob) function init() { manager.setManager(data) doInitFilter() doInitSort() renderStatic() redraw() bindEvents() } init() },{"./datamanager.js":1,"./filter.js":3,"./main.js":5,"./sort.js":7}],5:[function(require,module,exports){ const { dom, find, findAll } = require('./dom.js') const { manager } = require('./datamanager.js') const { doSort } = require('./sort.js') const { doFilter } = require('./filter.js') const { getVisible, getCollapsedIds, setCollapsedIds, getSort, getSortDirection, possibleFilters, } = require('./storage.js') const removeChildren = (node) => { while (node.firstChild) { node.removeChild(node.firstChild) } } const renderStatic = () => { const renderEnvironmentTable = () => { const environment = manager.environment const rows = Object.keys(environment).map((key) => dom.getStaticRow(key, environment[key])) const table = document.getElementById('environment') removeChildren(table) rows.forEach((row) => table.appendChild(row)) } renderEnvironmentTable() } const addItemToggleListener = (elem) => { elem.addEventListener('click', ({ target }) => { const id = target.parentElement.dataset.id manager.toggleCollapsedItem(id) const collapsedIds = getCollapsedIds() if (collapsedIds.includes(id)) { const updated = collapsedIds.filter((item) => item !== id) setCollapsedIds(updated) } else { collapsedIds.push(id) setCollapsedIds(collapsedIds) } redraw() }) } const renderContent = (tests) => { const sortAttr = getSort(manager.initialSort) const sortAsc = JSON.parse(getSortDirection()) const rows = tests.map(dom.getResultTBody) const table = document.getElementById('results-table') const tableHeader = document.getElementById('results-table-head') const newTable = document.createElement('table') newTable.id = 'results-table' // remove all sorting classes and set the relevant findAll('.sortable', tableHeader).forEach((elem) => elem.classList.remove('asc', 'desc')) tableHeader.querySelector(`.sortable[data-column-type="${sortAttr}"]`)?.classList.add(sortAsc ? 'desc' : 'asc') newTable.appendChild(tableHeader) if (!rows.length) { const emptyTable = document.getElementById('template_results-table__body--empty').content.cloneNode(true) newTable.appendChild(emptyTable) } else { rows.forEach((row) => { if (!!row) { findAll('.collapsible td:not(.col-links', row).forEach(addItemToggleListener) find('.logexpander', row).addEventListener('click', (evt) => evt.target.parentNode.classList.toggle('expanded'), ) newTable.appendChild(row) } }) } table.replaceWith(newTable) } const renderDerived = () => { const currentFilter = getVisible() possibleFilters.forEach((result) => { const input = document.querySelector(`input[data-test-result="${result}"]`) input.checked = currentFilter.includes(result) }) } const bindEvents = () => { const filterColumn = (evt) => { const { target: element } = evt const { testResult } = element.dataset doFilter(testResult, element.checked) const collapsedIds = getCollapsedIds() const updated = manager.renderData.tests.map((test) => { return { ...test, collapsed: collapsedIds.includes(test.id), } }) manager.setRender(updated) redraw() } const header = document.getElementById('environment-header') header.addEventListener('click', () => { const table = document.getElementById('environment') table.classList.toggle('hidden') header.classList.toggle('collapsed') }) findAll('input[name="filter_checkbox"]').forEach((elem) => { elem.addEventListener('click', filterColumn) }) findAll('.sortable').forEach((elem) => { elem.addEventListener('click', (evt) => { const { target: element } = evt const { columnType } = element.dataset doSort(columnType) redraw() }) }) document.getElementById('show_all_details').addEventListener('click', () => { manager.allCollapsed = false setCollapsedIds([]) redraw() }) document.getElementById('hide_all_details').addEventListener('click', () => { manager.allCollapsed = true const allIds = manager.renderData.tests.map((test) => test.id) setCollapsedIds(allIds) redraw() }) } const redraw = () => { const { testSubset } = manager renderContent(testSubset) renderDerived() } module.exports = { redraw, bindEvents, renderStatic, } },{"./datamanager.js":1,"./dom.js":2,"./filter.js":3,"./sort.js":7,"./storage.js":8}],6:[function(require,module,exports){ class MediaViewer { constructor(assets) { this.assets = assets this.index = 0 } nextActive() { this.index = this.index === this.assets.length - 1 ? 0 : this.index + 1 return [this.activeFile, this.index] } prevActive() { this.index = this.index === 0 ? this.assets.length - 1 : this.index -1 return [this.activeFile, this.index] } get currentIndex() { return this.index } get activeFile() { return this.assets[this.index] } } const setup = (resultBody, assets) => { if (!assets.length) { resultBody.querySelector('.media').classList.add('hidden') return } const mediaViewer = new MediaViewer(assets) const container = resultBody.querySelector('.media-container') const leftArrow = resultBody.querySelector('.media-container__nav--left') const rightArrow = resultBody.querySelector('.media-container__nav--right') const mediaName = resultBody.querySelector('.media__name') const counter = resultBody.querySelector('.media__counter') const imageEl = resultBody.querySelector('img') const sourceEl = resultBody.querySelector('source') const videoEl = resultBody.querySelector('video') const setImg = (media, index) => { if (media?.format_type === 'image') { imageEl.src = media.path imageEl.classList.remove('hidden') videoEl.classList.add('hidden') } else if (media?.format_type === 'video') { sourceEl.src = media.path videoEl.classList.remove('hidden') imageEl.classList.add('hidden') } mediaName.innerText = media?.name counter.innerText = `${index + 1} / ${assets.length}` } setImg(mediaViewer.activeFile, mediaViewer.currentIndex) const moveLeft = () => { const [media, index] = mediaViewer.prevActive() setImg(media, index) } const doRight = () => { const [media, index] = mediaViewer.nextActive() setImg(media, index) } const openImg = () => { window.open(mediaViewer.activeFile.path, '_blank') } if (assets.length === 1) { container.classList.add('media-container--fullscreen') } else { leftArrow.addEventListener('click', moveLeft) rightArrow.addEventListener('click', doRight) } imageEl.addEventListener('click', openImg) } module.exports = { setup, } },{}],7:[function(require,module,exports){ const { manager } = require('./datamanager.js') const storageModule = require('./storage.js') const genericSort = (list, key, ascending, customOrder) => { let sorted if (customOrder) { sorted = list.sort((a, b) => { const aValue = a.result.toLowerCase() const bValue = b.result.toLowerCase() const aIndex = customOrder.findIndex((item) => item.toLowerCase() === aValue) const bIndex = customOrder.findIndex((item) => item.toLowerCase() === bValue) // Compare the indices to determine the sort order return aIndex - bIndex }) } else { sorted = list.sort((a, b) => a[key] === b[key] ? 0 : a[key] > b[key] ? 1 : -1) } if (ascending) { sorted.reverse() } return sorted } const durationSort = (list, ascending) => { const parseDuration = (duration) => { if (duration.includes(':')) { // If it's in the format "HH:mm:ss" const [hours, minutes, seconds] = duration.split(':').map(Number) return (hours * 3600 + minutes * 60 + seconds) * 1000 } else { // If it's in the format "nnn ms" return parseInt(duration) } } const sorted = list.sort((a, b) => parseDuration(a['duration']) - parseDuration(b['duration'])) if (ascending) { sorted.reverse() } return sorted } const doInitSort = () => { const type = storageModule.getSort(manager.initialSort) const ascending = storageModule.getSortDirection() const list = manager.testSubset const initialOrder = ['Error', 'Failed', 'Rerun', 'XFailed', 'XPassed', 'Skipped', 'Passed'] storageModule.setSort(type) storageModule.setSortDirection(ascending) if (type?.toLowerCase() === 'original') { manager.setRender(list) } else { let sortedList switch (type) { case 'duration': sortedList = durationSort(list, ascending) break case 'result': sortedList = genericSort(list, type, ascending, initialOrder) break default: sortedList = genericSort(list, type, ascending) break } manager.setRender(sortedList) } } const doSort = (type, skipDirection) => { const newSortType = storageModule.getSort(manager.initialSort) !== type const currentAsc = storageModule.getSortDirection() let ascending if (skipDirection) { ascending = currentAsc } else { ascending = newSortType ? false : !currentAsc } storageModule.setSort(type) storageModule.setSortDirection(ascending) const list = manager.testSubset const sortedList = type === 'duration' ? durationSort(list, ascending) : genericSort(list, type, ascending) manager.setRender(sortedList) } module.exports = { doInitSort, doSort, } },{"./datamanager.js":1,"./storage.js":8}],8:[function(require,module,exports){ const possibleFilters = [ 'passed', 'skipped', 'failed', 'error', 'xfailed', 'xpassed', 'rerun', ] const getVisible = () => { const url = new URL(window.location.href) const settings = new URLSearchParams(url.search).get('visible') const lower = (item) => { const lowerItem = item.toLowerCase() if (possibleFilters.includes(lowerItem)) { return lowerItem } return null } return settings === null ? possibleFilters : [...new Set(settings?.split(',').map(lower).filter((item) => item))] } const hideCategory = (categoryToHide) => { const url = new URL(window.location.href) const visibleParams = new URLSearchParams(url.search).get('visible') const currentVisible = visibleParams ? visibleParams.split(',') : [...possibleFilters] const settings = [...new Set(currentVisible)].filter((f) => f !== categoryToHide).join(',') url.searchParams.set('visible', settings) window.history.pushState({}, null, unescape(url.href)) } const showCategory = (categoryToShow) => { if (typeof window === 'undefined') { return } const url = new URL(window.location.href) const currentVisible = new URLSearchParams(url.search).get('visible')?.split(',').filter(Boolean) || [...possibleFilters] const settings = [...new Set([categoryToShow, ...currentVisible])] const noFilter = possibleFilters.length === settings.length || !settings.length noFilter ? url.searchParams.delete('visible') : url.searchParams.set('visible', settings.join(',')) window.history.pushState({}, null, unescape(url.href)) } const getSort = (initialSort) => { const url = new URL(window.location.href) let sort = new URLSearchParams(url.search).get('sort') if (!sort) { sort = initialSort || 'result' } return sort } const setSort = (type) => { const url = new URL(window.location.href) url.searchParams.set('sort', type) window.history.pushState({}, null, unescape(url.href)) } const getCollapsedCategory = (renderCollapsed) => { let categories if (typeof window !== 'undefined') { const url = new URL(window.location.href) const collapsedItems = new URLSearchParams(url.search).get('collapsed') switch (true) { case !renderCollapsed && collapsedItems === null: categories = ['passed'] break case collapsedItems?.length === 0 || /^["']{2}$/.test(collapsedItems): categories = [] break case /^all$/.test(collapsedItems) || collapsedItems === null && /^all$/.test(renderCollapsed): categories = [...possibleFilters] break default: categories = collapsedItems?.split(',').map((item) => item.toLowerCase()) || renderCollapsed break } } else { categories = [] } return categories } const getSortDirection = () => JSON.parse(sessionStorage.getItem('sortAsc')) || false const setSortDirection = (ascending) => sessionStorage.setItem('sortAsc', ascending) const getCollapsedIds = () => JSON.parse(sessionStorage.getItem('collapsedIds')) || [] const setCollapsedIds = (list) => sessionStorage.setItem('collapsedIds', JSON.stringify(list)) module.exports = { getVisible, hideCategory, showCategory, getCollapsedIds, setCollapsedIds, getSort, setSort, getSortDirection, setSortDirection, getCollapsedCategory, possibleFilters, } },{}]},{},[4]); </script> </footer> </html>