diff --git a/v2/pkg/templates/tests/match-1.yaml b/v2/pkg/templates/tests/match-1.yaml new file mode 100644 index 000000000..4be384c1c --- /dev/null +++ b/v2/pkg/templates/tests/match-1.yaml @@ -0,0 +1,15 @@ +id: basic-get + +info: + name: Basic GET Request + author: pdteam + severity: info + +requests: + - method: GET + path: + - "{{BaseURL}}" + matchers: + - type: word + words: + - "This is test matcher text" diff --git a/v2/pkg/templates/tests/no-author.yaml b/v2/pkg/templates/tests/no-author.yaml new file mode 100644 index 000000000..096b9b4e1 --- /dev/null +++ b/v2/pkg/templates/tests/no-author.yaml @@ -0,0 +1,14 @@ +id: basic-get + +info: + name: Basic GET Request + severity: info + +requests: + - method: GET + path: + - "{{BaseURL}}" + matchers: + - type: word + words: + - "This is test matcher text" diff --git a/v2/pkg/templates/tests/no-req.yaml b/v2/pkg/templates/tests/no-req.yaml new file mode 100644 index 000000000..e76abed6f --- /dev/null +++ b/v2/pkg/templates/tests/no-req.yaml @@ -0,0 +1,9 @@ +id: basic-get + +info: + name: Basic GET Request + author: pdteam + severity: info + +requests: + diff --git a/v2/pkg/templates/tests/workflow.yaml b/v2/pkg/templates/tests/workflow.yaml new file mode 100644 index 000000000..3f807b535 --- /dev/null +++ b/v2/pkg/templates/tests/workflow.yaml @@ -0,0 +1,10 @@ +id: workflow-example + +info: + name: Test Workflow Template + author: pdteam + severity: info + +workflows: + - template: tests/match-1.yaml + - template: tests/match-1.yaml