/Users/konstantinignatyev/dev/playground/mgr/grinder/httpscript-sitemesh.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_sitemesh/do/home') 
14    
15           tests[7].GET('http://localhost:8080/wa_sitemesh/do/companiesList') 
16    
17    
18           tests[8].POST('http://localhost:8080/wa_sitemesh/do/companiesList', 
19             ( NVPair('nameCriteria', ''), 
20               NVPair('actionCMDsearch', 'submit'), )) 
21    
22    
23           tests[10].POST('http://localhost:8080/wa_sitemesh/do/companyCRUD/read', 
24             ( NVPair('id', '-9'), )) 
25    
26    
27           tests[12].POST('http://localhost:8080/wa_sitemesh/do/companyCRUD', 
28             ( NVPair('actionCMDedit', 'edit'), )) 
29    
30    
31           tests[14].POST('http://localhost:8080/wa_sitemesh/do/companyCRUD', 
32             ( NVPair('company.name', 'SSSSS'), 
33               NVPair('company.notes', 'QQQQQQ'), 
34               NVPair('actionCMDupdate', 'update'), )) 
35    
36    
37           tests[16].POST('http://localhost:8080/wa_sitemesh/do/companiesList', 
38             ( NVPair('nameCriteria', 'SSSSS'), 
39               NVPair('actionCMDsearch', 'submit'), )) 
40    
41    
42