テスト呼び出し API

このページでは、テスト呼び出し RESTful API を使用してテストおよびテスト スイートを作成および管理する機能について説明します。
dts105
このページでは、
テスト呼び出し
RESTful API を使用してテストおよびテスト スイートを作成および管理する機能について説明します。
3
概要
要件
  • DevTest
     レジストリが実行されている。
  • API 認証に 
    DevTest
    ユーザ認証情報が使用されている。
エンドポイント
この API のルート URLは以下です。
{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/
認証情報
API には「基本」 HTTP 認証方式が必要です。 「基本」 HTTP 認証方式は RFC 7617 で定義されており、RFC 7617 では、認証情報はユーザ ID とパスワードのペアとして、base64 を使用してエンコードされて送信されます。 ID とパスワードのペアにより、
DevTest
ユーザを識別する必要があります。
Swagger ドキュメント
Swagger ドキュメントには、http://{{REGISTRY_HOST}}:1505/lisa-test-invoke/api/v1/swagger-ui でアクセスできます。
テストの実行
MAR ファイルによるテストの実行
次の URL に POST リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/run
curl コマンドは以下のようになります。
curl -X POST -H "authorization: Basic {Encrypted Authorization}=" "{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/run " -H "content-type: multipart/form-data" -F [email protected]{Mar file}
ペイロード: テストが含まれる MAR ファイル。 「multipart/form-data」と「key」の引数名を「file」にして使用します。
テストの MAR ファイルを作成する方法
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/run/MARFile" } }, "id": "MARFile", "name": "test-data-driven-http-rest (Run1User1Cycle)", "runType": "TEST", "runBy": "admin", "testStatus": "INITIATED", "manuallyTerminated": false }
プロジェクトからのテストの実行
curl コマンドは以下のとおりです。
curl -X POST \
{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/run \
-H 'content-type: application/json' \
-H 'authorization: Basic {Encrypted Authorization}=‘ \
-d '{
"project":"Bank v5",
"testName": "test-data-driven-http-rest.tst",
"coordinatorServerName" : "testcoordinator”,
“configuration”: “project.config”,
"parameters”:{
“param1”:”value1”,
“param2”:”value2”}}'
curl スイッチ -d は、テスト パラメータが含まれる JSON ペイロードを指定します。
テスト パラメータ
  • project
    指定されたテストが含まれるプロジェクトの名前。
    必須。
  • testName
    実行されるテストの名前。
    必須。
  • coordinatorServerName
    テストを実行するために使用するコーディネータの名前。
    オプション。
  • stagingDocument
    テスト用のステージング ドキュメント。値を指定しない場合はデフォルトが使用されます。
    オプション。
  • 設定
    プロジェクト configs フォルダに存在するプロジェクト設定。値を指定しない場合はデフォルトが使用されます。
    オプション。
  • parameters
    テストで使用される、「key:value」形式の追加の展開パラメータのセット。
    オプション。
応答
{
"_links": {
"self": {
"href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/run/E1190BEFF3E711E89B43025041000101"
}
},
"id": "E1190BEFF3E711E89B43025041000101",
"name": "test-data-driven-http-rest (Run1User1Cycle)",
"runType": "TEST",
"runBy": "admin",
"testStatus": "INITIATED",
"manuallyTerminated": false
}
「ランの一意の ID」の指定による特定のテスト ランの取得
「RunUniqueID」は、上記の応答上の「id」であることに注意してください。
以下の呼び出しを自動化する場合、テストの状態が「実行中」ではないことを確認するため、チェックを行うことを推奨します。
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/run/RunUniqueID
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/run/RunUniqueID" } }, "id": "RunUniqueID", "name": "test-data-driven-http-rest (Run1User1Cycle)", "runType": "TEST", "runBy": "admin", "testStatus": "PASSED", "manuallyTerminated": false }
「ランの一意の ID」の指定によるテスト ランの削除
「RunUniqueID」は、上記の応答上の「id」であることに注意してください。
次の URL に DELETE リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/run/RunUniqueID?force=true
クエリ パラメータ「?force=true」はオプションです。このパラメータは、テストの即時または強制的な終了を試行します。 このオプションを使用するとコーディネータ サーバが不安定になることがあるので、使用する場合は注意が必要です。
応答:
ステータス コード = 204
すべてのテスト ランの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/run?startTime=2017-12-20T00:00:00.000-05:00&endTime=2017-12-20T16:33:00.000-05:00
startTime と endTime の値はオプションです。 値がある場合は、値は ISO 8601 形式(例:
2014-10-22T16:33:00.000-05:00)に準拠している必要があります。
値がない場合は、実行済みのすべてのテストが返されます。
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/run" } }, "count": 2, "_embedded": { "runs": [ { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/run/RunUniqueID" } }, "id": "RunUniqueID", "name": "test-data-driven-http-rest (Run1User1Cycle)", "runType": "TEST", "runBy": "admin", "testStatus": "PASSED", "manuallyTerminated": false }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/run/RunUniqueID" } }, "id": "RunUniqueID", "name": "test-data-driven-http-rest (Run1User1Cycle)", "runType": "TEST", "runBy": "admin", "testStatus": "PASSED", "manuallyTerminated": false } ] } }
スイートの実行
MAR ファイルによるスイートの実行
次の URL に POST リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/run
curl コマンドは以下のようになります。
curl -X POST -H "authorization: Basic {Encrypted Authorization}=" "{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/run " -H "content-type: multipart/form-data" -F [email protected]{Mar file}
ペイロード: スイートが含まれる MAR ファイル。 「multipart/form-data」と「key」の引数名を「file」にして使用します。
スイートの MAR ファイルを作成する方法
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/run/MARFile" } }, "id": "MARFile", "name": "DataDrivenMultiCycle", "runType": "SUITE", "runBy": "Unknown", "testStatus": "NOT_INITIATED", "manuallyTerminated": false }
プロジェクトからのスイートの実行
curl コマンドは以下のとおりです。
curl -X POST \{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/run \
-H 'content-type: application/json' \
-H 'authorization: Basic {Encrypted Authorization}=‘ \
-d '{
"project":"Bank v5",
“suiteName": "AllTestsSuite.ste",
"parameters”:{
“param1”:”value1”,
“param2”:”value2”}
}'
curl スイッチ -d は、テスト パラメータが含まれる JSON ペイロードを指定します。
テスト パラメータ
  • project
    指定されたスイートが含まれるプロジェクトの名前。
    必須。
  • suiteName
    実行されるスイートの名前。
    必須。
  • 設定
    プロジェクト configs フォルダに存在するプロジェクト設定。値を指定しない場合はデフォルトが使用されます。
    オプション。
  • parameters
    スイートまたはスイート内のテストで使用される、「key:value」形式の追加の展開パラメータのセット。
    オプション。
