X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2FREADME.md;h=a267a49254aa2d7af17eb6ff02bd4b16b1e71612;hb=e45cd2c15e8862040471c92bf3c67243aa94d45f;hp=4edfcbb7696d4b46df2359b77a95030cb8fd1c27;hpb=508e14c9ef1a74a87cf309262b0a2a1f057763e0;p=nonrtric.git diff --git a/test/common/README.md b/test/common/README.md index 4edfcbb7..a267a492 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -1626,20 +1626,40 @@ To also test the response payload add a path to the expected schema file. ## Function: ecs_api_idc_get_job_status() ## -Test of GET '/data-consumer/v1/info-jobs/{infoJobId}/status' and optional check of the returned status. -To test the response code only, provide the response code, type id and job id. +Test of GET '/data-consumer/v1/info-jobs/{infoJobId}/status' and optional check of the returned status and timeout. +To test the response code only, provide the response code and job id. To also test the response payload add the expected status. | arg list | |--| -| ` []` | +| ` [ [ ]]` | + +| parameter | description | +| --------- | ----------- | +| `` | Expected http response code | +| `` | Id of the job | +| `` | Expected status | +| `` | Timeout | + +## Function: ecs_api_idc_get_job_status2() ## + +Test of GET '/data-consumer/v1/info-jobs/{infoJobId}/status' with returned producers and optional check of the returned status and timeout. +To test the response code only, provide the response code and job id. +To also test the response payload add the expected status. + +| arg list | +|--| +| ` [ EMPTYPROD|( + ) []]` | | parameter | description | | --------- | ----------- | | `` | Expected http response code | -| `` | Id of the Info type | | `` | Id of the job | | `` | Expected status | +| `` | Indicated for empty list of producer | +| `` | Number of expected producer | +| `` |Id of the producer | +| `` | Timeout | ## Function: ecs_api_admin_reset() ##