X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2FHELP.md;h=1c394d6bdee0da4d0ddff2abb3f89cbed725a759;hb=e782294456d0877aa8fc05aa931291ac79808eb3;hp=bef7e3f43a3a8ee7315fbfc42fbbf49d27cacb77;hpb=e688b5354af3a5fe0add859710cae41ffe123f65;p=anna.git diff --git a/example/diameter/launcher/resources/HELP.md b/example/diameter/launcher/resources/HELP.md index bef7e3f..1c394d6 100644 --- a/example/diameter/launcher/resources/HELP.md +++ b/example/diameter/launcher/resources/HELP.md @@ -539,7 +539,7 @@ Implemented status codes: *200* (ok), *400* (bad request) and *405* (method not > curl -v --request GET localhost:8000 -You could also expose the service as HTTP2 server through *nginx* working as reverse proxy (*adml-http* image is built in this way although internally provides HTTP operations script only for 1.1). Then you could use HTTP2 clients like *nghttp*: +You could also expose the service as HTTP2 server through *nginx* working as reverse proxy (*anna-adml-http* image is built in this way although internally provides HTTP operations script only for 1.1). Then you could use HTTP2 clients like *nghttp*: > nghttp -v -H ":method: GET" "" @@ -579,7 +579,7 @@ Retrieve statistics xml report (will be *base64-encoded* at response). > curl -v --request POST -H "Content-Type: application/json" localhost:8000 -d@test.json -You could also expose the service as HTTP2 server through *nginx* working as reverse proxy (*adml-http* image is built in this way although internally provides HTTP operations script only for 1.1). Then you could use HTTP2 clients like *nghttp*: +You could also expose the service as HTTP2 server through *nginx* working as reverse proxy (*anna-adml-http* image is built in this way although internally provides HTTP operations script only for 1.1). Then you could use HTTP2 clients like *nghttp*: > nghttp -v -H ":method: POST" -d test.json "" @@ -840,7 +840,7 @@ Selects a context working node by mean a registered name (origin-host). If empty } ``` -**Response body**: +**Response body**: ``` { @@ -1267,6 +1267,10 @@ ADML implements a bulting *Finite State Machine* to plan testing flows with a gr In-Progress limit is the maximum number of tests which can be executed in parallel. This operation allows a specific test to set this global pool behaviour. +Zero-value is equivalent to stop the clock (no tests will be executed). + +Value '-1' means 'no limit' (full parallel). Be careful with resources consumption. + **Request body**: ``` @@ -1519,7 +1523,7 @@ This operation allows a specific test to set this global pool behaviour. } ``` -### EXECUTION ACTIONS +### FSM TESTING EXECUTION ACTIONS #### POST /test-ttps @@ -1563,6 +1567,12 @@ This operation allows a specific test to set this global pool behaviour. Global operation (also at test identifier level is accessible). +Zero-value is equivalent to stop the clock (no tests will be executed). + +Value '-1' means 'no limit' (full parallel). Be careful with resources consumption. + +Defaults to '-2' (no '-1' which is default for *testid-ip-limit* version), which wil show the current pool *ip-limit* and also the number of test cases which are *in progress*. + **Request body**: ``` @@ -1633,7 +1643,7 @@ Global operation (also at test identifier level is accessible). ``` { "result":"", - "response":"" + "response":"" } ``` @@ -1651,13 +1661,15 @@ Global operation (also at test identifier level is accessible). ``` { - "result":"", + "result":"", "response":"" } ``` #### POST /test-interact +Makes interactive a specific test case id. The amount of 0, implies no execution steps margin, which could be useful to 'freeze' a test in the middle of its execution. Value -1 makes it non-interactive resuming it from the current step. + **Request body**: ``` @@ -1682,8 +1694,8 @@ Global operation (also at test identifier level is accessible). ``` { - "type":"" - [,"id":[test identifier (integer: apply to all the tests (-2))]] + ["type":"<[soft]|hard>"] + [,"id":[test identifier (integer: apply to all the tests (-1))]] } ``` @@ -1775,11 +1787,13 @@ Global operation (also at test identifier level is accessible). #### POST /test-junit +As it could be very large, it will be dumped on provided target directory, '*/tmp/junit.xml*' by default. + **Request body**: ``` { - "targetFile":"" + ["targetFile":""] } ``` @@ -1801,7 +1815,7 @@ Global operation (also at test identifier level is accessible). ``` { "result":"", - "response":"" + "response":"" } ``` @@ -1814,7 +1828,7 @@ Global operation (also at test identifier level is accessible). ``` { "result":"", - "response":"" + "response":"" } ``` @@ -1827,7 +1841,7 @@ Global operation (also at test identifier level is accessible). ``` { "result":"", - "response":"" + "response":"" } ``` @@ -1889,5 +1903,26 @@ Global operation (also at test identifier level is accessible). } ``` +### DYNAMIC PROCEDURE + +Used for system test. Arguments are determined by the way in a specific dynamic library is designed/documented. + +#### POST /dynamic +**Request body**: + +``` +{ + "arguments": +} +``` + +**Response body**: + +``` +{ + "result":"", + "response":"" +} +```