|
/Users/konstantinignatyev/dev/playground/mgr/grinder/httpscript-tapestry.py
|
1 #
2 # The Grinder version 3.0-beta26
3 #
4 # Script recorded by the TCPProxy at Aug 13, 2005 7:55:25 PM
5 #
6
7 from httpscript_wa_tests import *
8 from net.grinder.script.Grinder import grinder
9
10 class TestRunner:
11 def __call__(self):
12
13 tests[0].GET('http://localhost:8080/wa_tapestry/app',
14 ( NVPair('service', 'page/Home'), ))
15
16 tests[7].GET('http://localhost:8080/wa_tapestry/app',
17 ( NVPair('service', 'page/Companies'), ))
18
19 tests[8].POST('http://localhost:8080/wa_tapestry/app',
20 ( NVPair('service', 'direct/1/Companies/searchForm'),
21 NVPair('sp', 'S0'),
22 NVPair('Form0', 'nameCriteria'),
23 NVPair('nameCriteria', ''),
24 NVPair('Submit', 'Submit'), ))
25
26
27 tests[10].POST('http://localhost:8080/wa_tapestry/app',
28 ( NVPair('service', 'direct/1/Companies/$DirectLink'),
29 NVPair('sp', '-9'), ))
30
31
32 tests[12].POST('http://localhost:8080/wa_tapestry/app',
33 ( NVPair('service', 'direct/1/Company/companyForm'),
34 NVPair('sp', 'S0'),
35 NVPair('Form0', 'c_id,c_name,c_notes,btnCreate,btnSave,btnDelete,btnCancel,btnEdit'),
36 NVPair('btnEdit', 'edit'), ))
37
38
39 tests[14].POST('http://localhost:8080/wa_tapestry/app',
40 ( NVPair('service', 'direct/1/Company/companyForm'),
41 NVPair('sp', 'S0'),
42 NVPair('Form0', 'c_id,c_name,c_notes,btnCreate,btnSave,btnDelete,btnCancel,btnEdit'),
43 NVPair('c_name', 'SSSSS'),
44 NVPair('c_notes', 'QQQQQQ'),
45 NVPair('btnSave', 'update'), ))
46
47
48 tests[16].POST('http://localhost:8080/wa_tapestry/app',
49 ( NVPair('service', 'direct/1/Companies/searchForm'),
50 NVPair('sp', 'S0'),
51 NVPair('Form0', 'nameCriteria'),
52 NVPair('nameCriteria', 'SSSSS'),
53 NVPair('Submit', 'Submit'), ))
54
55