応答
{
{
"_links": {
"self": {
"href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/run/F548217FF3E711E89B43025041000101"
}
},
"id": "F548217FF3E711E89B43025041000101",
"name": "AllTestsSuite",
"runType": "SUITE",
"runBy": "admin",
"testStatus": "RUNNING",
"manuallyTerminated": false
}
「ランの一意の ID」の指定による特定のスイート ランの取得
「RunUniqueID」は、上記の応答上の「id」であることに注意してください。
以下の呼び出しを自動化する場合、テスト スイートの状態が「実行中」ではないことを確認するため、チェックを行うことを推奨します。
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/run/MARFile
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/run/MARFile" } }, "id": "MARFile", "name": "DataDrivenMultiCycle", "runType": "SUITE", "runBy": "Unknown", "testStatus": "PASSED", "manuallyTerminated": false }
「ランの一意の ID」の指定によるラン スイートの削除
「RunUniqueID」は、上記の応答上の「id」であることに注意してください。
次の URL に DELETE リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/run/RunUniqueID
?force=true
クエリ パラメータ「?force=true」はオプションです。このパラメータは、スイートの即時または強制的な終了を試行します。 このオプションを使用するとコーディネータ サーバが不安定になることがあるので、使用する場合は注意が必要です。
応答:
ステータス コード = 204
すべてのスイート ランの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/run
?startTime=2017-12-20T00:00:00.000-05:00&endTime=2017-12-20T16:33:00.000-05:00
startTime と endTime の値はオプションです。 値がある場合は、値は ISO 8601 形式(例:
2014-10-22T16:33:00.000-05:00
)に準拠している必要があります。 値がない場合は、実行済みのすべてのテストが返されます。
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/run" } }, "count": 2, "_embedded": { "runs": [ { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/run/RunUniqueID" } }, "id": "RunUniqueID", "name": "DataDrivenMultiCycle", "runType": "SUITE", "runBy": "Unknown", "testStatus": "ABORTED", "manuallyTerminated": false }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/run/RunUniqueID" } }, "id": "RunUniqueID", "name": "DataDrivenMultiCycle", "runType": "SUITE", "runBy": "Unknown", "testStatus": "PASSED", "manuallyTerminated": false } ] } }
テスト レポートの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/reports
?startTime=2017-12-20T00:00:00.000-05:00&endTime=2017-12-20T16:33:00.000-05:00
startTime と endTime の値はオプションです。 値がある場合は、値は ISO 8601 形式(例:
2014-10-22T16:33:00.000-05:00
)に準拠している必要があります。
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports" } }, "count": 2, "_embedded": { "Tests": [ { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/RunUniqueID/cycles" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/RunUniqueID" } }, "testRunUniqueId": "RunUniqueID", "testRunName": "Run1User1Cycle", "testcaseId": "TestCaseID", "testcaseName": "test-data-driven-http-rest", "testCaseDoc": "Put documentation of the Test Case here.", "startTime": "2017-12-19T12:26:03-0500", "endTime": "2017-12-19T12:26:10-0500", "elapsedTimeInMillSec": 6535, "user": "admin", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 1, "failCount": 0, "warningCount": 0, "abortCount": 0, "passPercent": 100, "failPercent": 0, "abortPercent": 0, "modelName": "test-data-driven-http-rest", "loadPattern": "Run N Times", "host": "localhost", "simulatorName": "tcp://localhost:2014/Simulator", "coordinatorId": "em2ApF_ybUIQTNajqcZsP_r7rh-6qHabQ-UkOHfSBn0W", "coordinatorName": "tcp://localhost:2011/Coordinator", "config": "/root/lisatmp_10.2.4/lads/ConfigDirectory/Bank v5/Configs/project.config", "ssvUsers": "1", "testcase": { "id": "TestCaseID", "name": "test-data-driven-http-rest", "documentation": "Put documentation of the Test Case here.", "resultState": "", "steps": [ { "uid": "UserID", "name": "http GET /3/movie/49047/", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49163" }, { "uid": "UserID", "name": "http GET /3/movie/49163", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49381" }, { "uid": "UserID", "name": "http GET /3/movie/49381", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "GET empty column value" }, { "uid": "UserID", "name": "GET empty column value", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/notfound" }, { "uid": "UserID", "name": "http GET /3/movie/notfound", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "end" }, { "uid": "UserID", "name": "abort", "documentation": null, "type": "com.itko.lisa.test.AbortStep", "quiet": true, "next": "" }, { "uid": "UserID", "name": "fail", "documentation": null, "type": "com.itko.lisa.test.Abend", "quiet": true, "next": "abort" }, { "uid": "UserID", "name": "end", "documentation": null, "type": "com.itko.lisa.test.NormalEnd", "quiet": true, "next": "fail" } ] }, "stagingDocument": { "name": "Run1User1Cycle", "documentation": "", "distributionType": "com.itko.lisa.coordinator.runpatterns.PercentDistribution", "loadPatternType": "com.itko.lisa.coordinator.runpatterns.RunNTimesPattern", "think": "100" } }, { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/ReportID/cycles" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/ReportID" } }, "testRunUniqueId": "TestRunUniqueID", "testRunName": "Run1User1Cycle", "testcaseId": "TestCaseID", "testcaseName": "test-data-driven-http-rest", "testCaseDoc": "Put documentation of the Test Case here.", "startTime": "2017-12-20T13:02:20-0500", "endTime": "2017-12-20T13:02:25-0500", "elapsedTimeInMillSec": 5505, "user": "admin", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 1, "failCount": 0, "warningCount": 0, "abortCount": 0, "passPercent": 100, "failPercent": 0, "abortPercent": 0, "modelName": "test-data-driven-http-rest", "loadPattern": "Run N Times", "host": "localhost", "simulatorName": "tcp://localhost:2014/Simulator", "coordinatorId": "em2ApF_ybUIQTNajqcZsP_r7rh-6qHabQ-UkOHfSBn0W", "coordinatorName": "tcp://localhost:2011/Coordinator", "config": "/root/lisatmp_10.2.5/lads/EAC6BDD9E5AF11E7BADA020027E349EE/Bank v5/Configs/project.config", "ssvUsers": "1", "testcase": { "id": "TestCaseID", "name": "test-data-driven-http-rest", "documentation": "Put documentation of the Test Case here.", "resultState": "", "steps": [ { "uid": "UserID", "name": "http GET /3/movie/49047/", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49163" }, { "uid": "UserID", "name": "http GET /3/movie/49163", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49381" }, { "uid": "UserID", "name": "http GET /3/movie/49381", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "GET empty column value" }, { "uid": "UserID", "name": "GET empty column value", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/notfound" }, { "uid": "UserID", "name": "http GET /3/movie/notfound", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "end" }, { "uid": "UserID", "name": "abort", "documentation": null, "type": "com.itko.lisa.test.AbortStep", "quiet": true, "next": "" }, { "uid": "UserID", "name": "fail", "documentation": null, "type": "com.itko.lisa.test.Abend", "quiet": true, "next": "abort" }, { "uid": "UserID", "name": "end", "documentation": null, "type": "com.itko.lisa.test.NormalEnd", "quiet": true, "next": "fail" } ] }, "stagingDocument": { "name": "Run1User1Cycle", "documentation": "", "distributionType": "com.itko.lisa.coordinator.runpatterns.PercentDistribution", "loadPatternType": "com.itko.lisa.coordinator.runpatterns.RunNTimesPattern", "think": "100" } } ] } }
指定した「TestRunUniqueID」のテスト レポートの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/reports/TestRunUniqueID
応答
{ "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/TestRunUniqueID/cycles" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/TestRunUniqueID" } }, "testRunUniqueId": "TestRunUniqueID", "testRunName": "Run1User1Cycle", "testcaseId": "TestCaseID", "testcaseName": "test-data-driven-http-rest", "testCaseDoc": "Put documentation of the Test Case here.", "startTime": "2017-12-20T13:02:20-0500", "endTime": "2017-12-20T13:02:25-0500", "elapsedTimeInMillSec": 5505, "user": "admin", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 1, "failCount": 0, "warningCount": 0, "abortCount": 0, "passPercent": 100, "failPercent": 0, "abortPercent": 0, "modelName": "test-data-driven-http-rest", "loadPattern": "Run N Times", "host": "localhost", "simulatorName": "tcp://localhost:2014/Simulator", "coordinatorId": "em2ApF_ybUIQTNajqcZsP_r7rh-6qHabQ-UkOHfSBn0W", "coordinatorName": "tcp://localhost:2011/Coordinator", "config": "/root/lisatmp_10.2.5/lads/ConfigDirectory/Bank v5/Configs/project.config", "ssvUsers": "1", "testcase": { "id": "TestCaseID", "name": "test-data-driven-http-rest", "documentation": "Put documentation of the Test Case here.", "resultState": "", "steps": [ { "uid": "UserID", "name": "http GET /3/movie/49047/", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49163" }, { "uid": "UserID", "name": "http GET /3/movie/49163", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49381" }, { "uid": "UserID", "name": "http GET /3/movie/49381", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "GET empty column value" }, { "uid": "UserID", "name": "GET empty column value", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/notfound" }, { "uid": "UserID", "name": "http GET /3/movie/notfound", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "end" }, { "uid": "UserID", "name": "abort", "documentation": null, "type": "com.itko.lisa.test.AbortStep", "quiet": true, "next": "" }, { "uid": "UserID", "name": "fail", "documentation": null, "type": "com.itko.lisa.test.Abend", "quiet": true, "next": "abort" }, { "uid": "UserID", "name": "end", "documentation": null, "type": "com.itko.lisa.test.NormalEnd", "quiet": true, "next": "fail" } ] }, "stagingDocument": { "name": "Run1User1Cycle", "documentation": "", "distributionType": "com.itko.lisa.coordinator.runpatterns.PercentDistribution", "loadPatternType": "com.itko.lisa.coordinator.runpatterns.RunNTimesPattern", "think": "100" } }
指定した「TestRunUniqueId」のテスト レポートに関するすべてのサイクルの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/reports/Test/cycles
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/TestRunUniqueID/cycles" } }, "count": 1, "_embedded": { "CycleHistory": [ { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/TestRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "0", "run": "test-data-driven-http-rest [Run1User1Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:02:20-0500", "endTime": "2017-12-20T13:02:25-0500", "elapsedTimeInMillSec": 5166, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } } ] } }
指定した「TestRunUniqueId」と「CycleUniqueId」のテスト レポートに関するすべてのサイクルの取得
次の URL にGET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/reports/TestRunUniqueID/cycles/CycleUniqueID
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/tests/reports/TestRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "0", "run": "test-data-driven-http-rest [Run1User1Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:02:20-0500", "endTime": "2017-12-20T13:02:25-0500", "elapsedTimeInMillSec": 5166, "endedState": "PASSED", "_embedded": { "StepExecHistory": [ { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/49047/", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:02:20-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49047?api_key=cd1d7f222b868aec8b843a48baa16df3 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: ec953b50-e5af-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPkRSQU1BPC9nZW5yZT4KICAgIDxob21lcGFnZSB0eXBlPSJzdHJpbmciPmh0dHA6Ly9ncmF2aXR5bW92aWUud2FybmVyYnJvcy5jb20vPC9ob21lcGFnZT4KICAgIDxpZCB0eXBlPSJudW1iZXIiPjQ5MDQ3PC9pZD4gICAgCiAgICA8dGl0bGUgdHlwZT0ic3RyaW5nIj5HcmF2aXR5PC90aXRsZT4KICAgIDxvdmVydmlldyB0eXBlPSJzdHJpbmciPkRyLiBSeWFuIFN0b25lIChTYW5kcmEgQnVsbG9jayksIGEgYnJpbGxpYW50IG1lZGljYWwgZW5naW5lZXIgb24gaGVyIGZpcnN0IFNodXR0bGUgbWlzc2lvbiwgd2l0aCB2ZXRlcmFuIGFzdHJvbmF1dCBNYXR0IEtvd2Fsc2t5IChHZW9yZ2UgQ2xvb25leSkgaW4gY29tbWFuZCBvZiBoaXMgbGFzdCBmbGlnaHQgYmVmb3JlIHJldGlyaW5nLiBCdXQgb24gYSBzZWVtaW5nbHkgcm91dGluZSBzcGFjZXdhbGssIGRpc2FzdGVyIHN0cmlrZXMuPC9vdmVydmlldz4KICAgIDxwb3B1bGFyaXR5IHR5cGU9Im51bWJlciI+NDcuOTA0NTMzPC9wb3B1bGFyaXR5PgogICAgPHBvc3Rlcl9fcGF0aCB0eXBlPSJzdHJpbmciPi8yZ1BqTFdJeXJXbEFuMkRnS01PS1RCblpZeU8uanBnPC9wb3N0ZXJfX3BhdGg+ICAgICAgICAgICAgCiAgICA8cmV2ZW51ZSB0eXBlPSJudW1iZXIiPjUzNjAwMDAwMDwvcmV2ZW51ZT4KICAgIDxydW50aW1lIHR5cGU9Im51bWJlciI+OTE8L3J1bnRpbWU+ICAgIAogICAgPHN0YXR1cyB0eXBlPSJzdHJpbmciPlJlbGVhc2VkPC9zdGF0dXM+CiAgICA8dGFnbGluZSB0eXBlPSJzdHJpbmciPkRvbid0IExldCBHbzwvdGFnbGluZT4gICAgCiAgICA8dm90ZV9fYXZlcmFnZSB0eXBlPSJudW1iZXIiPjg8L3ZvdGVfX2F2ZXJhZ2U+CiAgICA8dm90ZV9fY291bnQgdHlwZT0ibnVtYmVyIj43MDk8L3ZvdGVfX2NvdW50Pgo8L21vdmllPg==", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"Gravity\"", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre>DRAMA</genre>\n <homepage type=\"string\">http://gravitymovie.warnerbros.com/</homepage>\n <id type=\"number\">49047</id> \n <title type=\"string\">Gravity</title>\n <overview type=\"string\">Dr. Ryan Stone (Sandra Bullock), a brilliant medical engineer on her first Shuttle mission, with veteran astronaut Matt Kowalsky (George Clooney) in command of his last flight before retiring. But on a seemingly routine spacewalk, disaster strikes.</overview>\n <popularity type=\"number\">47.904533</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">536000000</revenue>\n <runtime type=\"number\">91</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">Don't Let Go</tagline> \n <vote__average type=\"number\">8</vote__average>\n <vote__count type=\"number\">709</vote__count>\n</movie>", "expectation": "Looked for \"Gravity\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/49163", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:02:21-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49163?api_key=cd1d7f222b868aec8b843a48baa16df119 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: ed24aa10-e5af-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPkFDVElPTjwvZ2VucmU+CiAgICA8aG9tZXBhZ2UgdHlwZT0ic3RyaW5nIj5tYXRyaXhtb3ZpZS5jb208L2hvbWVwYWdlPgogICAgPGlkIHR5cGU9Im51bWJlciI+NDkxNjM8L2lkPiAgICAKICAgIDx0aXRsZSB0eXBlPSJzdHJpbmciPlRoZSBNYXRyaXg8L3RpdGxlPgogICAgPG92ZXJ2aWV3IHR5cGU9InN0cmluZyI+QSBjb21wdXRlciBoYWNrZXIgbGVhcm5zIGZyb20gbXlzdGVyaW91cyByZWJlbHMgYWJvdXQgdGhlIHRydWUgbmF0dXJlIG9mIGhpcyByZWFsaXR5IGFuZCBoaXMgcm9sZSBpbiB0aGUgd2FyIGFnYWluc3QgaXRzIGNvbnRyb2xsZXJzLjwvb3ZlcnZpZXc+CiAgICA8cG9wdWxhcml0eSB0eXBlPSJudW1iZXIiPjQ0PC9wb3B1bGFyaXR5PgogICAgPHBvc3Rlcl9fcGF0aCB0eXBlPSJzdHJpbmciPi8yZ1BqTFdJeXJXbEFuMkRnS01PS1RCblpZeU8uanBnPC9wb3N0ZXJfX3BhdGg+ICAgICAgICAgICAgCiAgICA8cmV2ZW51ZSB0eXBlPSJudW1iZXIiPjQ0MDAwMDAwMDA8L3JldmVudWU+CiAgICA8cnVudGltZSB0eXBlPSJudW1iZXIiPjEyMDwvcnVudGltZT4gICAgCiAgICA8c3RhdHVzIHR5cGU9InN0cmluZyI+UmVsZWFzZWQ8L3N0YXR1cz4KICAgIDx0YWdsaW5lIHR5cGU9InN0cmluZyI+VGhlIE1hdHJpeDwvdGFnbGluZT4gICAgCiAgICA8dm90ZV9fYXZlcmFnZSB0eXBlPSJudW1iZXIiPjEwPC92b3RlX19hdmVyYWdlPgogICAgPHZvdGVfX2NvdW50IHR5cGU9Im51bWJlciI+MTAwMDwvdm90ZV9fY291bnQ+CjwvbW92aWU+", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"The Matrix\"", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre>ACTION</genre>\n <homepage type=\"string\">matrixmovie.com</homepage>\n <id type=\"number\">49163</id> \n <title type=\"string\">The Matrix</title>\n <overview type=\"string\">A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.</overview>\n <popularity type=\"number\">44</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">4400000000</revenue>\n <runtime type=\"number\">120</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">The Matrix</tagline> \n <vote__average type=\"number\">10</vote__average>\n <vote__count type=\"number\">1000</vote__count>\n</movie>", "expectation": "Looked for \"The Matrix\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/49381", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:02:22-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49381?api_key=cd1d7f222b868aec8b843a48baa16df337 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: edd387b0-e5af-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPkZPUkVJR048L2dlbnJlPgogICAgPGhvbWVwYWdlIHR5cGU9InN0cmluZyI+c2V2ZW5zYW11cmFpbW92aWUuY29tPC9ob21lcGFnZT4KICAgIDxpZCB0eXBlPSJudW1iZXIiPjQ5MzgxPC9pZD4gICAgCiAgICA8dGl0bGUgdHlwZT0ic3RyaW5nIj5TZXZlbiBTYW11cmFpPC90aXRsZT4KICAgIDxvdmVydmlldyB0eXBlPSJzdHJpbmciPkEgcG9vciB2aWxsYWdlIHVuZGVyIGF0dGFjayBieSBiYW5kaXRzIHJlY3J1aXRzIHNldmVuIHVuZW1wbG95ZWQgc2FtdXJhaSB0byBoZWxwIHRoZW0gZGVmZW5kIHRoZW1zZWx2ZXMuPC9vdmVydmlldz4KICAgIDxwb3B1bGFyaXR5IHR5cGU9Im51bWJlciI+NTA8L3BvcHVsYXJpdHk+CiAgICA8cG9zdGVyX19wYXRoIHR5cGU9InN0cmluZyI+LzJnUGpMV0l5cldsQW4yRGdLTU9LVEJuWll5Ty5qcGc8L3Bvc3Rlcl9fcGF0aD4gICAgICAgICAgICAKICAgIDxyZXZlbnVlIHR5cGU9Im51bWJlciI+MzM2MDAwMDwvcmV2ZW51ZT4KICAgIDxydW50aW1lIHR5cGU9Im51bWJlciI+OTk8L3J1bnRpbWU+ICAgIAogICAgPHN0YXR1cyB0eXBlPSJzdHJpbmciPlJlbGVhc2VkPC9zdGF0dXM+CiAgICA8dGFnbGluZSB0eXBlPSJzdHJpbmciPlNldmVuIFNhbXVyYWk8L3RhZ2xpbmU+ICAgIAogICAgPHZvdGVfX2F2ZXJhZ2UgdHlwZT0ibnVtYmVyIj45PC92b3RlX19hdmVyYWdlPgogICAgPHZvdGVfX2NvdW50IHR5cGU9Im51bWJlciI+ODAwPC92b3RlX19jb3VudD4KPC9tb3ZpZT4=", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"Seven Samurai\"", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre>FOREIGN</genre>\n <homepage type=\"string\">sevensamuraimovie.com</homepage>\n <id type=\"number\">49381</id> \n <title type=\"string\">Seven Samurai</title>\n <overview type=\"string\">A poor village under attack by bandits recruits seven unemployed samurai to help them defend themselves.</overview>\n <popularity type=\"number\">50</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">3360000</revenue>\n <runtime type=\"number\">99</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">Seven Samurai</tagline> \n <vote__average type=\"number\">9</vote__average>\n <vote__count type=\"number\">800</vote__count>\n</movie>", "expectation": "Looked for \"Seven Samurai\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "GET empty column value", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:02:23-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49382?api_key=cd1d7f222b868aec8b843a48baa16df337 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: ee6121b0-e5af-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPjwvZ2VucmU+CiAgICA8aG9tZXBhZ2UgdHlwZT0ic3RyaW5nIj5Vc3VhbCBTdXNwZWN0czwvaG9tZXBhZ2U+CiAgICA8aWQgdHlwZT0ibnVtYmVyIj40OTM4MjwvaWQ+ICAgIAogICAgPHRpdGxlIHR5cGU9InN0cmluZyI+VXN1YWwgU3VzcGVjdHM8L3RpdGxlPgogICAgPG92ZXJ2aWV3IHR5cGU9InN0cmluZyI+Q3JpbWUgbW92aWU8L292ZXJ2aWV3PgogICAgPHBvcHVsYXJpdHkgdHlwZT0ibnVtYmVyIj41MDwvcG9wdWxhcml0eT4KICAgIDxwb3N0ZXJfX3BhdGggdHlwZT0ic3RyaW5nIj4vMmdQakxXSXlyV2xBbjJEZ0tNT0tUQm5aWXlPLmpwZzwvcG9zdGVyX19wYXRoPiAgICAgICAgICAgIAogICAgPHJldmVudWUgdHlwZT0ibnVtYmVyIj4zMzYwMDAwPC9yZXZlbnVlPgogICAgPHJ1bnRpbWUgdHlwZT0ibnVtYmVyIj45OTwvcnVudGltZT4gICAgCiAgICA8c3RhdHVzIHR5cGU9InN0cmluZyI+UmVsZWFzZWQ8L3N0YXR1cz4KICAgIDx0YWdsaW5lIHR5cGU9InN0cmluZyI+VXN1YWwgU3VzcGVjdHM8L3RhZ2xpbmU+ICAgIAogICAgPHZvdGVfX2F2ZXJhZ2UgdHlwZT0ibnVtYmVyIj4xMDwvdm90ZV9fYXZlcmFnZT4KICAgIDx2b3RlX19jb3VudCB0eXBlPSJudW1iZXIiPjEwMDA8L3ZvdGVfX2NvdW50Pgo8L21vdmllPg==", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains empty genre tag", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre></genre>\n <homepage type=\"string\">Usual Suspects</homepage>\n <id type=\"number\">49382</id> \n <title type=\"string\">Usual Suspects</title>\n <overview type=\"string\">Crime movie</overview>\n <popularity type=\"number\">50</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">3360000</revenue>\n <runtime type=\"number\">99</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">Usual Suspects</tagline> \n <vote__average type=\"number\">10</vote__average>\n <vote__count type=\"number\">1000</vote__count>\n</movie>", "expectation": "Looked for \"<genre></genre>\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/notfound", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:02:24-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/notfound?api_key=cd1d7f222b868aec8b843a48baa16df337 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: eefd88c0-e5af-11e7-937d-020027e349ee\n\n", "response": "PGh0bWw+CiAgICA8aGVhZD48dGl0bGU+NDA0IE5vdCBGb3VuZDwvdGl0bGU+PC9oZWFkPgogICAgPGJvZHk+CiAgICAgICAgPGgxPk5vdCBGb3VuZDwvaDE+CiAgICAgICAgPHA+VGhlIHJlcXVlc3RlZCBVUkwgd2FzIG5vdCBmb3VuZCBvbiB0aGlzIHNlcnZlci48L3A+CiAgICAgICAgPGhyLz4KICAgICAgICA8cD48aT5UaGUgTElTQSBWU0Ugc2VydmljZSBjb3VsZCBub3QgbWF0Y2ggeW91ciByZXF1ZXN0IHRvIGEgcmVjb3JkZWQgcmVxdWVzdC4mbmJzcDsgQ29uc2lkZXIgZXhwYW5kaW5nIHlvdXIgc2VydmljZSBpbWFnZS48L2k+PC9wPgogICAgICAgIDxici8+PGZvbnQgc2l6ZT0iLTIiPlByb2R1Y2VkIGJ5IGEgTElTQSB2aXJ0dWFsaXplZCB3ZWIgc2VydmVyLjwvZm9udD4KICAgIDwvYm9keT4KPC9odG1sPgo=", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"404 Not Found\"", "actualValue": "<html>\n <head><title>404 Not Found</title></head>\n <body>\n <h1>Not Found</h1>\n <p>The requested URL was not found on this server.</p>\n <hr/>\n <p><i>The LISA VSE service could not match your request to a recorded request.&#160; Consider expanding your service image.</i></p>\n <br/><font size=\"-2\">Produced by a LISA virtualized web server.</font>\n </body>\n</html>\n", "expectation": "Looked for \"404 Not Found\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } } ], "preCompanions": [], "postCompanions": [], "messages": [] } }
テスト レポートの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/tests/reports/summary
?startTime=2017-12-20T00:00:00.000-05:00&endTime=2017-12-20T16:33:00.000-05:00
startTime と endTime の値はオプションです。 値がある場合は、値は ISO 8601 形式(例:
2014-10-22T16:33:00.000-05:00
)に準拠している必要があります。
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/summary" } }, "passCount": 5, "failCount": 0, "warningCount": 0, "abortCount": 4, "errorCount": 40, "runningCount": 0 }
スイート レポートの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/reports
?startTime=2017-12-20T00:00:00.000-05:00&endTime=2017-12-20T16:33:00.000-05:00
startTime と endTime の値はオプションです。 値がある場合は、値は ISO 8601 形式(例:
2014-10-22T16:33:00.000-05:00
)に準拠している必要があります。
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports" } }, "count": 5, "_embedded": { "Suites": [ { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID" } }, "suiteRunId": "SuiteRunUniqueID", "suiteName": "DataDrivenMultiCycle", "documentation": "Put documentation of the suite here.", "startTime": "2017-12-20T12:06:20-0500", "endTime": "2017-12-20T12:06:42-0500", "elapsedTimeInMillSec": 22727, "user": "admin", "endedState": "ABORTED", "done": true, "manuallyTerminated": false, "passCount": 0, "failCount": 0, "warningCount": 0, "abortCount": 2, "errorCount": 20, "totalTestsExecuted": 2, "totalTests": 2, "host": "localhost" }, { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID" } }, "suiteRunId": "SuiteRunUniqueID", "suiteName": "DataDrivenMultiCycle", "documentation": "Put documentation of the suite here.", "startTime": "2017-12-20T13:19:06-0500", "endTime": "2017-12-20T13:20:42-0500", "elapsedTimeInMillSec": 95525, "user": "admin", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 2, "failCount": 0, "warningCount": 0, "abortCount": 0, "errorCount": 0, "totalTestsExecuted": 2, "totalTests": 2, "host": "localhost" }, { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID" } }, "suiteRunId": "SuiteRunUniqueID", "suiteName": "DataDrivenMultiCycle", "documentation": "Put documentation of the suite here.", "startTime": "2017-12-20T12:22:52-0500", "endTime": "2017-12-20T12:23:25-0500", "elapsedTimeInMillSec": 33368, "user": "admin", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 1, "failCount": 0, "warningCount": 0, "abortCount": 0, "errorCount": 0, "totalTestsExecuted": 1, "totalTests": 2, "host": "localhost" }, { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID" } }, "suiteRunId": "SuiteRunUniqueID", "suiteName": "DataDrivenMultiCycle", "documentation": "Put documentation of the suite here.", "startTime": "2017-12-20T12:10:37-0500", "endTime": "2017-12-20T12:12:18-0500", "elapsedTimeInMillSec": 100847, "user": "admin", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 2, "failCount": 0, "warningCount": 0, "abortCount": 0, "errorCount": 0, "totalTestsExecuted": 2, "totalTests": 2, "host": "localhost" }, { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID" } }, "suiteRunId": "SuiteRunUniqueID", "suiteName": "DataDrivenMultiCycle", "documentation": "Put documentation of the suite here.", "startTime": "2017-12-20T12:05:05-0500", "endTime": "2017-12-20T12:05:30-0500", "elapsedTimeInMillSec": 25266, "user": "admin", "endedState": "ABORTED", "done": true, "manuallyTerminated": false, "passCount": 0, "failCount": 0, "warningCount": 0, "abortCount": 2, "errorCount": 20, "totalTestsExecuted": 2, "totalTests": 2, "host": "localhost" } ] } }
指定した「SuiteRunUniqueId」のスイート レポートの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/{SuiteRunId}" }, "tests": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/{SuiteRunId}/tests" } }, "suiteRunId": "SuiteRunUniqueID", "suiteName": "AllTestsSuite", "documentation": "Put documentation of the suite here.", "startTime": "2018-05-22T10:05:25-0400", "endTime": "2018-05-22T10:05:35-0400", "elapsedTimeInMillSec": 9887, "user": "admin", "endedState": "PASSED", "endedStateValue": "0", "done": true, "manuallyTerminated": false, "passCount": 0, "failCount": 0, "warningCount": 0, "abortCount": 1, "errorCount": 1, "totalTestsExecuted": 10, "totalTests": 0, "host": "localhost.ca.com", "config": "/root/lisatmp_10.4.0/lads/ConfigDirectory/examples/Configs/project.config", "path": "/root/lisatmp_10.4.0/lads/ConfigDirectory/examples/Suites/testsuite.ste" }
指定した「SuiteRunUniqueId」のスイート レポートに関するすべてのテストの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests" } }, "count": 2, "_embedded": { "Tests": [ { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/TestRunUniqueID/cycles" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/TestRunUniqueID" } }, "testRunUniqueId": "TestRunUniqueID", "testRunName": "Run1User10Cycle", "testcaseId": "TestCaseID", "testcaseName": "test-data-driven-http-rest", "testCaseDoc": "Put documentation of the Test Case here.", "startTime": "2017-12-20T13:19:06-0500", "endTime": "2017-12-20T13:19:53-0500", "elapsedTimeInMillSec": 46514, "user": "", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 10, "failCount": 0, "warningCount": 0, "abortCount": 0, "passPercent": 100, "failPercent": 0, "abortPercent": 0, "modelName": "test-data-driven-http-rest", "loadPattern": "Run N Times", "host": "localhost", "simulatorName": null, "coordinatorId": "em2ApF_ybUIQTNajqcZsP_r7rh-6qHabQ-UkOHfSBn0W", "coordinatorName": "tcp://localhost:2011/Coordinator", "config": "/root/lisatmp_10.2.5/lads/ConfigDirectory/Bank v5/Configs/project.config", "ssvUsers": "1", "testcase": { "id": "TestCaseID", "name": "test-data-driven-http-rest", "documentation": "Put documentation of the Test Case here.", "resultState": "", "steps": [ { "uid": "UserID", "name": "http GET /3/movie/49047/", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49163" }, { "uid": "UserID", "name": "http GET /3/movie/49163", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49381" }, { "uid": "UserID", "name": "http GET /3/movie/49381", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "GET empty column value" }, { "uid": "UserID", "name": "GET empty column value", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/notfound" }, { "uid": "UserID", "name": "http GET /3/movie/notfound", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "end" }, { "uid": "UserID", "name": "abort", "documentation": null, "type": "com.itko.lisa.test.AbortStep", "quiet": true, "next": "" }, { "uid": "UserID", "name": "fail", "documentation": null, "type": "com.itko.lisa.test.Abend", "quiet": true, "next": "abort" }, { "uid": "UserID", "name": "end", "documentation": null, "type": "com.itko.lisa.test.NormalEnd", "quiet": true, "next": "fail" } ] }, "stagingDocument": { "name": "Run1User10Cycle", "documentation": "", "distributionType": "com.itko.lisa.coordinator.runpatterns.PercentDistribution", "loadPatternType": "com.itko.lisa.coordinator.runpatterns.RunNTimesPattern", "think": "100" } }, { "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/TestRunUniqueID/cycles" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueIDE/tests/TestRunUniqueID" } }, "testRunUniqueId": "TestRunUniqueID", "testRunName": "Run1User10Cycle", "testcaseId": "TestCaseID", "testcaseName": "test-data-driven-http-rest_01", "testCaseDoc": "Put documentation of the Test Case here.", "startTime": "2017-12-20T13:19:54-0500", "endTime": "2017-12-20T13:20:41-0500", "elapsedTimeInMillSec": 47526, "user": "", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 10, "failCount": 0, "warningCount": 0, "abortCount": 0, "passPercent": 100, "failPercent": 0, "abortPercent": 0, "modelName": "test-data-driven-http-rest_01", "loadPattern": "Run N Times", "host": "localhost", "simulatorName": null, "coordinatorId": "em2ApF_ybUIQTNajqcZsP_r7rh-6qHabQ-UkOHfSBn0W", "coordinatorName": "tcp://localhost:2011/Coordinator", "config": "/root/lisatmp_10.2.5/lads/ConfigDirectory/Bank v5/Configs/project.config", "ssvUsers": "1", "testcase": { "id": "TestCaseID", "name": "test-data-driven-http-rest_01", "documentation": "Put documentation of the Test Case here.", "resultState": "", "steps": [ { "uid": "UserID", "name": "http GET /3/movie/49047/", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49163" }, { "uid": "UserID", "name": "http GET /3/movie/49163", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49381" }, { "uid": "UserID", "name": "http GET /3/movie/49381", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "GET empty column value" }, { "uid": "UserID", "name": "GET empty column value", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/notfound" }, { "uid": "UserID", "name": "http GET /3/movie/notfound", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "end" }, { "uid": "UserID", "name": "abort", "documentation": null, "type": "com.itko.lisa.test.AbortStep", "quiet": true, "next": "" }, { "uid": "UserID", "name": "fail", "documentation": null, "type": "com.itko.lisa.test.Abend", "quiet": true, "next": "abort" }, { "uid": "UserID", "name": "end", "documentation": null, "type": "com.itko.lisa.test.NormalEnd", "quiet": true, "next": "fail" } ] }, "stagingDocument": { "name": "Run1User10Cycle", "documentation": "", "distributionType": "com.itko.lisa.coordinator.runpatterns.PercentDistribution", "loadPatternType": "com.itko.lisa.coordinator.runpatterns.RunNTimesPattern", "think": "100" } } ] } }
指定した「TestRunUniqueId」と、指定した「SuiteRunUniqueId」のスイート レポートに関するテストの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID
{ "_links": { "next": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles" }, "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID" } }, "testRunUniqueId": "SuiteRunUniqueID", "testRunName": "Run1User10Cycle", "testcaseId": "TestCaseID", "testcaseName": "test-data-driven-http-rest", "testCaseDoc": "Put documentation of the Test Case here.", "startTime": "2017-12-20T13:19:06-0500", "endTime": "2017-12-20T13:19:53-0500", "elapsedTimeInMillSec": 46514, "user": "admin", "endedState": "PASSED", "done": true, "manuallyTerminated": false, "passCount": 10, "failCount": 0, "warningCount": 0, "abortCount": 0, "passPercent": 100, "failPercent": 0, "abortPercent": 0, "modelName": "test-data-driven-http-rest", "loadPattern": "Run N Times", "host": "localhost", "simulatorName": "tcp://localhost:2014/Simulator", "coordinatorId": "em2ApF_ybUIQTNajqcZsP_r7rh-6qHabQ-UkOHfSBn0W", "coordinatorName": "tcp://localhost:2011/Coordinator", "config": "/root/lisatmp_10.2.5/lads/SuiteRunUniqueID/Bank v5/Configs/project.config", "ssvUsers": "1", "testcase": { "id": "TestCaseID", "name": "test-data-driven-http-rest", "documentation": "Put documentation of the Test Case here.", "resultState": "", "steps": [ { "uid": "UserID", "name": "http GET /3/movie/49047/", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49163" }, { "uid": "UserID", "name": "http GET /3/movie/49163", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/49381" }, { "uid": "UserID", "name": "http GET /3/movie/49381", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "GET empty column value" }, { "uid": "UserID", "name": "GET empty column value", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "http GET /3/movie/notfound" }, { "uid": "UserID", "name": "http GET /3/movie/notfound", "documentation": null, "type": "com.itko.lisa.ws.rest.RESTNode", "quiet": false, "next": "end" }, { "uid": "UserID", "name": "abort", "documentation": null, "type": "com.itko.lisa.test.AbortStep", "quiet": true, "next": "" }, { "uid": "UserID", "name": "fail", "documentation": null, "type": "com.itko.lisa.test.Abend", "quiet": true, "next": "abort" }, { "uid": "UserID", "name": "end", "documentation": null, "type": "com.itko.lisa.test.NormalEnd", "quiet": true, "next": "fail" } ] }, "stagingDocument": { "name": "Run1User10Cycle", "documentation": "", "distributionType": "com.itko.lisa.coordinator.runpatterns.PercentDistribution", "loadPatternType": "com.itko.lisa.coordinator.runpatterns.RunNTimesPattern", "think": "100" } }
指定した「TestRunUniqueId」のテストと、指定した「SuiteRunUniqueId」のスイート レポートに関するすべてのサイクルの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles" } }, "count": 10, "_embedded": { "CycleHistory": [ { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "0", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:06-0500", "endTime": "2017-12-20T13:19:11-0500", "elapsedTimeInMillSec": 4443, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "1", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:11-0500", "endTime": "2017-12-20T13:19:16-0500", "elapsedTimeInMillSec": 4839, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "2", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:16-0500", "endTime": "2017-12-20T13:19:21-0500", "elapsedTimeInMillSec": 4964, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "3", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:21-0500", "endTime": "2017-12-20T13:19:25-0500", "elapsedTimeInMillSec": 4772, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "4", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:25-0500", "endTime": "2017-12-20T13:19:30-0500", "elapsedTimeInMillSec": 4679, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "5", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:30-0500", "endTime": "2017-12-20T13:19:34-0500", "elapsedTimeInMillSec": 4124, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "6", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:34-0500", "endTime": "2017-12-20T13:19:39-0500", "elapsedTimeInMillSec": 5105, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "7", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:39-0500", "endTime": "2017-12-20T13:19:44-0500", "elapsedTimeInMillSec": 4426, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "8", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:44-0500", "endTime": "2017-12-20T13:19:48-0500", "elapsedTimeInMillSec": 4630, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } }, { "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "9", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:48-0500", "endTime": "2017-12-20T13:19:53-0500", "elapsedTimeInMillSec": 4470, "endedState": "PASSED", "_embedded": { "StepExecHistory": [], "preCompanions": [], "postCompanions": [], "messages": [] } } ] } }
指定した「CycleUniqueId」のサイクル、指定した「TestRunUniqueId」のテスト、指定した「SuiteRunUniqueId」のスイート レポートに関するサイクルの取得
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/SuiteRunUniqueID/tests/SuiteRunUniqueID/cycles/CycleUniqueID" } }, "cycleUniqueId": "CycleUniqueID", "cycle": "0", "run": "test-data-driven-http-rest [Run1User10Cycle]", "simulator": "tcp://localhost:2014/Simulator", "startTime": "2017-12-20T13:19:06-0500", "endTime": "2017-12-20T13:19:11-0500", "elapsedTimeInMillSec": 4443, "endedState": "PASSED", "_embedded": { "StepExecHistory": [ { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/49047/", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:19:06-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49047?api_key=cd1d7f222b868aec8b843a48baa16df3 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: 4485ac80-e5b2-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPkRSQU1BPC9nZW5yZT4KICAgIDxob21lcGFnZSB0eXBlPSJzdHJpbmciPmh0dHA6Ly9ncmF2aXR5bW92aWUud2FybmVyYnJvcy5jb20vPC9ob21lcGFnZT4KICAgIDxpZCB0eXBlPSJudW1iZXIiPjQ5MDQ3PC9pZD4gICAgCiAgICA8dGl0bGUgdHlwZT0ic3RyaW5nIj5HcmF2aXR5PC90aXRsZT4KICAgIDxvdmVydmlldyB0eXBlPSJzdHJpbmciPkRyLiBSeWFuIFN0b25lIChTYW5kcmEgQnVsbG9jayksIGEgYnJpbGxpYW50IG1lZGljYWwgZW5naW5lZXIgb24gaGVyIGZpcnN0IFNodXR0bGUgbWlzc2lvbiwgd2l0aCB2ZXRlcmFuIGFzdHJvbmF1dCBNYXR0IEtvd2Fsc2t5IChHZW9yZ2UgQ2xvb25leSkgaW4gY29tbWFuZCBvZiBoaXMgbGFzdCBmbGlnaHQgYmVmb3JlIHJldGlyaW5nLiBCdXQgb24gYSBzZWVtaW5nbHkgcm91dGluZSBzcGFjZXdhbGssIGRpc2FzdGVyIHN0cmlrZXMuPC9vdmVydmlldz4KICAgIDxwb3B1bGFyaXR5IHR5cGU9Im51bWJlciI+NDcuOTA0NTMzPC9wb3B1bGFyaXR5PgogICAgPHBvc3Rlcl9fcGF0aCB0eXBlPSJzdHJpbmciPi8yZ1BqTFdJeXJXbEFuMkRnS01PS1RCblpZeU8uanBnPC9wb3N0ZXJfX3BhdGg+ICAgICAgICAgICAgCiAgICA8cmV2ZW51ZSB0eXBlPSJudW1iZXIiPjUzNjAwMDAwMDwvcmV2ZW51ZT4KICAgIDxydW50aW1lIHR5cGU9Im51bWJlciI+OTE8L3J1bnRpbWU+ICAgIAogICAgPHN0YXR1cyB0eXBlPSJzdHJpbmciPlJlbGVhc2VkPC9zdGF0dXM+CiAgICA8dGFnbGluZSB0eXBlPSJzdHJpbmciPkRvbid0IExldCBHbzwvdGFnbGluZT4gICAgCiAgICA8dm90ZV9fYXZlcmFnZSB0eXBlPSJudW1iZXIiPjg8L3ZvdGVfX2F2ZXJhZ2U+CiAgICA8dm90ZV9fY291bnQgdHlwZT0ibnVtYmVyIj43MDk8L3ZvdGVfX2NvdW50Pgo8L21vdmllPg==", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"Gravity\"", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre>DRAMA</genre>\n <homepage type=\"string\">http://gravitymovie.warnerbros.com/</homepage>\n <id type=\"number\">49047</id> \n <title type=\"string\">Gravity</title>\n <overview type=\"string\">Dr. Ryan Stone (Sandra Bullock), a brilliant medical engineer on her first Shuttle mission, with veteran astronaut Matt Kowalsky (George Clooney) in command of his last flight before retiring. But on a seemingly routine spacewalk, disaster strikes.</overview>\n <popularity type=\"number\">47.904533</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">536000000</revenue>\n <runtime type=\"number\">91</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">Don't Let Go</tagline> \n <vote__average type=\"number\">8</vote__average>\n <vote__count type=\"number\">709</vote__count>\n</movie>", "expectation": "Looked for \"Gravity\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/49163", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:19:07-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49163?api_key=cd1d7f222b868aec8b843a48baa16df119 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: 450e8b90-e5b2-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPkFDVElPTjwvZ2VucmU+CiAgICA8aG9tZXBhZ2UgdHlwZT0ic3RyaW5nIj5tYXRyaXhtb3ZpZS5jb208L2hvbWVwYWdlPgogICAgPGlkIHR5cGU9Im51bWJlciI+NDkxNjM8L2lkPiAgICAKICAgIDx0aXRsZSB0eXBlPSJzdHJpbmciPlRoZSBNYXRyaXg8L3RpdGxlPgogICAgPG92ZXJ2aWV3IHR5cGU9InN0cmluZyI+QSBjb21wdXRlciBoYWNrZXIgbGVhcm5zIGZyb20gbXlzdGVyaW91cyByZWJlbHMgYWJvdXQgdGhlIHRydWUgbmF0dXJlIG9mIGhpcyByZWFsaXR5IGFuZCBoaXMgcm9sZSBpbiB0aGUgd2FyIGFnYWluc3QgaXRzIGNvbnRyb2xsZXJzLjwvb3ZlcnZpZXc+CiAgICA8cG9wdWxhcml0eSB0eXBlPSJudW1iZXIiPjQ0PC9wb3B1bGFyaXR5PgogICAgPHBvc3Rlcl9fcGF0aCB0eXBlPSJzdHJpbmciPi8yZ1BqTFdJeXJXbEFuMkRnS01PS1RCblpZeU8uanBnPC9wb3N0ZXJfX3BhdGg+ICAgICAgICAgICAgCiAgICA8cmV2ZW51ZSB0eXBlPSJudW1iZXIiPjQ0MDAwMDAwMDA8L3JldmVudWU+CiAgICA8cnVudGltZSB0eXBlPSJudW1iZXIiPjEyMDwvcnVudGltZT4gICAgCiAgICA8c3RhdHVzIHR5cGU9InN0cmluZyI+UmVsZWFzZWQ8L3N0YXR1cz4KICAgIDx0YWdsaW5lIHR5cGU9InN0cmluZyI+VGhlIE1hdHJpeDwvdGFnbGluZT4gICAgCiAgICA8dm90ZV9fYXZlcmFnZSB0eXBlPSJudW1iZXIiPjEwPC92b3RlX19hdmVyYWdlPgogICAgPHZvdGVfX2NvdW50IHR5cGU9Im51bWJlciI+MTAwMDwvdm90ZV9fY291bnQ+CjwvbW92aWU+", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"The Matrix\"", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre>ACTION</genre>\n <homepage type=\"string\">matrixmovie.com</homepage>\n <id type=\"number\">49163</id> \n <title type=\"string\">The Matrix</title>\n <overview type=\"string\">A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.</overview>\n <popularity type=\"number\">44</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">4400000000</revenue>\n <runtime type=\"number\">120</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">The Matrix</tagline> \n <vote__average type=\"number\">10</vote__average>\n <vote__count type=\"number\">1000</vote__count>\n</movie>", "expectation": "Looked for \"The Matrix\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/49381", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:19:08-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49381?api_key=cd1d7f222b868aec8b843a48baa16df337 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: 45b7eaf0-e5b2-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPkZPUkVJR048L2dlbnJlPgogICAgPGhvbWVwYWdlIHR5cGU9InN0cmluZyI+c2V2ZW5zYW11cmFpbW92aWUuY29tPC9ob21lcGFnZT4KICAgIDxpZCB0eXBlPSJudW1iZXIiPjQ5MzgxPC9pZD4gICAgCiAgICA8dGl0bGUgdHlwZT0ic3RyaW5nIj5TZXZlbiBTYW11cmFpPC90aXRsZT4KICAgIDxvdmVydmlldyB0eXBlPSJzdHJpbmciPkEgcG9vciB2aWxsYWdlIHVuZGVyIGF0dGFjayBieSBiYW5kaXRzIHJlY3J1aXRzIHNldmVuIHVuZW1wbG95ZWQgc2FtdXJhaSB0byBoZWxwIHRoZW0gZGVmZW5kIHRoZW1zZWx2ZXMuPC9vdmVydmlldz4KICAgIDxwb3B1bGFyaXR5IHR5cGU9Im51bWJlciI+NTA8L3BvcHVsYXJpdHk+CiAgICA8cG9zdGVyX19wYXRoIHR5cGU9InN0cmluZyI+LzJnUGpMV0l5cldsQW4yRGdLTU9LVEJuWll5Ty5qcGc8L3Bvc3Rlcl9fcGF0aD4gICAgICAgICAgICAKICAgIDxyZXZlbnVlIHR5cGU9Im51bWJlciI+MzM2MDAwMDwvcmV2ZW51ZT4KICAgIDxydW50aW1lIHR5cGU9Im51bWJlciI+OTk8L3J1bnRpbWU+ICAgIAogICAgPHN0YXR1cyB0eXBlPSJzdHJpbmciPlJlbGVhc2VkPC9zdGF0dXM+CiAgICA8dGFnbGluZSB0eXBlPSJzdHJpbmciPlNldmVuIFNhbXVyYWk8L3RhZ2xpbmU+ICAgIAogICAgPHZvdGVfX2F2ZXJhZ2UgdHlwZT0ibnVtYmVyIj45PC92b3RlX19hdmVyYWdlPgogICAgPHZvdGVfX2NvdW50IHR5cGU9Im51bWJlciI+ODAwPC92b3RlX19jb3VudD4KPC9tb3ZpZT4=", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"Seven Samurai\"", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre>FOREIGN</genre>\n <homepage type=\"string\">sevensamuraimovie.com</homepage>\n <id type=\"number\">49381</id> \n <title type=\"string\">Seven Samurai</title>\n <overview type=\"string\">A poor village under attack by bandits recruits seven unemployed samurai to help them defend themselves.</overview>\n <popularity type=\"number\">50</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">3360000</revenue>\n <runtime type=\"number\">99</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">Seven Samurai</tagline> \n <vote__average type=\"number\">9</vote__average>\n <vote__count type=\"number\">800</vote__count>\n</movie>", "expectation": "Looked for \"Seven Samurai\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "GET empty column value", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:19:09-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/49382?api_key=cd1d7f222b868aec8b843a48baa16df337 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: 46444c70-e5b2-11e7-937d-020027e349ee\n\n", "response": "PG1vdmllPgogICAgPGFkdWx0IHR5cGU9ImJvb2xlYW4iPkZBTFNFPC9hZHVsdD4KICAgIDxiYWNrZHJvcF9fcGF0aCB0eXBlPSJzdHJpbmciPi9oejNKZkFpa1lYdGFOV0lKaFdNNHA1c3k1T1ouanBnPC9iYWNrZHJvcF9fcGF0aD4KICAgIDxiZWxvbmdzX190b19fY29sbGVjdGlvbiBjbGFzcz0ib2JqZWN0IiBudWxsPSJ0cnVlIiAvPgogICAgPGJ1ZGdldCB0eXBlPSJudW1iZXIiPjEwNTAwMDAwMDwvYnVkZ2V0PgogICAgPGdlbnJlPjwvZ2VucmU+CiAgICA8aG9tZXBhZ2UgdHlwZT0ic3RyaW5nIj5Vc3VhbCBTdXNwZWN0czwvaG9tZXBhZ2U+CiAgICA8aWQgdHlwZT0ibnVtYmVyIj40OTM4MjwvaWQ+ICAgIAogICAgPHRpdGxlIHR5cGU9InN0cmluZyI+VXN1YWwgU3VzcGVjdHM8L3RpdGxlPgogICAgPG92ZXJ2aWV3IHR5cGU9InN0cmluZyI+Q3JpbWUgbW92aWU8L292ZXJ2aWV3PgogICAgPHBvcHVsYXJpdHkgdHlwZT0ibnVtYmVyIj41MDwvcG9wdWxhcml0eT4KICAgIDxwb3N0ZXJfX3BhdGggdHlwZT0ic3RyaW5nIj4vMmdQakxXSXlyV2xBbjJEZ0tNT0tUQm5aWXlPLmpwZzwvcG9zdGVyX19wYXRoPiAgICAgICAgICAgIAogICAgPHJldmVudWUgdHlwZT0ibnVtYmVyIj4zMzYwMDAwPC9yZXZlbnVlPgogICAgPHJ1bnRpbWUgdHlwZT0ibnVtYmVyIj45OTwvcnVudGltZT4gICAgCiAgICA8c3RhdHVzIHR5cGU9InN0cmluZyI+UmVsZWFzZWQ8L3N0YXR1cz4KICAgIDx0YWdsaW5lIHR5cGU9InN0cmluZyI+VXN1YWwgU3VzcGVjdHM8L3RhZ2xpbmU+ICAgIAogICAgPHZvdGVfX2F2ZXJhZ2UgdHlwZT0ibnVtYmVyIj4xMDwvdm90ZV9fYXZlcmFnZT4KICAgIDx2b3RlX19jb3VudCB0eXBlPSJudW1iZXIiPjEwMDA8L3ZvdGVfX2NvdW50Pgo8L21vdmllPg==", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains empty genre tag", "actualValue": "<movie>\n <adult type=\"boolean\">FALSE</adult>\n <backdrop__path type=\"string\">/hz3JfAikYXtaNWIJhWM4p5sy5OZ.jpg</backdrop__path>\n <belongs__to__collection class=\"object\" null=\"true\" />\n <budget type=\"number\">105000000</budget>\n <genre></genre>\n <homepage type=\"string\">Usual Suspects</homepage>\n <id type=\"number\">49382</id> \n <title type=\"string\">Usual Suspects</title>\n <overview type=\"string\">Crime movie</overview>\n <popularity type=\"number\">50</popularity>\n <poster__path type=\"string\">/2gPjLWIyrWlAn2DgKMOKTBnZYyO.jpg</poster__path> \n <revenue type=\"number\">3360000</revenue>\n <runtime type=\"number\">99</runtime> \n <status type=\"string\">Released</status>\n <tagline type=\"string\">Usual Suspects</tagline> \n <vote__average type=\"number\">10</vote__average>\n <vote__count type=\"number\">1000</vote__count>\n</movie>", "expectation": "Looked for \"<genre></genre>\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } }, { "stepGUID": "TestStepID", "stepName": "http GET /3/movie/notfound", "type": "STEP", "errorCount": "0", "warningCount": "0", "quite": "false", "startTime": "2017-12-20T13:19:10-0500", "endedState": "PASSED", "stacktrace": null, "stepCommand": { "request": "GET /3/movie/notfound?api_key=cd1d7f222b868aec8b843a48baa16df337 HTTP/1.1\nPragma: no-cache\nCache-Control: no-cache\nAccept: application/json\nlisaFrameRemoteIP: 10.162.27.216\nlisaFrameRoot: true\nlisaFrameID: 46ad4770-e5b2-11e7-937d-020027e349ee\n\n", "response": "PGh0bWw+CiAgICA8aGVhZD48dGl0bGU+NDA0IE5vdCBGb3VuZDwvdGl0bGU+PC9oZWFkPgogICAgPGJvZHk+CiAgICAgICAgPGgxPk5vdCBGb3VuZDwvaDE+CiAgICAgICAgPHA+VGhlIHJlcXVlc3RlZCBVUkwgd2FzIG5vdCBmb3VuZCBvbiB0aGlzIHNlcnZlci48L3A+CiAgICAgICAgPGhyLz4KICAgICAgICA8cD48aT5UaGUgTElTQSBWU0Ugc2VydmljZSBjb3VsZCBub3QgbWF0Y2ggeW91ciByZXF1ZXN0IHRvIGEgcmVjb3JkZWQgcmVxdWVzdC4mbmJzcDsgQ29uc2lkZXIgZXhwYW5kaW5nIHlvdXIgc2VydmljZSBpbWFnZS48L2k+PC9wPgogICAgICAgIDxici8+PGZvbnQgc2l6ZT0iLTIiPlByb2R1Y2VkIGJ5IGEgTElTQSB2aXJ0dWFsaXplZCB3ZWIgc2VydmVyLjwvZm9udD4KICAgIDwvYm9keT4KPC9odG1sPgo=", "responseBase64Encoded": "true" }, "_embedded": { "messages": [], "asserts": [ { "name": "Ensure Result Contains \"404 Not Found\"", "actualValue": "<html>\n <head><title>404 Not Found</title></head>\n <body>\n <h1>Not Found</h1>\n <p>The requested URL was not found on this server.</p>\n <hr/>\n <p><i>The LISA VSE service could not match your request to a recorded request.&#160; Consider expanding your service image.</i></p>\n <br/><font size=\"-2\">Produced by a LISA virtualized web server.</font>\n </body>\n</html>\n", "expectation": "Looked for \"404 Not Found\" in result.", "fired": "false", "isGlobal": "false", "message": "The assertion of type \"Result as String Contains Given String\" passed evaluation.", "result": "true" } ], "preFilters": [], "postFilters": [], "datasets": [], "events": [], "properties": [], "httpDetails": [] } } ], "preCompanions": [], "postCompanions": [], "messages": [] } }
次の URL に GET リクエストを実行します。http://{{LISA_TEST_INVOKE_HOST}}:{{LISA_TEST_INVOKE_PORT}}/lisa-test-invoke/api/v1/suites/reports/summary
?startTime=2017-12-20T00:00:00.000-05:00&endTime=2017-12-20T16:33:00.000-05:00
startTime と endTime の値はオプションです。 値がある場合は、値は ISO 8601 形式(例:
2014-10-22T16:33:00.000-05:00
)に準拠している必要があります。
応答
{ "_links": { "self": { "href": "http://localhost:1505/lisa-test-invoke/api/v1/suites/reports/summary" } }, "passCount": 5, "failCount": 0, "warningCount": 0, "abortCount": 4, "errorCount": 40, "runningCount": 0 }