X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2FHELP.md;h=732e938da1f972b387708ed23c9794c1a73dd60c;hb=8a597c7ccbe2986f505fd70258e4b59ecef4166f;hp=8b453faa7d2be85bfe3437addab971e6de23b90a;hpb=c881c12ed7e116f1d43760a0d9873f860c10a357;p=anna.git diff --git a/example/diameter/launcher/resources/HELP.md b/example/diameter/launcher/resources/HELP.md index 8b453fa..732e938 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**: ``` { @@ -960,7 +960,7 @@ Updates diameter server sessions to be accepted. ``` { - "sessions": + "sessions": } ``` @@ -1004,7 +1004,7 @@ Updates ADML working directory. { "action":"" [, "addressPort":""] - [, "socket":] + [, "socket":] } ``` @@ -1036,13 +1036,13 @@ Reset statistics and counters. #### POST /context -Dump ADML context at file path provided. If empty, default path is selected. Context information is not retrieved in the response, so, file is related to ADML execution context. +Dump ADML context at file path provided. If empty (or field missing), default path is selected. Context information is not retrieved in the response, so, file is related to ADML execution context. **Request body**: ``` { - "targetFile":"[file path]" + ["targetFile":"[file path]"] } ``` @@ -1078,7 +1078,7 @@ Set the statistics concepts to be logged. To know the concept indentifiers regis ``` { - "list":"" + ["list":""] } ``` @@ -1153,7 +1153,7 @@ or ``` { - "action":"" + "action":"[action: <[list]|dump|clear|exhaust|rotate>]" } ``` @@ -1162,7 +1162,7 @@ or ``` { "result":"", - "response":"" + "response":"" } ``` @@ -1184,7 +1184,7 @@ or ``` { - "action":"" + "action":"[action: <[list]|dump|clear|exhaust|rotate>]" } ``` @@ -1193,7 +1193,7 @@ or ``` { "result":"", - "response":"" + "response":"" } ``` @@ -1243,21 +1243,686 @@ Sends diameter expressed in hexadecimal string (no spaces, no colons, i.e.: `010 ADML implements a bulting *Finite State Machine* to plan testing flows with a great flexibility. -#### POST /xxxxxxxx +#### POST /testid-description -Referred files (*dictionaries, cer, cea, etc.*) shall be accesible for ADML and are not provided in this operation. +**Request body**: + +``` +{ + "description":"" +} +``` + +**Response body**: + +``` +{ + "result":"", + "response":"" +} +``` -**Request body**: { "servicesJson":} +#### POST /testid-ip-limit -**Response body**: { "result":"", "response":""} +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. -#### POST /xxxxxxxx +Zero-value is equivalent to stop the clock (no tests will be executed). -Referred files (*dictionaries, cer, cea, etc.*) shall be accesible for ADML and are not provided in this operation. +Value '-1' means 'no limit' (full parallel). Be careful with resources consumption. + +**Request body**: + +``` +{ + "amount":[amount (integer, 1 by default: execution in sequence)] +} +``` + +**Response body**: + +``` +{ + "result":"", + "response":"" +} +``` + +#### POST /testid-timeout + +**Request body**: + +``` +{ + "msecs": +} +``` + +**Response body**: + +``` +{ + "result":"", + "response":"" +} +``` + +#### POST /testid-sendmsg2e + +**Request body**: + +``` +{ + "diameterJson": + [,"stepNumber":[amount (integer, -1 no step associated)]] +} +``` + +**Response body**: + +``` +{ + "result":"", + "response":"" +} +``` + +#### POST /testid-sendmsg2c + +**Request body**: + +``` +{ + "diameterJson": + [,"stepNumber":[amount (integer, -1 no step associated)]] +} +``` + +**Response body**: + +``` +{ + "result":"", + "response":"" +} +``` + +#### POST /testid-delay + +**Request body**: + +``` +{ + "msecs": +} +``` + +**Response body**: + +``` +{ + "result":"", + "response":"" +} +``` + +#### POST /testid-sh-command + +**Request body**: + +``` +{ + "script":"