aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/mr-sim/README.md
diff options
context:
space:
mode:
authorBjornMagnussonXA <bjorn.magnusson@est.tech>2019-04-26 19:29:54 +0000
committerBjornMagnussonXA <bjorn.magnusson@est.tech>2019-04-26 19:29:54 +0000
commit42dcb266339a26803074f3190d1d9576e9dd05b7 (patch)
treef9b073cbacd0abfd528716cd5fbcf48eb0db9fc6 /test/mocks/datafilecollector-testharness/mr-sim/README.md
parentf13132901d327a84a229b1c7eef467d2c891ca44 (diff)
DFC automated tests
Test cases and suites for DFC automated test Issue-ID: DCAEGEN2-1434 Change-Id: Ibe2200f7dad358520d78217bad4ca6d3b514a3c3 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Diffstat (limited to 'test/mocks/datafilecollector-testharness/mr-sim/README.md')
-rw-r--r--test/mocks/datafilecollector-testharness/mr-sim/README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/mocks/datafilecollector-testharness/mr-sim/README.md b/test/mocks/datafilecollector-testharness/mr-sim/README.md
index 8fafdfe1f..7ec6e14b4 100644
--- a/test/mocks/datafilecollector-testharness/mr-sim/README.md
+++ b/test/mocks/datafilecollector-testharness/mr-sim/README.md
@@ -4,12 +4,14 @@
2. Run the container ```docker-compose up```
The behavior can be changed by argument to the python script in the docker-compose.yml
-The simulator can be queried for statistics (use curl from cmd line or open in browser, curl used below):
+The simulator can be queried for statistics and started/stopped (use curl from cmd line or open in browser, curl used below):
`curl localhost:2222/ctr_requests` - return an integer of the number of get request to the event poll path
`curl localhost:2222/ctr_responses` - return an integer of the number of get responses to the event poll path
+`curl localhost:2222/ctr_files` - returns an integer or the number files.
+
`curl localhost:2222/ctr_unique_files` - returns an integer or the number of unique files. A unique file is the combination of node+file_sequence_number
`curl localhost:2222/tc_info` - returns the tc string (as given on the cmd line)
@@ -18,8 +20,16 @@ The simulator can be queried for statistics (use curl from cmd line or open in b
`curl localhost:2222/execution_time` - returns the execution time in mm:ss
+`curl localhost:2222/exe_time_first_poll` - returns the execution time in mm:ss from the first poll
+
`curl localhost:2222/ctr_unique_PNFs` - return the number of unique PNFS in alla events.
+`curl localhost:2222/start` - start event delivery (default status).
+
+`curl localhost:2222/stop` - stop event delivery.
+
+`curl localhost:2222/status` - Return the started or stopped status.
+
##Common TC info
File names for 1MB, 5MB and 50MB files
Files in the format: <size-in-mb>MB_<sequence-number>.tar.gz Ex. for 5MB file with sequence number 12: 5MB_12.tar.gz