{"id":24940,"date":"2023-09-16T07:38:48","date_gmt":"2023-09-15T22:38:48","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/?page_id=24940"},"modified":"2023-09-20T18:38:00","modified_gmt":"2023-09-20T09:38:00","slug":"importing-test-results","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/api-manual\/api-usecase\/importing-test-results\/","title":{"rendered":"\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u30a4\u30f3\u30dd\u30fc\u30c8"},"content":{"rendered":"<p>TestRail \u3067\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u4e2d\u592e\u7ba1\u7406\u3059\u308b\u306e\u306f\u6709\u529b\u306a\u30e6\u30fc\u30b9 \u30b1\u30fc\u30b9\u3067\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8\u4f5c\u696d\u3092 1 \u7b87\u6240\u306b\u7d71\u5408\u3057\u3001\u30c6\u30b9\u30c8\u3092\u3088\u308a\u8a73\u7d30\u306b\u53ef\u8996\u5316\u304a\u3088\u3073\u7ba1\u7406\u3067\u304d\u308b\u307b\u304b\u3001TestRail \u304c\u63d0\u4f9b\u3059\u308b\u8c4a\u5bcc\u306a\u30c6\u30b9\u30c8 \u30ec\u30dd\u30fc\u30c8\u306e\u4e2d\u304b\u3089\u4efb\u610f\u306e\u30ec\u30dd\u30fc\u30c8\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u7684\u306b\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u3001\u7d50\u679c\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d71\u5408\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\"list-bullet\">\n<li>\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u3001\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30b9\u30a4\u30fc\u30c8\u304b\u3089\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>\u30a2\u30a6\u30c8\u30bd\u30fc\u30b9\u3055\u308c\u305f\u30c6\u30b9\u30c8\u7d50\u679c\u3067\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 30.4286%;\">\u5b9f\u969b\u306e\u30b5\u30f3\u30d7\u30eb<\/th>\n<th style=\"width: 69.5714%;\">\u30e6\u30fc\u30b9 \u30b1\u30fc\u30b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 30.4286%;\"><a href=\"\/test-automation\/testrail-cli\/overview-and-installation\/\" target=\"_blank\" rel=\"noopener\">TestRail CLI<\/a><\/td>\n<td style=\"width: 69.5714%;\">\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30ec\u30dd\u30fc\u30c8\u304b\u3089\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210\u3068\u7d50\u679c\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.4286%;\"><a href=\"https:\/\/support.functionize.com\/hc\/en-us\/articles\/1500005907462-TestRail-Integration\" target=\"_blank\" rel=\"noopener\">Functionize<\/a><\/td>\n<td style=\"width: 69.5714%;\">\u81ea\u52d5\u5316\u3055\u308c\u305f\u30c6\u30b9\u30c8\u304b\u3089\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210\u3068\u7d50\u679c\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.4286%;\"><a href=\"https:\/\/docs.katalon.com\/docs\/analyze\/integration-for-test-analyzing\/upload-test-execution-results-from-katalon-studio-to-testrail\" target=\"_blank\" rel=\"noopener\">Katalon<\/a><\/td>\n<td style=\"width: 69.5714%;\">\u81ea\u52d5\u5316\u3055\u308c\u305f\u30c6\u30b9\u30c8\u304b\u3089\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210\u3068\u7d50\u679c\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 30.4286%;\"><a href=\"https:\/\/www.globalapptesting.com\/on-demand-test-case-execution-testrail-integration\" target=\"_blank\" rel=\"noopener\">Global App Testing<\/a><\/td>\n<td style=\"width: 69.5714%;\">\u5916\u90e8\u306e\u30c6\u30b9\u30bf\u30fc\u306b\u3088\u3063\u3066\u8ffd\u52a0\u3055\u308c\u305f\u7d50\u679c\u306e\u30b5\u30d6\u30df\u30c3\u30c8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u4f5c\u6210<\/h2>\n<p>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306f\u3001\u5b9f\u884c\u3059\u308b\u30c6\u30b9\u30c8\u306e\u30b3\u30f3\u30c6\u30ca\u30fc\u3068\u306a\u308a\u3001\u7d50\u679c\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3059\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u5358\u7d14\u306a\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"tabs\">\n<h3 class=\"tabs-menu\"><span class=\"tabs-link is-active\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<div class=\"tab\">\n<p><strong><span class=\"api_verb api_post\">POST<\/span> \u3000<\/strong><span class=\"api_url\">index.php?\/api\/v2\/add_run\/{project_id}<\/span><\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">curl -X POST \\ \n  -u \"user@example.com:password\" \\ \n  -F \"@path\/to\/data.json\" \\ \n  \"https:\/\/example.testrail.io\/index.php?\/api\/v2\/add_run\/12\"<\/pre>\n<h3><span class=\"tabs-link\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"suite_id\": 1,\n    \"name\": \"New test run\",\n    \"description\": \"Test run description\",\n    \"assignedto_id\": 5,\n    \"include_all\": false,\n    \"case_ids\": [4076, 4078, 4079]\n}<\/pre>\n<h3><span class=\"tabs-link\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"id\": 228,\n    \"suite_id\": 53,\n    \"name\": \"New test run\",\n    \"description\": \"Test run description\",\n    \"milestone_id\": null,\n    \"assignedto_id\": 5,\n    \"include_all\": false,\n    \"is_completed\": false,\n    \"completed_on\": null,\n    \"config\": null,\n    \"config_ids\": [],\n    \"passed_count\": 0,\n    \"blocked_count\": 0,\n    \"untested_count\": 3,\n    \"retest_count\": 0,\n    \"failed_count\": 0,\n    \"custom_status1_count\": 0,\n    \"custom_status2_count\": 0,\n    \"custom_status3_count\": 0,\n    \"custom_status4_count\": 0,\n    \"custom_status5_count\": 0,\n    \"custom_status6_count\": 0,\n    \"custom_status7_count\": 0,\n    \"project_id\": 27,\n    \"plan_id\": null,\n    \"created_on\": 1684936873,\n    \"updated_on\": 1684936873,\n    \"refs\": null,\n    \"dataset_id\": null,\n    \"created_by\": 18,\n    \"url\": \"https:\/\/marketing80testing.testrail-staging.com\/index.php?\/runs\/view\/228\"\n}<\/pre>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_01.png\" alt=\"\" width=\"1092\" height=\"739\" class=\"aligncenter size-full wp-image-24949\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_01.png 1092w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_01-980x663.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_01-480x325.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1092px, 100vw\" \/><\/a><\/p>\n<div class=\"tab\">\n<pre><code class=\"shell\"><\/code><\/pre>\n<\/div>\n<\/div>\n<h2>\u30b1\u30fc\u30b9 ID \u3092\u4f7f\u7528\u3057\u305f\u30c6\u30b9\u30c8 \u30e9\u30f3\u3078\u306e\u7d50\u679c\u306e\u8ffd\u52a0<\/h2>\n<p>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306b\u7d50\u679c\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u30b1\u30fc\u30b9 ID \u3092\u4f7f\u7528\u3057\u3066\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3068\u7d50\u679c\u3092\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u307e\u3059\u3002\u5b9f\u969b\u306e\u7d50\u679c\u306e\u307b\u304b\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u306e\u30dc\u30c7\u30a3 \u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u3042\u308b\u3088\u3046\u306b\u3001\u7c21\u5358\u306a\u30b3\u30e1\u30f3\u30c8\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002\u7d50\u679c\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"callout callout--info\">\n<p>[et_pb_text admin_label=&#8221;Note&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#F0F8FF&#8221; hover_enabled=&#8221;0&#8243; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#b0c4de&#8221;]<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>\u30ab\u30b9\u30bf\u30e0\u7d50\u679c\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u306e <code class=\"inline-code\">custom_failure_severity<\/code> \u306e\u3088\u3046\u306b\u3001<code class=\"inline-code\">custom_field_name<\/code> \u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3057\u3066\u5024\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u30b9\u30c6\u30fc\u30bf\u30b9 ID \u304a\u3088\u3073\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059:<br \/>\n<strong><span class=\"api_verb api_get\">GET\u3000<\/span><\/strong> <span class=\"api_url\">index.php?\/api\/v2\/get_statuses<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"callout callout--info\">\n<div class=\"callout callout--info\">\n<ol><\/ol>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059:\n<ul>\n<li>1 &#8211; Passed<\/li>\n<li>2 &#8211; Blocked<\/li>\n<li>3 &#8211; Untested (\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3067\u3042\u308a\u3001\u65b0\u305f\u306b\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3059\u308b\u5834\u5408\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093)<\/li>\n<li>4 &#8211; Retest<\/li>\n<li>5 &#8211; Failed<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<p>[\/et_pb_text]<\/p>\n<\/div>\n<div class=\"tabs\">\n<h3 class=\"tabs-menu\"><span class=\"tabs-link is-active\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<div class=\"tab\">\n<p><strong><span class=\"api_verb api_post\">POST<\/span> \u3000<\/strong><span class=\"api_url\">index.php?\/api\/v2\/add_results_for_cases\/{run_id}<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">curl -X POST \\ \n  -u \"user@example.com:password\" \\ \n  -F \"@path\/to\/data.json\" \\ \n  \"https:\/\/example.testrail.io\/index.php?\/api\/v2\/add_results_for_cases\/228\"<\/pre>\n<\/div>\n<h3><span class=\"tabs-link\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"results\": [\n        {\n            \"case_id\": 4076,\n            \"status_id\": 1,\n            \"comment\": \"This test passed\",\n            \"elapsed\": \"5m\",\n            \"environment\": \"qa03\"\n        },\n        {\n            \"case_id\": 4078,\n            \"status_id\": 5,\n            \"comment\": \"This test failed\",\n            \"assignedto_id\": 5,\n            \"elapsed\": \"3m\",\n            \"environment\": \"qa03\",\n            \"defects\": \"TR-7\",\n            \"custom_failure_severity\": 3\n        },\n        {\n            \"case_id\": 4079,\n            \"assignedto_id\": 5,\n            \"comment\": \"No result, just a comment\"\n        }\n    ]\n}<\/pre>\n<h3><span class=\"tabs-link\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">[\n    {\n        \"id\": 8658,\n        \"test_id\": 18577,\n        \"status_id\": 1,\n        \"created_on\": 1684937736,\n        \"assignedto_id\": null,\n        \"comment\": \"This test passed\",\n        \"version\": null,\n        \"elapsed\": \"5m\",\n        \"defects\": null,\n        \"created_by\": 18,\n        \"custom_step_results\": null,\n        \"custom_testrail_bdd_scenario_results\": null,\n        \"custom_failure_severity\": null,\n        \"attachment_ids\": []\n    },\n    {\n        \"id\": 8659,\n        \"test_id\": 18578,\n        \"status_id\": 5,\n        \"created_on\": 1684937736,\n        \"assignedto_id\": 5,\n        \"comment\": \"This test failed\",\n        \"version\": null,\n        \"elapsed\": \"3m\",\n        \"defects\": \"TR-7\",\n        \"created_by\": 18,\n        \"custom_step_results\": null,\n        \"custom_testrail_bdd_scenario_results\": null,\n        \"custom_failure_severity\": 3,\n        \"attachment_ids\": []\n    },\n    {\n        \"id\": 8660,\n        \"test_id\": 18579,\n        \"status_id\": null,\n        \"created_on\": 1684937736,\n        \"assignedto_id\": 5,\n        \"comment\": \"No result, just a comment\",\n        \"version\": null,\n        \"elapsed\": null,\n        \"defects\": null,\n        \"created_by\": 18,\n        \"custom_step_results\": null,\n        \"custom_testrail_bdd_scenario_results\": null,\n        \"custom_failure_severity\": null,\n        \"attachment_ids\": []\n    }\n]<\/pre>\n<\/div>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_02.png\" alt=\"\" width=\"1094\" height=\"747\" class=\"aligncenter size-full wp-image-24950\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_02.png 1094w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_02-980x669.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_02-480x328.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1094px, 100vw\" \/><\/a><\/p>\n<h2>\u500b\u5225\u306e\u30c6\u30b9\u30c8\u624b\u9806\u3092\u542b\u3080\u7d50\u679c\u306e\u8ffd\u52a0<\/h2>\n<p>\u500b\u5225\u306e\u30c6\u30b9\u30c8\u624b\u9806\u306f\u3001\u3088\u308a\u8a73\u7d30\u306b\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u30e1\u30ab\u30cb\u30ba\u30e0\u3067\u3059\u3002\u5168\u4f53\u7684\u306a\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u5404\u624b\u9806\u306b\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u8a2d\u5b9a\u3057\u3001\u624b\u9806\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u306b\u306f\u3001\u5b9f\u969b\u306e\u52d5\u4f5c\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u624b\u9806\u306e\u7d50\u679c\u3092\u30b5\u30d6\u30df\u30c3\u30c8\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30dc\u30c7\u30a3 \u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"tabs\">\n<h3 class=\"tabs-menu\"><span class=\"tabs-link is-active\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<div class=\"tab\">\n<p><strong><span class=\"api_verb api_post\">POST\u3000<\/span><\/strong> <span class=\"api_url\">index.php?\/api\/v2\/add_results_for_cases\/{run_id}<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">curl -X POST \\ \n  -u \"user@example.com:password\" \\ \n  -F \"@path\/to\/data.json\" \\ \n  \"https:\/\/example.testrail.io\/index.php?\/api\/v2\/add_results_for_cases\/228\"<\/pre>\n<h3><span class=\"tabs-link\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"results\": [\n        {\n            \"case_id\": 4078,\n            \"status_id\": 5,\n            \"comment\": \"This test failed. See steps results below.\",\n            \"elapsed\": \"3m\",\n            \"environment\": \"qa03\",\n            \"custom_step_results\": [\n                {\n                    \"content\": \"Step 1\",\n                    \"expected\": \"Expected Result 1\",\n                    \"status_id\": 1\n                },\n                {\n                    \"content\": \"Step 2\",\n                    \"expected\": \"Expected Result 2\",\n                    \"actual\": \"Actual Result 2\",\n                    \"status_id\": 5\n                }\n            ]\n        }\n    ]\n}<\/pre>\n<h3><span class=\"tabs-link\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<\/div>\n<div class=\"tab\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">[\n    {\n        \"id\": 8661,\n        \"test_id\": 18578,\n        \"status_id\": 5,\n        \"created_on\": 1684938025,\n        \"assignedto_id\": null,\n        \"comment\": \"This test failed. See steps results below.\",\n        \"version\": null,\n        \"elapsed\": \"3m\",\n        \"defects\": null,\n        \"created_by\": 18,\n        \"custom_step_results\": [\n            {\n                \"content\": \"Step 1\",\n                \"expected\": \"Expected Result 1\",\n                \"actual\": \"\",\n                \"additional_info\": \"\",\n                \"refs\": \"\",\n                \"status_id\": \"1\"\n            },\n            {\n                \"content\": \"Step 2\",\n                \"expected\": \"Expected Result 2\",\n                \"actual\": \"Actual Result 2\",\n                \"additional_info\": \"\",\n                \"refs\": \"\",\n                \"status_id\": \"5\"\n            }\n        ],\n        \"custom_testrail_bdd_scenario_results\": null,\n        \"custom_failure_severity\": null,\n        \"attachment_ids\": []\n    }\n]<\/pre>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_03.png\" alt=\"\" width=\"1370\" height=\"810\" class=\"aligncenter size-full wp-image-24951\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_03.png 1370w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_03-1280x757.png 1280w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_03-980x579.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_03-480x284.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1370px, 100vw\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h2>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h2>\n<p>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u7279\u306b\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u306b\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u306b\u8ffd\u52a0\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u60c5\u5831\u3092\u63d0\u4f9b\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u753b\u9762\u30b7\u30e7\u30c3\u30c8\u3001\u52d5\u753b\u3001\u5b9f\u884c\u30ed\u30b0\u306a\u3069\u3001\u4efb\u610f\u306e\u30bf\u30a4\u30d7\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"callout callout--warning\">\n<p>[et_pb_text admin_label=&#8221;Note&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ffffdd&#8221; hover_enabled=&#8221;0&#8243; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#E1E163&#8243;]<\/p>\n<p>\u6700\u5927\u8a31\u5bb9\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u30b5\u30a4\u30ba\u306f 256MB \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>[\/et_pb_text]<\/p>\n<\/div>\n<div class=\"tabs\">\n<h3 class=\"tabs-menu\"><span class=\"tabs-link is-active\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<div>\n<p><strong><span class=\"api_verb api_post\">POST\u3000<\/span><\/strong> <span class=\"api_url\">index.php?\/api\/v2\/add_attachment_to_result\/{result_id}<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Content-Type: multipart\/form-data<\/pre>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">curl -X POST \\ \n  -u \"user@example.com:password\" \\ \n  -H \"Content-Type: multipart\/form-data\" \\\n  -F \"attachment=@C:\\\\image.jpg\" \\ \n  \"https:\/\/example.testrail.io\/index.php?\/api\/v2\/add_attachment_to_result\/8661\"<\/pre>\n<h3 class=\"tabs-menu\"><span class=\"tabs-link\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<div>\u4efb\u610f\u306e\u30d5\u30a1\u30a4\u30eb<\/div>\n<h3 class=\"tabs-menu\"><span class=\"tabs-link\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{ \"attachment_id\": \"758c9b26-6038-4147-9a4d-74cd7af1499a\" }<\/pre>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_04.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_04.png\" alt=\"\" width=\"1370\" height=\"876\" class=\"aligncenter size-full wp-image-24947\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_04.png 1370w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_04-1280x818.png 1280w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_04-980x627.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_04-480x307.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1370px, 100vw\" \/><\/a><\/p>\n<h2>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e\u30af\u30ed\u30fc\u30ba<\/h2>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u30c6\u30b9\u30c8 \u30e9\u30f3\u304a\u3088\u3073\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u8ab0\u306b\u3082\u5909\u66f4\u3055\u308c\u305f\u304f\u306a\u3044\u5834\u5408\u3001\u6b21\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u30af\u30ed\u30fc\u30ba\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"tabs\">\n<h3 class=\"tabs-menu\"><span class=\"tabs-link is-active\">\u30ea\u30af\u30a8\u30b9\u30c8<\/span><\/h3>\n<div class=\"tab\">\n<p><strong><span class=\"api_verb api_post\">POST<\/span>\u00a0\u3000<\/strong><span class=\"api_url\">index.php?\/api\/v2\/close_run\/{run_id}<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">curl -X POST \\ \n  -u \"user@example.com:password\" \\ \n  -H \"Content-Type: application\/json\" \\\n  \"https:\/\/example.testrail.io\/index.php?\/api\/v2\/close_run\/228\"<\/pre>\n<\/div>\n<h3 class=\"tabs-menu\"><span class=\"tabs-link\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<div>\u306a\u3057<\/div>\n<h3 class=\"tabs-menu\"><span class=\"tabs-link\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30dc\u30c7\u30a3\u306e\u30b5\u30f3\u30d7\u30eb<\/span><\/h3>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"id\": 228,\n    \"suite_id\": 53,\n    \"name\": \"New test run\",\n    \"description\": \"Test run description\",\n    \"milestone_id\": null,\n    \"assignedto_id\": 5,\n    \"include_all\": false,\n    \"is_completed\": true,\n    \"completed_on\": 1684939401,\n    \"config\": null,\n    \"config_ids\": [],\n    \"passed_count\": 0,\n    \"blocked_count\": 0,\n    \"untested_count\": 1,\n    \"retest_count\": 0,\n    \"failed_count\": 2,\n    \"custom_status1_count\": 0,\n    \"custom_status2_count\": 0,\n    \"custom_status3_count\": 0,\n    \"custom_status4_count\": 0,\n    \"custom_status5_count\": 0,\n    \"custom_status6_count\": 0,\n    \"custom_status7_count\": 0,\n    \"project_id\": 27,\n    \"plan_id\": null,\n    \"created_on\": 1684936873,\n    \"updated_on\": 1684936873,\n    \"refs\": null,\n    \"dataset_id\": null,\n    \"created_by\": 18,\n    \"url\": \"https:\/\/marketing80testing.testrail-staging.com\/index.php?\/runs\/view\/228\"\n}<\/pre>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_05.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_05.png\" alt=\"\" width=\"1074\" height=\"818\" class=\"aligncenter size-full wp-image-24948\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_05.png 1074w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_05-980x746.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/importing-test-results_05-480x366.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1074px, 100vw\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TestRail \u3067\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u4e2d\u592e\u7ba1\u7406\u3059\u308b\u306e\u306f\u6709\u529b\u306a\u30e6\u30fc\u30b9 \u30b1\u30fc\u30b9\u3067\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8\u4f5c\u696d\u3092 1 \u7b87\u6240\u306b\u7d71\u5408\u3057\u3001\u30c6\u30b9\u30c8\u3092\u3088\u308a\u8a73\u7d30\u306b\u53ef\u8996\u5316\u304a\u3088\u3073\u7ba1\u7406\u3067\u304d\u308b\u307b\u304b\u3001TestRail \u304c\u63d0\u4f9b\u3059\u308b\u8c4a\u5bcc\u306a\u30c6\u30b9\u30c8 \u30ec\u30dd\u30fc [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":24746,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-24940","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/comments?post=24940"}],"version-history":[{"count":23,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24940\/revisions"}],"predecessor-version":[{"id":25180,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24940\/revisions\/25180"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24746"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/media?parent=24940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}