本サービスでは、REST API がご利用いただけます。
API経由でのリクエストについて、1日約3000リクエスト、月間(30日間)で、 約10万リクエストまで、かつ、同一APIキーからは1秒あたり1リクエストの制限の中で ご利用をいただくよう、お願い申し上げます。
制限を超えるリクエストが確認された場合、APIのご利用を制限させていただく場合がございます。
リクエスト数はお客様開発のプログラムのつくりに大きく依存いたしますため、恐れながら、月間リクエスト数のお見積りはお客様ご自身にてお願いいたします。
※目安として1日1時間、1秒に1回のリクエストで3600リクエスト、平日22日間実行されたとすると、月間79200リクエストとなります。
高頻度なリクエスト送信が行われた際に、動作が不安定になる事象を回避するためAPIサーバへ送信できるリクエスト数が1秒間1リクエストに制限されております。
リクエスト数が上限を超えた場合、APIサーバは429 Too many requests
を返します。
リクエスト数エラー時には以下のヘッダが含まれます。
ヘッダ名 | ヘッダ内容 |
---|---|
ratelimit-limit |
1秒間に受付可能な最大リクエスト数 |
ratelimit-remaining |
retelimit-reset の時刻までに受付可能な残りリクエスト数 |
ratelimit-reset |
リクエスト数の計測がリセットされる時刻(UNIX時刻) |
複数のデータを返す一部のAPIは、一度にすべてのデータを返却せず、ページネーションが適用されます。
{
"total_pages": 2,
"current_page": 1,
"next_url": "http://www.example.com/api/v2/users?api_key=api_key_69&page=2",
"users": [
{
"id": 87503,
"current_tenant_id": 25883,
"email": "user_171@example.com",
"name": "user_171",
"confirmed": true
},
{
"id": 87503,
"current_tenant_id": 25883,
"email": "user_170@example.com",
"name": "user_170",
"confirmed": true
}
]
}
項目 | 型 | 説明 |
---|---|---|
total_pages |
integer | ページの総数 |
current_page |
integer | 現在のページ数 |
next_url |
string | データの次ページを返すための値。エンドポイントにnext_url を指定する。 |
curl --get \ --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/current_project"
{- "id": 77570,
- "tenant": {
- "id": 25822,
- "name": "tenant_0001",
- "cidr_whitelist": ""
}, - "name": "project_1",
- "description": "description_1",
- "label_pass": "pass",
- "label_fail": "fail",
- "label_skip": "skip",
- "label_cut": "cut",
- "label_block": "block",
- "label_na": "na",
- "label_qa": "qa",
- "excluded_from_progress_pass": false,
- "excluded_from_progress_fail": false,
- "excluded_from_progress_skip": false,
- "excluded_from_progress_cut": false,
- "excluded_from_progress_block": false,
- "excluded_from_progress_na": false,
- "excluded_from_progress_qa": false,
- "supplement_pass": null,
- "supplement_fail": null,
- "supplement_skip": null,
- "supplement_cut": null,
- "supplement_block": null,
- "supplement_na": null,
- "supplement_qa": null,
- "default_label_category1": "項目1",
- "default_label_category2": "項目2",
- "default_label_category3": "項目3",
- "default_label_category4": "項目4",
- "default_label_category5": "項目5",
- "default_label_category6": "項目6",
- "default_label_category7": "項目7",
- "default_label_category8": "項目8",
- "default_label_category9": "項目9",
- "default_label_category10": "項目10",
- "default_label_category11": "項目11",
- "default_label_category12": "項目12",
- "default_label_category13": "項目13",
- "default_label_category14": "項目14",
- "default_label_category15": "項目15",
- "default_label_category16": "項目16",
- "default_label_category17": "項目17",
- "default_label_category18": "項目18",
- "default_label_category19": "項目19",
- "default_label_category20": "項目20",
- "default_label_category21": "項目21",
- "default_label_category22": "項目22",
- "default_label_category23": "項目23",
- "default_label_category24": "項目24",
- "default_label_category25": "項目25",
- "default_label_content1": "環境",
- "default_label_content2": "バグID",
- "default_label_content3": "備考",
- "default_label_content4": "content4",
- "default_label_content5": "content5",
- "default_label_content6": "content6",
- "default_label_content7": "content7",
- "default_label_content8": "content8",
- "default_label_content9": "content9",
- "default_label_content10": "content10",
- "archived": false,
- "created_at": "2020-02-27T14:27:38.415+09:00",
- "updated_at": "2020-02-27T14:27:38.415+0"
}
ユーザの情報を取得します。
ユーザ数が特定以下の場合は"next_url"がnullのJSONを取得します。
api_key required | string プロジェクトのAPIキー |
curl --get \ --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/users"
{- "users": [
- {
- "id": 87503,
- "current_tenant_id": 25883,
- "email": "user_171@example.com",
- "name": "user_171",
- "confirmed": true
}, - {
- "id": 87503,
- "current_tenant_id": 25883,
- "email": "user_170@example.com",
- "name": "user_170",
- "confirmed": true
}
]
}
テストスイートの情報を取得します。
テストスイートが存在しない場合は”next_url”がnullのJSONを取得します。
api_key required | string プロジェクトのAPIキー |
curl --get \ --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/test_suites"
{- "test_suites": [
- {
- "id": 5632,
- "project_id": 5022,
- "name": "test_suite_100",
- "label_category1": "category1",
- "use_category1": true,
- "label_category2": "category2",
- "use_category2": true,
- "label_category3": "category3",
- "use_category3": true,
- "label_category4": "category4",
- "use_category4": true,
- "label_category5": "category5",
- "use_category5": true,
- "label_category6": "category6",
- "use_category6": true,
- "label_category7": "category7",
- "use_category7": true,
- "label_category8": "category8",
- "use_category8": true,
- "label_category9": "category9",
- "use_category9": true,
- "label_category10": "category10",
- "use_category10": true,
- "label_category11": "category11",
- "use_category11": true,
- "label_category12": "category12",
- "use_category12": true,
- "label_category13": "category13",
- "use_category13": true,
- "label_category14": "category14",
- "use_category14": true,
- "label_category15": "category15",
- "use_category15": true,
- "label_category16": "category16",
- "use_category16": true,
- "label_category17": "category17",
- "use_category17": true,
- "label_category18": "category18",
- "use_category18": true,
- "label_category19": "category19",
- "use_category19": true,
- "label_category20": "category20",
- "use_category20": true,
- "label_category21": "category21",
- "use_category21": true,
- "label_category22": "category22",
- "use_category22": true,
- "label_category23": "category23",
- "use_category23": true,
- "label_category24": "category24",
- "use_category24": true,
- "label_category25": "category25",
- "use_category25": true,
- "label_content1": "content1",
- "use_content1": true,
- "label_content2": "content2",
- "use_content2": true,
- "label_content3": "content3",
- "use_content3": true,
- "label_content4": "content4",
- "use_content4": true,
- "label_content5": "content5",
- "use_content5": true,
- "label_content6": "content6",
- "use_content6": true,
- "label_content7": "content7",
- "use_content7": true,
- "label_content8": "content8",
- "use_content8": true,
- "label_content9": "content9",
- "use_content9": true,
- "label_content10": "content10",
- "use_content10": true,
- "coverage_panel_column": null,
- "archived": false,
- "test_blocker_column": null,
- "created_at": "2020-10-28T15:57:37.924+09:00",
- "updated_at": "2020-10-28T15:57:37.924+09:00"
}, - {
- "id": 87503,
- "project_id": 25883,
- "name": "test_suite_363",
- "label_category1": "category1",
- "use_category1": true,
- "label_category2": "category2",
- "use_category2": true,
- "label_category3": "category3",
- "use_category3": true,
- "label_category4": "category4",
- "use_category4": true,
- "label_category5": "category5",
- "use_category5": true,
- "label_category6": "category6",
- "use_category6": true,
- "label_category7": "category7",
- "use_category7": true,
- "label_category8": "category8",
- "use_category8": true,
- "label_category9": "category9",
- "use_category9": true,
- "label_category10": "category10",
- "use_category10": true,
- "label_category11": "category11",
- "use_category11": true,
- "label_category12": "category12",
- "use_category12": true,
- "label_category13": "category13",
- "use_category13": true,
- "label_category14": "category14",
- "use_category14": true,
- "label_category15": "category15",
- "use_category15": true,
- "label_category16": "category16",
- "use_category16": true,
- "label_category17": "category17",
- "use_category17": true,
- "label_category18": "category18",
- "use_category18": true,
- "label_category19": "category19",
- "use_category19": true,
- "label_category20": "category20",
- "use_category20": true,
- "label_category21": "category21",
- "use_category21": true,
- "label_category22": "category22",
- "use_category22": true,
- "label_category23": "category23",
- "use_category23": true,
- "label_category24": "category24",
- "use_category24": true,
- "label_category25": "category25",
- "use_category25": true,
- "label_content1": "content1",
- "use_content1": true,
- "label_content2": "content2",
- "use_content2": true,
- "label_content3": "content3",
- "use_content3": true,
- "label_content4": "content4",
- "use_content4": true,
- "label_content5": "content5",
- "use_content5": true,
- "label_content6": "content6",
- "use_content6": true,
- "label_content7": "content7",
- "use_content7": true,
- "label_content8": "content8",
- "use_content8": true,
- "label_content9": "content9",
- "use_content9": true,
- "label_content10": "content10",
- "use_content10": true,
- "coverage_panel_column": null,
- "archived": false,
- "test_blocker_column": null,
- "created_at": "2020-10-28T15:57:37.924+09:00",
- "updated_at": "2020-10-28T15:57:37.924+09:00"
}
]
}
テストスイートを作成します。
テストスイートの名前(test_suite["name"])がない場合、カバレッジパネルの集計に利用するテスト定義項目の番号(coverage_panel_column)またはテストブロッカーの集計に利用するテスト定義項目の番号(test_blocker_column)に不正な値が入力されている場合はエラーが返ります。
テスト定義項目ラベル(test_suite["label_category"])、テスト結果ラベル(test_suite["label_content1"])の上限はお申込内容に応じて異なります。
api_key required | string プロジェクトのAPIキー |
object |
{- "test_suite": {
- "name": "string",
- "label_category1": "string",
- "label_category2": "string",
- "label_category3": "string",
- "label_category4": "string",
- "label_category5": "string",
- "label_category6": "string",
- "label_category7": "string",
- "label_category8": "string",
- "label_category9": "string",
- "label_category10": "string",
- "label_category11": "string",
- "label_category12": "string",
- "label_category13": "string",
- "label_category14": "string",
- "label_category15": "string",
- "label_category16": "string",
- "label_category17": "string",
- "label_category18": "string",
- "label_category19": "string",
- "label_category20": "string",
- "label_category21": "string",
- "label_category22": "string",
- "label_category23": "string",
- "label_category24": "string",
- "label_category25": "string",
- "use_category1": true,
- "use_category2": true,
- "use_category3": true,
- "use_category4": true,
- "use_category5": true,
- "use_category6": true,
- "use_category7": true,
- "use_category8": true,
- "use_category9": true,
- "use_category10": true,
- "use_category11": true,
- "use_category12": true,
- "use_category13": true,
- "use_category14": true,
- "use_category15": true,
- "use_category16": true,
- "use_category17": true,
- "use_category18": true,
- "use_category19": true,
- "use_category20": true,
- "use_category21": true,
- "use_category22": true,
- "use_category23": true,
- "use_category24": true,
- "use_category25": true,
- "label_content1": "string",
- "label_content2": "string",
- "label_content3": "string",
- "label_content4": "string",
- "label_content5": "string",
- "label_content6": "string",
- "label_content7": "string",
- "label_content8": "string",
- "label_content9": "string",
- "label_content10": "string",
- "use_content1": true,
- "use_content2": true,
- "use_content3": true,
- "use_content4": true,
- "use_content5": true,
- "use_content6": true,
- "use_content7": true,
- "use_content8": true,
- "use_content9": true,
- "use_content10": true,
- "coverage_panel_column": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "archived": true,
- "test_model_id": 0,
- "test_blocker_column": 0
}
}
{- "id": 87503,
- "project_id": 25883,
- "name": "test_suite_363",
- "label_category1": "category1",
- "use_category1": true,
- "label_category2": "category2",
- "use_category2": true,
- "label_category3": "category3",
- "use_category3": true,
- "label_category4": "category4",
- "use_category4": true,
- "label_category5": "category5",
- "use_category5": true,
- "label_category6": "category6",
- "use_category6": true,
- "label_category7": "category7",
- "use_category7": true,
- "label_category8": "category8",
- "use_category8": true,
- "label_category9": "category9",
- "use_category9": true,
- "label_category10": "category10",
- "use_category10": true,
- "label_category11": "category11",
- "use_category11": true,
- "label_category12": "category12",
- "use_category12": true,
- "label_category13": "category13",
- "use_category13": true,
- "label_category14": "category14",
- "use_category14": true,
- "label_category15": "category15",
- "use_category15": true,
- "label_category16": "category16",
- "use_category16": true,
- "label_category17": "category17",
- "use_category17": true,
- "label_category18": "category18",
- "use_category18": true,
- "label_category19": "category19",
- "use_category19": true,
- "label_category20": "category20",
- "use_category20": true,
- "label_category21": "category21",
- "use_category21": true,
- "label_category22": "category22",
- "use_category22": true,
- "label_category23": "category23",
- "use_category23": true,
- "label_category24": "category24",
- "use_category24": true,
- "label_category25": "category25",
- "use_category25": true,
- "label_content1": "content1",
- "use_content1": true,
- "label_content2": "content2",
- "use_content2": true,
- "label_content3": "content3",
- "use_content3": true,
- "label_content4": "content4",
- "use_content4": true,
- "label_content5": "content5",
- "use_content5": true,
- "label_content6": "content6",
- "use_content6": true,
- "label_content7": "content7",
- "use_content7": true,
- "label_content8": "content8",
- "use_content8": true,
- "label_content9": "content9",
- "use_content9": true,
- "label_content10": "content10",
- "use_content10": true,
- "coverage_panel_column": null,
- "archived": false,
- "test_blocker_column": null,
- "created_at": "2020-10-28T15:57:37.924+09:00",
- "updated_at": "2020-10-28T15:57:37.924+09:00"
}
テストスイートの情報を更新します。
テストスイート名(test_suite["name"])を更新する場合、値が入力されないリクエストはエラーが返ります。
テスト定義項目ラベル(test_suite["label_category"])、テスト結果ラベル(test_suite["label_content1"])の上限はお申込内容に応じて異なります。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
api_key required | string プロジェクトのAPIキー |
object |
{- "test_suite": {
- "name": "テストスイート",
- "label_category1": "string",
- "label_category2": "string",
- "label_category3": "string",
- "label_category4": "string",
- "label_category5": "string",
- "label_category6": "string",
- "label_category7": "string",
- "label_category8": "string",
- "label_category9": "string",
- "label_category10": "string",
- "label_category11": "string",
- "label_category12": "string",
- "label_category13": "string",
- "label_category14": "string",
- "label_category15": "string",
- "label_category16": "string",
- "label_category17": "string",
- "label_category18": "string",
- "label_category19": "string",
- "label_category20": "string",
- "label_category21": "string",
- "label_category22": "string",
- "label_category23": "string",
- "label_category24": "string",
- "label_category25": "string",
- "use_category1": true,
- "use_category2": true,
- "use_category3": true,
- "use_category4": true,
- "use_category5": true,
- "use_category6": true,
- "use_category7": true,
- "use_category8": true,
- "use_category9": true,
- "use_category10": true,
- "use_category11": true,
- "use_category12": true,
- "use_category13": true,
- "use_category14": true,
- "use_category15": true,
- "use_category16": true,
- "use_category17": true,
- "use_category18": true,
- "use_category19": true,
- "use_category20": true,
- "use_category21": true,
- "use_category22": true,
- "use_category23": true,
- "use_category24": true,
- "use_category25": true,
- "label_content1": "string",
- "label_content2": "string",
- "label_content3": "string",
- "label_content4": "string",
- "label_content5": "string",
- "label_content6": "string",
- "label_content7": "string",
- "label_content8": "string",
- "label_content9": "string",
- "label_content10": "string",
- "use_content1": true,
- "use_content2": true,
- "use_content3": true,
- "use_content4": true,
- "use_content5": true,
- "use_content6": true,
- "use_content7": true,
- "use_content8": true,
- "use_content9": true,
- "use_content10": true,
- "coverage_panel_column": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "archived": true,
- "test_model_id": 0,
- "test_blocker_column": 0
}
}
{- "id": 87503,
- "project_id": 25883,
- "name": "test_suite_363",
- "label_category1": "category1",
- "use_category1": true,
- "label_category2": "category2",
- "use_category2": true,
- "label_category3": "category3",
- "use_category3": true,
- "label_category4": "category4",
- "use_category4": true,
- "label_category5": "category5",
- "use_category5": true,
- "label_category6": "category6",
- "use_category6": true,
- "label_category7": "category7",
- "use_category7": true,
- "label_category8": "category8",
- "use_category8": true,
- "label_category9": "category9",
- "use_category9": true,
- "label_category10": "category10",
- "use_category10": true,
- "label_category11": "category11",
- "use_category11": true,
- "label_category12": "category12",
- "use_category12": true,
- "label_category13": "category13",
- "use_category13": true,
- "label_category14": "category14",
- "use_category14": true,
- "label_category15": "category15",
- "use_category15": true,
- "label_category16": "category16",
- "use_category16": true,
- "label_category17": "category17",
- "use_category17": true,
- "label_category18": "category18",
- "use_category18": true,
- "label_category19": "category19",
- "use_category19": true,
- "label_category20": "category20",
- "use_category20": true,
- "label_category21": "category21",
- "use_category21": true,
- "label_category22": "category22",
- "use_category22": true,
- "label_category23": "category23",
- "use_category23": true,
- "label_category24": "category24",
- "use_category24": true,
- "label_category25": "category25",
- "use_category25": true,
- "label_content1": "content1",
- "use_content1": true,
- "label_content2": "content2",
- "use_content2": true,
- "label_content3": "content3",
- "use_content3": true,
- "label_content4": "content4",
- "use_content4": true,
- "label_content5": "content5",
- "use_content5": true,
- "label_content6": "content6",
- "use_content6": true,
- "label_content7": "content7",
- "use_content7": true,
- "label_content8": "content8",
- "use_content8": true,
- "label_content9": "content9",
- "use_content9": true,
- "label_content10": "content10",
- "use_content10": true,
- "coverage_panel_column": null,
- "archived": false,
- "test_blocker_column": null,
- "created_at": "2020-10-28T15:57:37.924+09:00",
- "updated_at": "2020-10-28T15:57:37.924+09:00"
}
テストスイートを削除します。
レスポンスボディは返りません。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
api_key required | string プロジェクトのAPIキー |
curl --request DELETE \ "https://cloud.veriserve.co.jp/api/v2/test_suites/[対象のテストスイートid]?api_key=[生成したAPIキー]"
null
テストスイートバージョンの情報を取得します。
テストスイートが存在しない場合、"next_url"がnullのJSONを取得します。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
api_key required | string プロジェクトのAPIキー |
curl --get \ --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/test_suites/[対象のテストスイートid]/test_suite_versions"
{- "test_suite_versions": [
- {
- "id": 90704,
- "test_suite_id": 91208,
- "name": "test_suite_version_110",
- "status": "available",
- "user": {
- "id": 87369,
- "current_tenant_id": 25866,
- "email": "user_54@example.com",
- "name": "user_54",
- "confirmed": true
}, - "note": "note_110",
- "latest_test_cycle_duration_sec": 0,
- "lock": false,
- "lock_memo": null,
- "created_at": "2020-02-27T14:29:56.852+09:00",
- "updated_at": "2020-02-27T14:29:56.852+09:00"
}
]
}
テストスイートバージョンを作成します。
テストスイートバージョン名(test_suite_version["name"])の値がない場合、エラーが返ります。
テスト定義項目ラベル(test_suite_version["label_category1"])、テスト結果ラベル(test_suite_version["label_content1"])の上限はお申込内容に応じて異なります。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
api_key required | string プロジェクトのAPIキー |
object |
{- "test_suite_version": {
- "name": "string",
- "user_id": 0,
- "note": "string",
- "latest_test_cycle_duration_sec": 0,
- "status": 1,
- "lock": true,
- "lock_memo": "string",
- "tag_list": "string"
}
}
{- "id": 90704,
- "test_suite_id": 91208,
- "name": "test_suite_version_413",
- "status": "available",
- "note": "note_413",
- "latest_test_cycle_duration_sec": 0,
- "lock": false,
- "lock_memo": null,
- "created_at": "2020-02-27T14:29:56.852+09:00",
- "updated_at": "2020-02-27T14:29:56.852+09:00"
}
テストスイートの情報を更新します。
テストスイートバージョン名(test_suite_version["name"])を更新する場合、値が入力されていないリクエストはエラーが返ります。
テスト定義項目(test_suite_version["label_category1"])、テスト結果ラベル(test_suite_version["label_content1"])の上限はお申込内容に応じて異なります。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
test_suite_version[id] required | integer テストスイートバージョンID 例)テストスイートバージョン設定のURLが以下の場合、test_suite_version[id]=3
|
api_key required | string プロジェクトのAPIキー |
object |
{- "test_suite_version": {
- "name": "string",
- "user_id": 0,
- "note": "string",
- "status": 1,
- "lock": true,
- "lock_memo": "string",
- "tag_list": "string"
}
}
{- "id": 90704,
- "test_suite_id": 91208,
- "name": "test_suite_version_516",
- "status": "available",
- "user": {
- "id": 87369,
- "current_tenant_id": 25866,
- "email": "user_54@example.com",
- "name": "user_54",
- "confirmed": true
}, - "note": "note_516",
- "latest_test_cycle_duration_sec": 0,
- "lock": false,
- "lock_memo": null,
- "created_at": "2020-02-27T14:29:56.852+09:00",
- "updated_at": "2020-02-27T14:29:56.852+09:00"
}
テストスイートバージョンを削除します。
レスポンスボディは返りません。
テストスイートバージョンが1つしか存在しない場合はエラーが返ります。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
test_suite_version[id] required | integer テストスイートバージョンID 例)テストスイートバージョン設定のURLが以下の場合、test_suite_version[id]=3
|
api_key required | string プロジェクトのAPIキー |
curl --request DELETE \ "https://cloud.veriserve.co.jp/api/v2/test_suites/[対象のテストスイートバージョン]/test_suite_versions/[対象のテストスイートバージョンid]?api_key=[生成したAPIキー]"
null
テストケースの情報を取得します。
テストケースの数が一定以下の場合は"next_url"がnullのJSONを取得します。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
test_suite_version[id] required | integer テストスイートバージョンID 例)テストスイートバージョン設定のURLが以下の場合、test_suite_version[id]=3
|
api_key required | string プロジェクトのAPIキー |
curl --get \ --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/test_suites/[対象のテストスイートid]/test_suite_versions/[対象のテストスイートバージョンid]/test_cases"
{- "test_cases": [
- {
- "id": 1160071,
- "test_suite_version_id": 90595,
- "no": 1,
- "priority": null,
- "category1": null,
- "created_at": "2020-02-27T14:29:56.852+09:00",
- "updated_at": "2020-02-27T14:29:56.852+09:00"
}, - {
- "id": 1160070,
- "test_suite_version_id": 90595,
- "no": 1,
- "priority": null,
- "category1": null,
- "created_at": "2020-02-27T14:29:56.852+09:00",
- "updated_at": "2020-02-27T14:29:56.852+09:00"
}
]
}
任意のテストスイート内にテストケースを作成します。
必須項目の値が不正な場合はエラーが返ります。
テスト定義項目(test_case["category"])の数はお申込内容に応じて異なります(通常25、最大150まで)。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
test_suite_version[id] required | integer テストスイートバージョンID 例)テストスイートバージョン設定のURLが以下の場合、test_suite_version[id]=3
|
api_key required | string プロジェクトのAPIキー |
object |
{- "test_case": {
- "no": 0,
- "priority": 1,
- "category1": "string",
- "category2": "string",
- "category3": "string",
- "category4": "string",
- "category5": "string",
- "category6": "string",
- "category7": "string",
- "category8": "string",
- "category9": "string",
- "category10": "string",
- "category11": "string",
- "category12": "string",
- "category13": "string",
- "category14": "string",
- "category15": "string",
- "category16": "string",
- "category17": "string",
- "category18": "string",
- "category19": "string",
- "category20": "string",
- "category21": "string",
- "category22": "string",
- "category23": "string",
- "category24": "string",
- "category25": "string",
- "test_model_item_uuid": "string"
}
}
{- "id": 1160373,
- "test_suite_version_id": 90599,
- "no": 304,
- "priority": null,
- "category1": null,
- "category2": null,
- "category3": null,
- "category4": null,
- "category5": null,
- "category6": null,
- "category7": null,
- "category8": null,
- "category9": null,
- "category10": null,
- "created_at": "2020-02-27T14:29:56.852+09:00",
- "updated_at": "2020-02-27T14:29:56.852+09:00"
}
任意のテストスイート内にテストケースを複数作成します。
必須項目の値が不正な場合はエラーが返ります。
テスト定義項目(test_case["category"])の数はお申込内容に応じて異なります(通常25、最大150まで)。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
test_suite_version[id] required | integer テストスイートバージョンID 例)テストスイートバージョン設定のURLが以下の場合、test_suite_version[id]=3
|
api_key required | string プロジェクトのAPIキー |
Array of objects |
{- "test_cases": [
- {
- "no": 0,
- "priority": 1,
- "category1": "string",
- "category2": "string",
- "category3": "string",
- "category4": "string",
- "category5": "string",
- "category6": "string",
- "category7": "string",
- "category8": "string",
- "category9": "string",
- "category10": "string",
- "category11": "string",
- "category12": "string",
- "category13": "string",
- "category14": "string",
- "category15": "string",
- "category16": "string",
- "category17": "string",
- "category18": "string",
- "category19": "string",
- "category20": "string",
- "category21": "string",
- "category22": "string",
- "category23": "string",
- "category24": "string",
- "category25": "string"
}
]
}
{- "test_cases": [
- {
- "id": 105,
- "test_suite_version_id": 2,
- "no": 1,
- "priority": "A",
- "category1": "new",
- "category2": null,
- "category3": null,
- "category4": null,
- "category5": null,
- "category6": null,
- "category7": null,
- "category8": null,
- "category9": null,
- "category10": null,
- "category11": null,
- "category12": null,
- "category13": null,
- "category14": null,
- "category15": null,
- "category16": null,
- "category17": null,
- "category18": null,
- "category19": null,
- "category20": null,
- "category21": null,
- "category22": null,
- "category23": null,
- "category24": null,
- "category25": null,
- "created_at": "2024-03-01T14:57:21.411+09:00",
- "updated_at": "2024-03-01T14:57:21.503+09:00"
}, - {
- "id": 106,
- "test_suite_version_id": 2,
- "no": 2,
- "priority": "A",
- "category1": "new",
- "category2": null,
- "category3": null,
- "category4": null,
- "category5": null,
- "category6": null,
- "category7": null,
- "category8": null,
- "category9": null,
- "category10": null,
- "category11": null,
- "category12": null,
- "category13": null,
- "category14": null,
- "category15": null,
- "category16": null,
- "category17": null,
- "category18": null,
- "category19": null,
- "category20": null,
- "category21": null,
- "category22": null,
- "category23": null,
- "category24": null,
- "category25": null,
- "created_at": "2024-03-01T14:57:21.411+09:00",
- "updated_at": "2024-03-01T14:57:21.503+09:00"
}
]
}
任意のテストスイート内のテストケースの情報を更新します。
必須項目の値が不正な場合はエラーが返ります。
テスト定義項目(test_case["category"])の上限はお申込内容に応じて異なります(通常25、最大150まで)。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
test_suite_version[id] required | integer テストスイートバージョンID 例)テストスイートバージョン設定のURLが以下の場合、test_suite_version[id]=3
|
test_case[id] required | string テストケース固有ID |
api_key required | string プロジェクトのAPIキー |
object |
{- "test_case": {
- "priority": 1,
- "category1": "string",
- "category2": "string",
- "category3": "string",
- "category4": "string",
- "category5": "string",
- "category6": "string",
- "category7": "string",
- "category8": "string",
- "category9": "string",
- "category10": "string",
- "category11": "string",
- "category12": "string",
- "category13": "string",
- "category14": "string",
- "category15": "string",
- "category16": "string",
- "category17": "string",
- "category18": "string",
- "category19": "string",
- "category20": "string",
- "category21": "string",
- "category22": "string",
- "category23": "string",
- "category24": "string",
- "category25": "string"
}
}
{- "id": 1160373,
- "test_suite_version_id": 90599,
- "no": 304,
- "priority": "A",
- "category1": null,
- "category2": null,
- "category3": null,
- "category4": null,
- "category5": null,
- "category6": null,
- "category7": null,
- "category8": null,
- "category9": null,
- "category10": null,
- "created_at": "2020-02-27T14:29:56.852+09:00",
- "updated_at": "2020-02-27T14:29:56.852+09:00"
}
任意のテストスイート内のテストケースを削除します。
レスポンスボディは返りません。
test_suite[id] required | integer テストスイートID 例)テストスイート設定画面のURLが以下の場合、test_suite[id]=2
|
test_suite_version[id] required | integer テストスイートバージョンID 例)テストスイートバージョン設定のURLが以下の場合、test_suite_version[id]=3
|
test_case[id] required | string テストケース固有ID |
api_key required | string プロジェクトのAPIキー |
curl --request DELETE \ "https://cloud.veriserve.co.jp/api/v2/test_suites/[対象のテストスイートid]/test_suite_versions/[対象のテストスイートバージョンid]/test_cases/[対象のテストケースid]?api_key=[生成したAPIキー]"
null
テストフェーズの情報を取得します。
テストフェーズの数が一定以下の場合は”next_url”がnullのJSONを取得します。
api_key required | string プロジェクトのAPIキー |
curl --get \ --data "api_key=生成したAPIキー" \ "https://cloud.veriserve.co.jp/api/v2/test_phases"
{- "test_phases": [
- {
- "id": 54384,
- "name": "test_phase_100",
- "start_on": "2020-02-26",
- "end_on": "2020-02-26",
- "redmine_issues_url": null,
- "test_suite_assignments": [
- {
- "id": 67418,
- "test_phase_id": 54384,
- "test_suite_version_id": 90649,
- "test_suite_name": "test_suite_16",
- "test_suite_version_name": "test_suite_version_55"
}
], - "archived": false,
- "created_at": "2020-02-27T14:28:59.174+09:00",
- "updated_at": "2020-02-27T14:28:59.174+09:00"
}
]
}
テストフェーズを作成します。
必須項目の値が不正な場合はエラーが返ります。
api_key required | string プロジェクトのAPIキー |
object |
{- "test_phase": {
- "name": "string",
- "start_on": "2019-08-24T14:15:22Z",
- "end_on": "2019-08-24T14:15:22Z",
- "redmine_issues_url": "string",
- "redmine_base_url": "string",
- "redmine_latest_issues_url": "string",
- "jira_username": "string",
- "jira_site": "string",
- "jira_context_path": "string",
- "jira_jql": "string",
- "bug_tracking_system": 1,
- "reviewer_emails": "string",
- "archived": true,
- "jira_password": "string",
- "test_suite_version_ids": [
- 0
]
}
}
{- "id": 54628,
- "project_id": 77591,
- "name": "test_phase_344",
- "start_on": "2020-02-26",
- "end_on": "2020-02-29",
- "redmine_issues_url": null,
- "test_suite_assignments": [
- {
- "id": 67906,
- "test_phase_id": 54628,
- "test_suite_version_id": 90659,
- "test_suite_name": "test_suite_18",
- "test_suite_version_name": "test_suite_version_65"
}, - {
- "id": 67907,
- "test_phase_id": 54628,
- "test_suite_version_id": 90660,
- "test_suite_name": "test_suite_18",
- "test_suite_version_name": "test_suite_version_66"
}
], - "archived": false,
- "created_at": "2020-02-27T14:28:59.174+09:00",
- "updated_at": "2020-02-27T14:28:59.174+09:00"
}
テストフェーズを更新します。
テストフェーズ名(test_phase["name"]),フェーズ開始日(test_phase["start_on"]),フェーズ終了日(test_phase["end_on"])を更新する場合、値のないリクエストはエラーが返ります。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
api_key required | string プロジェクトのAPIキー |
object |
{- "test_phase": {
- "name": "string",
- "start_on": "2019-08-24T14:15:22Z",
- "end_on": "2019-08-24T14:15:22Z",
- "redmine_issues_url": "string",
- "redmine_base_url": "string",
- "redmine_latest_issues_url": "string",
- "jira_username": "string",
- "jira_site": "string",
- "jira_context_path": "string",
- "jira_jql": "string",
- "bug_tracking_system": 1,
- "reviewer_emails": "string",
- "archived": true,
- "jira_password": "string",
- "test_suite_version_ids": [
- 0
]
}
}
{- "id": 54628,
- "project_id": 77591,
- "name": "test_phase_344",
- "start_on": "2020-02-26",
- "end_on": "2020-02-29",
- "redmine_issues_url": null,
- "test_suite_assignments": [
- {
- "id": 67906,
- "test_phase_id": 54628,
- "test_suite_version_id": 90659,
- "test_suite_name": "test_suite_18",
- "test_suite_version_name": "test_suite_version_65"
}, - {
- "id": 67907,
- "test_phase_id": 54628,
- "test_suite_version_id": 90660,
- "test_suite_name": "test_suite_18",
- "test_suite_version_name": "test_suite_version_66"
}
], - "archived": false,
- "created_at": "2020-02-27T14:28:59.174+09:00",
- "updated_at": "2020-02-27T14:28:59.174+09:00"
}
任意のテストフェーズを削除します。
レスポンスボディは返りません。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
api_key required | string プロジェクトのAPIキー |
curl --request DELETE \ "https://cloud.veriserve.co.jp/api/v2/test_phases/[対象のテストフェーズid]?api_key=[生成したAPIキー]"
null
テストサイクルの情報を取得します。
テストサイクルの数が一定以下の場合は”next_url”がnullのJSONを取得します。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
api_key required | string プロジェクトのAPIキー |
curl --get \ --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/test_phases/[対象のテストフェーズid]/test_suite_assignments/[対象のテストフェーズに紐づけられたテストスイートバージョンid]/test_cycles"
{- "test_cycles": [
- {
- "id": 428,
- "status": null,
- "name": null,
- "target_priorities": [
- "A"
], - "target_results": [
- null
], - "target_test_case_no_list": [
- 1,
- 2
], - "test_suite_assignment_id": 3636,
- "start_on": "2020-08-26",
- "end_on": "2020-08-29",
- "tester_id": null,
- "created_at": "2020-08-27T14:27:36.376+09:00",
- "updated_at": "2020-08-27T14:27:36.376+09:00"
}
]
}
テストサイクルを作成します。
必須項目の値が不正な場合はエラーが返ります。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
api_key required | string プロジェクトのAPIキー |
object |
{- "test_cycle": {
- "status": 1,
- "name": "string",
- "target_priorities": [
- "A"
], - "start_on": "2019-08-24T14:15:22Z",
- "end_on": "2019-08-24T14:15:22Z",
- "default_value_content1": "string",
- "default_value_content2": "string",
- "default_value_content3": "string",
- "default_value_content4": "string",
- "default_value_content5": "string",
- "default_value_content6": "string",
- "default_value_content7": "string",
- "default_value_content8": "string",
- "default_value_content9": "string",
- "default_value_content10": "string",
- "default_value_content11": "string",
- "default_value_content12": "string",
- "default_value_content13": "string",
- "default_value_content14": "string",
- "default_value_content15": "string",
- "default_value_content16": "string",
- "default_value_content17": "string",
- "default_value_content18": "string",
- "default_value_content19": "string",
- "default_value_content20": "string",
- "default_value_content21": "string",
- "default_value_content22": "string",
- "default_value_content23": "string",
- "default_value_content24": "string",
- "default_value_content25": "string",
- "default_value_content26": "string",
- "default_value_content27": "string",
- "default_value_content28": "string",
- "default_value_content29": "string",
- "default_value_content30": "string",
- "default_value_content31": "string",
- "default_value_content32": "string",
- "default_value_content33": "string",
- "default_value_content34": "string",
- "default_value_content35": "string",
- "default_value_content36": "string",
- "default_value_content37": "string",
- "default_value_content38": "string",
- "default_value_content39": "string",
- "default_value_content40": "string",
- "default_value_content41": "string",
- "default_value_content42": "string",
- "default_value_content43": "string",
- "default_value_content44": "string",
- "default_value_content45": "string",
- "default_value_content46": "string",
- "default_value_content47": "string",
- "default_value_content48": "string",
- "default_value_content49": "string",
- "default_value_content50": "string",
- "tester_id": 0
}
}
{- "id": 4914,
- "status": "unexecuted",
- "name": "testtest",
- "target_priorities": [
- "A"
], - "target_results": [
- null
], - "target_test_case_no_list": [
- 1,
- 2
], - "test_suite_assignment_id": 3681,
- "start_on": "2020-08-26",
- "end_on": "2020-08-29",
- "tester_id": null,
- "created_at": "2020-08-27T14:27:36.376+09:00",
- "updated_at": "2020-08-27T14:27:36.376+09:00"
}
テストサイクルの情報をCSV形式で出力します。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
api_key required | string プロジェクトのAPIキー |
curl --get --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/test_phases/[対象のテストフェーズid]/test_suite_assignments/[対象のテストフェーズに紐づけられたテストスイートバージョンid]/test_cycles/[対象のテストサイクルid].csv"
識別ID,優先度,category1,category2,category3,category4,category5,category6,category7,category8,category9,category10,category11,category12,category13,category14,category15,category16,category17,category18,category19,category20,category21,category22,category23,category24,category25,テスト実施者,テスト実施日,テスト結果,content1,content2,content3,content4,content5,content6,content7,content8,content9,content10 1,A,1,,,,,,,,,,,,,,,,,,,,,,,,,user_5,2016/01/01,pass,,,,,,,,,,
テストサイクルの情報を更新します。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
api_key required | string プロジェクトのAPIキー |
object |
{- "test_cycle": {
- "status": 1,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "target_priorities": [
- "A"
], - "start_on": "2019-08-24T14:15:22Z",
- "end_on": "2019-08-24T14:15:22Z",
- "default_value_content1": "string",
- "default_value_content2": "string",
- "default_value_content3": "string",
- "default_value_content4": "string",
- "default_value_content5": "string",
- "default_value_content6": "string",
- "default_value_content7": "string",
- "default_value_content8": "string",
- "default_value_content9": "string",
- "default_value_content10": "string",
- "default_value_content11": "string",
- "default_value_content12": "string",
- "default_value_content13": "string",
- "default_value_content14": "string",
- "default_value_content15": "string",
- "default_value_content16": "string",
- "default_value_content17": "string",
- "default_value_content18": "string",
- "default_value_content19": "string",
- "default_value_content20": "string",
- "default_value_content21": "string",
- "default_value_content22": "string",
- "default_value_content23": "string",
- "default_value_content24": "string",
- "default_value_content25": "string",
- "default_value_content26": "string",
- "default_value_content27": "string",
- "default_value_content28": "string",
- "default_value_content29": "string",
- "default_value_content30": "string",
- "default_value_content31": "string",
- "default_value_content32": "string",
- "default_value_content33": "string",
- "default_value_content34": "string",
- "default_value_content35": "string",
- "default_value_content36": "string",
- "default_value_content37": "string",
- "default_value_content38": "string",
- "default_value_content39": "string",
- "default_value_content40": "string",
- "default_value_content41": "string",
- "default_value_content42": "string",
- "default_value_content43": "string",
- "default_value_content44": "string",
- "default_value_content45": "string",
- "default_value_content46": "string",
- "default_value_content47": "string",
- "default_value_content48": "string",
- "default_value_content49": "string",
- "default_value_content50": "string",
- "tester_id": 0
}
}
{- "id": 4914,
- "status": "unexecuted",
- "name": "testtest",
- "target_priorities": [
- "A"
], - "target_results": [
- null
], - "target_test_case_no_list": [
- 1,
- 2
], - "test_suite_assignment_id": 3681,
- "start_on": "2020-08-26",
- "end_on": "2020-08-29",
- "tester_id": null,
- "created_at": "2020-08-27T14:27:36.376+09:00",
- "updated_at": "2020-08-27T14:27:36.376+09:00"
}
任意のテストサイクルを削除します。
レスポンスボディは返りません。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
api_key required | string プロジェクトのAPIキー |
curl --request DELETE \ "https://cloud.veriserve.co.jp/api/v2/test_phases/[対象のテストフェーズid]/test_suite_assignments/[対象のテストフェーズに紐づけられたテストスイートバージョンid]/test_cycles/[対象のテストサイクルid]?api_key=[生成したAPIキー]"
null
テスト結果を取得します。
テスト結果が存在しない場合、"next_url"がnullのJSONを取得します。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
api_key required | string プロジェクトのAPIキー |
curl --get\ --data "api_key=[生成したAPIキー]" \ "https://cloud.veriserve.co.jp/api/v2/test_phases/[対象のテストフェーズid]/test_suite_assignments/[対象のテストフェーズに紐づけられたテストスイートバージョンid]/test_cycles/[対象のテストサイクルid]/test_results"
{- "test_cycle": {
- "id": 38981,
- "status": "unexecuted",
- "name": "test_cycle_825",
- "target_priorities": [
- "A"
], - "target_results": [
- null
], - "target_test_case_no_list": [
- 1,
- 2
], - "test_suite_assignment_id": 68717,
- "start_on": "2020-08-26",
- "end_on": "2020-08-29",
- "tester_id": null,
- "created_at": "2020-08-27T14:27:36.376+09:00",
- "updated_at": "2020-08-27T14:27:36.376+09:00"
}, - "test_suite": {
- "id": 5632,
- "project_id": 5022,
- "name": "test_suite_100",
- "label_category1": "category1",
- "use_category1": true,
- "label_category2": "category2",
- "use_category2": true,
- "label_category3": "category3",
- "use_category3": true,
- "label_category4": "category4",
- "use_category4": false,
- "label_category5": "category5",
- "use_category5": false,
- "label_category6": "category6",
- "use_category6": false,
- "label_category7": "category7",
- "use_category7": false,
- "label_category8": "category8",
- "use_category8": false,
- "label_category9": "category9",
- "use_category9": false,
- "label_category10": "category10",
- "use_category10": false,
- "label_category11": "category11",
- "use_category11": false,
- "label_category12": "category12",
- "use_category12": false,
- "label_category13": "category13",
- "use_category13": false,
- "label_category14": "category14",
- "use_category14": false,
- "label_category15": "category15",
- "use_category15": false,
- "label_category16": "category16",
- "use_category16": false,
- "label_category17": "category17",
- "use_category17": false,
- "label_category18": "category18",
- "use_category18": false,
- "label_category19": "category19",
- "use_category19": false,
- "label_category20": "category20",
- "use_category20": false,
- "label_category21": "category21",
- "use_category21": false,
- "label_category22": "category22",
- "use_category22": false,
- "label_category23": "category23",
- "use_category23": false,
- "label_category24": "category24",
- "use_category24": false,
- "label_category25": "category25",
- "use_category25": false,
- "label_content1": "content1",
- "use_content1": true,
- "label_content2": "content2",
- "use_content2": true,
- "label_content3": "content3",
- "use_content3": true,
- "label_content4": "content4",
- "use_content4": false,
- "label_content5": "content5",
- "use_content5": false,
- "label_content6": "content6",
- "use_content6": false,
- "label_content7": "content7",
- "use_content7": false,
- "label_content8": "content8",
- "use_content8": false,
- "label_content9": "content9",
- "use_content9": false,
- "label_content10": "content10",
- "use_content10": false,
- "coverage_panel_column": null,
- "archived": false,
- "test_blocker_column": null,
- "created_at": "2020-10-28T15:57:37.924+09:00",
- "updated_at": "2020-10-28T15:57:37.924+09:00"
}, - "test_results": [
- {
- "id": 570967,
- "user": {
- "id": 1368,
- "current_tenant_id": 29,
- "email": "qualityf.user+86@gmail.com",
- "name": "QFuser86",
- "confirmed": true
}, - "test_case_id": 5453374,
- "test_case_no": 1,
- "test_cycle_id": 24849,
- "result": "pass",
- "result_supplemet": null,
- "executed_at": "2023-05-15T11:37:33.265+09:00",
- "content1": null,
- "content2": null,
- "content3": null,
- "created_at": "2023-05-15T11:37:33.289+09:00",
- "updated_at": "2023-05-15T11:37:33.289+09:00"
}
]
}
任意のテストサイクルにテスト結果を入力します。
すでに結果がある項目に対しては上書きを行います。
必須項目の値が不正な場合はエラーが返ります。
テスト結果自由項目(test_result["content"])の数は契約内容に応じて異なります。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
api_key required | string プロジェクトのAPIキー |
object |
{- "test_result": {
- "result": 1,
- "user_id": 0,
- "executed_at": "2019-08-24T14:15:22Z",
- "content1": "string",
- "content2": "string",
- "content3": "string",
- "content4": "string",
- "content5": "string",
- "content6": "string",
- "content7": "string",
- "content8": "string",
- "content9": "string",
- "content10": "string",
- "result_supplement": 0,
- "test_case_no": 0
}
}
{- "id": 220205,
- "user": {
- "id": 87335,
- "email": "user_34@example.com",
- "name": "user_34",
- "confirmed": true
}, - "test_case_id": 1161206,
- "test_case_no": 102,
- "test_cycle_id": 38987,
- "result": "pass",
- "result_supplemet": null,
- "executed_at": "2023-05-15T11:37:33.265+09:00",
- "content1": null,
- "content2": null,
- "content3": null,
- "created_at": "2023-05-15T11:37:33.289+09:00",
- "updated_at": "2023-05-15T11:37:33.289+09:00"
}
任意のテストサイクルにテスト結果を入力します。
すでに結果がある項目に対しては上書きを行います。
必須項目の値が不正な場合はエラーが返ります。
テスト結果自由項目(test_result["content"])の数は契約内容に応じて異なります。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
api_key required | string プロジェクトのAPIキー |
Array of objects |
{- "test_results": [
- {
- "result": 1,
- "user_id": 0,
- "executed_at": "2019-08-24T14:15:22Z",
- "content1": "string",
- "content2": "string",
- "content3": "string",
- "content4": "string",
- "content5": "string",
- "content6": "string",
- "content7": "string",
- "content8": "string",
- "content9": "string",
- "content10": "string",
- "result_supplement": 0,
- "test_case_no": 0
}
]
}
{- "test_results": [
- {
- "id": 107,
- "user": {
- "id": 2,
- "current_tenant_id": 1,
- "email": "user_2@example.com",
- "name": "user_2",
- "confirmed": true
}, - "test_case_id": 1,
- "test_case_no": 1,
- "test_cycle_id": 2,
- "result": "block",
- "result_supplement": 1,
- "executed_at": "2024-02-29T13:17:54.000+09:00",
- "content1": null,
- "content2": null,
- "content3": null,
- "content4": null,
- "content5": null,
- "content6": null,
- "content7": null,
- "content8": null,
- "content9": null,
- "content10": null,
- "created_at": "2024-02-29T13:17:54.000+09:00",
- "updated_at": "2024-02-29T13:17:54.000+09:00"
}, - {
- "id": 108,
- "user": {
- "id": 2,
- "current_tenant_id": 1,
- "email": "user_2@example.com",
- "name": "user_2",
- "confirmed": true
}, - "test_case_id": 2,
- "test_case_no": 2,
- "test_cycle_id": 2,
- "result": "block",
- "result_supplement": 1,
- "executed_at": "2024-02-29T13:17:54.000+09:00",
- "content1": null,
- "content2": null,
- "content3": null,
- "content4": null,
- "content5": null,
- "content6": null,
- "content7": null,
- "content8": null,
- "content9": null,
- "content10": null,
- "created_at": "2024-02-29T13:17:54.000+09:00",
- "updated_at": "2024-02-29T13:17:54.000+09:00"
}, - {
- "id": 109,
- "user": {
- "id": 2,
- "current_tenant_id": 1,
- "email": "user_2@example.com",
- "name": "user_2",
- "confirmed": true
}, - "test_case_id": 3,
- "test_case_no": 3,
- "test_cycle_id": 2,
- "result": "block",
- "result_supplement": 1,
- "executed_at": "2024-02-29T13:17:54.000+09:00",
- "content1": null,
- "content2": null,
- "content3": null,
- "content4": null,
- "content5": null,
- "content6": null,
- "content7": null,
- "content8": null,
- "content9": null,
- "content10": null,
- "created_at": "2024-02-29T13:17:54.000+09:00",
- "updated_at": "2024-02-29T13:17:54.000+09:00"
}
]
}
任意のテスト結果内容を更新します。
必須項目の更新は値が入力されていない場合、エラーが返ります。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
test_result[test_case_no] required | integer テストケースの識別ID |
api_key required | string プロジェクトのAPIキー |
object |
{- "test_result": {
- "result": 1,
- "user_id": 0,
- "executed_at": "2019-08-24T14:15:22Z",
- "content1": "string",
- "content2": "string",
- "content3": "string",
- "content4": "string",
- "content5": "string",
- "content6": "string",
- "content7": "string",
- "content8": "string",
- "content9": "string",
- "content10": "string",
- "result_supplement": 0,
- "test_case_no": 0
}
}
{- "id": 220205,
- "user": {
- "id": 87335,
- "email": "user_34@example.com",
- "name": "user_34",
- "confirmed": true
}, - "test_case_id": 1161206,
- "test_case_no": 102,
- "test_cycle_id": 38987,
- "result": "pass",
- "result_supplemet": null,
- "executed_at": "2023-05-15T11:37:33.265+09:00",
- "content1": null,
- "content2": null,
- "content3": null,
- "created_at": "2023-05-15T11:37:33.289+09:00",
- "updated_at": "2023-05-15T11:37:33.289+09:00"
}
任意のテストケースに入力されたテスト結果を削除します。
レスポンスボディは返りません。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
test_suite_assignments[id] required | integer テストフェーズに紐づけられたテストスイートID |
test_cycle[id] required | integer テストサイクルID 例)テストサイクル設定画面のURLが以下の場合、test_cycle[id]=4
|
test_result[test_case_no] required | integer テストケースの識別ID |
api_key required | string プロジェクトのAPIキー |
curl --request DELETE \ --header "Content-Type: application/json" \ "https://cloud.veriserve.co.jp/api/v2/test_phases/[対象のテストフェーズid]/test_suite_assignments/[対象のテストフェーズに紐づけられたテストスイートバージョンid]/test_cycles/[対象のテストサイクルid]/test_results/[対象のテストケースNo]?api_key=[生成したAPIキー]"
null
自動テストの安定性を分析するために、複数の自動テストケースの実行結果をまとめて入力します。
必須項目の値が不正な場合や、auto_test_resultsが空の場合、また、auto_test_results内で一意であるべきauto_test_case_external_keyの重複がある際はエラーが返ります。
api_key required | string プロジェクトのAPIキー |
auto_test_suite_external_key required | string 自動テストツール・システム側にて、複数のテストケースがまとめられたテスト実行単位に付与しているIDや名前 | |||||||||||||||
auto_test_suite_name | string 自動テストスイート名 | |||||||||||||||
auto_test_cycle_name required | string レポート表示時に、当該テスト実行回に付与する名前 | |||||||||||||||
auto_execution_device_external_key | string 自動テスト実施環境のID | |||||||||||||||
auto_execution_device_name | string 自動テスト実施環境名
| |||||||||||||||
Array of objects |
{- "auto_test_suite_external_key": "string",
- "auto_test_suite_name": "string",
- "auto_test_cycle_name": "string",
- "auto_execution_device_external_key": "string",
- "auto_execution_device_name": "string",
- "auto_test_results": [
- {
- "auto_test_case_external_key": "string",
- "auto_test_case_name": "string",
- "auto_execution_pattern_external_key": "string",
- "auto_execution_pattern_name": "string",
- "result": "pass",
- "execution_time_taken": 0,
- "info_url": "string",
- "remark": "string"
}
]
}
null
任意のテストフェーズごとチャートにバグカウントを登録します。
任意のテストスイート内にテストケースを作成します。
必須項目の値が不正な場合はエラーが返ります。
test_phase[id] required | integer テストフェーズID 例)テストフェーズの対象テストスイート一覧画面のURLが以下の場合、test_phase[id]=2
|
api_key required | string プロジェクトのAPIキー |
Array of objects |
{- "bug_count_snapshots": [
- {
- "target_date": "2019-08-24T14:15:22Z",
- "open_count": 0,
- "close_count": 0
}
]
}
{- "target_date": "2023-05-13",
- "open_count": 6,
- "close_count": 2
}