File: testcases.xml

package info (click to toggle)
libwebinject-perl 1.94-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 448 kB
  • sloc: perl: 4,265; xml: 278; makefile: 7
file content (50 lines) | stat: -rw-r--r-- 1,486 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<testcases repeat="1">

<case
    id             = "1"
    description1   = "SAMPLE TEST CASE - load WebInject dev page"
    description2   = "verify string 'Corey Goldberg' exists in response"
    method         = "get"
    url            = "http://www.webinject.org/dev.html"
    verifypositive = "Corey Goldberg"
    warning        = "5"
    critical       = "15"
    label          = "devpage"
/>

<case
    id             = "2"
    description1   = "SAMPLE [NEGATIVE] TEST CASE - load WebInject dev page"
    description2   = "verify string 'bogus string' does not exist in response"
    method         = "get"
    url            = "http://www.webinject.org/dev.html"
    verifynegative = "bogus string"
    warning        = "5"
    critical       = "15"
    label          = "devpage2"
/>

<case
    id="3"
    description1="SAMPLE TEST CASE THAT FAILS - load bogus page"
    description2="case should fail with an HTTP 404 (not found) error"
    method="get"
    url="http://www.webinject.org/bogus.html"
    warning        = "5"
    critical       = "15"
    label          = "boguspage"
/>

<case
    id             = "4"
    description1   = "SAMPLE TEST CASE THAT FAILS - valid page with bogus verification"
    description2   = "case should fail"
    method         = "get"
    url            = "http://www.webinject.org/dev.html"
    verifypositive = "I am a bogus string"
    warning        = "5"
    critical       = "15"
    label          = "devpage3"
/>

</testcases>