diff --git a/test/parallel/p/check_collected_responses.json b/test/parallel/p/check_collected_responses.json deleted file mode 100644 index 4c33b94..0000000 --- a/test/parallel/p/check_collected_responses.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "name": "bounce-json: bounce collected responses from parallel runs: {{ datastore "responses" }}", - "request": { - "server_url": "http://localhost{{ datastore "local_port" }}", - "endpoint": "bounce-json", - "method": "POST", - "body": { - "responses": {{ datastore "responses" | marshal }} - } - }, - "response": { - "statuscode": 200, - "body": { - "body": { - "responses": [ - {{ range $idx, $n := N (datastore "n_parallel") }} - {{ if gt $idx 0 }}, {{ end }} - {{ $idx }} - {{ end }} - ] - } - } - } - } -] \ No newline at end of file diff --git a/test/parallel/p/manifest.json b/test/parallel/p/manifest.json deleted file mode 100644 index 9698f9f..0000000 --- a/test/parallel/p/manifest.json +++ /dev/null @@ -1,21 +0,0 @@ -{{ $local_port := ":9999" }} -{{ $n_parallel := 5 }} -{ - "http_server": { - "addr": "{{ $local_port }}", - "dir": "../_res", - "testmode": false - }, - "name": "parallel run of files", - "tests": [ - { - "name": "port {{ $local_port }}", - "store": { - "n_parallel": {{ $n_parallel }}, - "local_port": {{ $local_port | marshal }} - } - }, - "p@parallel.json", - "@check_collected_responses.json" - ] -} \ No newline at end of file diff --git a/test/parallel/p/parallel.json b/test/parallel/p/parallel.json deleted file mode 100644 index 28ecce5..0000000 --- a/test/parallel/p/parallel.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - {{ range $idx, $n := N (datastore "n_parallel") }} - {{ if gt $idx 0 }}, {{ end }} - { - "name": "bounce-json: bounce n={{ $idx }}", - "request": { - "server_url": "http://localhost{{ datastore "local_port" }}", - "endpoint": "bounce-json", - "method": "POST", - "body": { - "n": {{ $idx }} - } - }, - "response": { - "statuscode": 200, - "body": { - "body": { - "n": {{ $idx }} - } - } - }, - "store_response_qjson": { - "responses[]": "body.body.n" - } - } - {{ end }} -] \ No newline at end of file diff --git a/test/parallel/pN/check_collected_responses.json b/test/parallel/pN/check_collected_responses.json deleted file mode 100644 index 564d76a..0000000 --- a/test/parallel/pN/check_collected_responses.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "name": "bounce-json: bounce collected responses from N={{datastore "n_parallel"}} parallel runs: {{ datastore "responses" }}", - "request": { - "server_url": "http://localhost{{ datastore "local_port" }}", - "endpoint": "bounce-json", - "method": "POST", - "body": { - "responses": {{ datastore "responses" | marshal }} - } - }, - "response": { - "statuscode": 200, - "body": { - "body": { - "responses": [ - {{ range $idx, $n := N (datastore "n_parallel") }} - {{ if gt $idx 0 }}, {{ end }} - 1 - {{ end }} - ] - } - } - } - } -] \ No newline at end of file diff --git a/test/parallel/pN/manifest.json b/test/parallel/pN/manifest.json deleted file mode 100644 index fc292b1..0000000 --- a/test/parallel/pN/manifest.json +++ /dev/null @@ -1,21 +0,0 @@ -{{ $local_port := ":9999" }} -{{ $n_parallel := 5 }} -{ - "http_server": { - "addr": "{{ $local_port }}", - "dir": "../_res", - "testmode": false - }, - "name": "parallel run of N={{ $n_parallel }} repetitions", - "tests": [ - { - "name": "port {{ $local_port }}", - "store": { - "n_parallel": {{ $n_parallel }}, - "local_port": {{ $local_port | marshal }} - } - } - , "p{{ $n_parallel }}@parallel.json" - , "@check_collected_responses.json" - ] -} \ No newline at end of file diff --git a/test/parallel/pN/parallel.json b/test/parallel/pN/parallel.json deleted file mode 100644 index 75b9d71..0000000 --- a/test/parallel/pN/parallel.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "name": "bounce-json: bounce n=1", - "request": { - "server_url": "http://localhost{{ datastore "local_port" }}", - "endpoint": "bounce-json", - "method": "POST", - "body": { - "n": 1 - } - }, - "response": { - "statuscode": 200, - "body": { - "body": { - "n": 1 - } - } - }, - "store_response_qjson": { - "responses[]": "body.body.n" - } - } -] \ No newline at end of file