KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > web > SessionParamTest


1 package com.tonbeller.wcf.web;
2
3 import com.meterware.httpunit.GetMethodWebRequest;
4
5 public class SessionParamTest extends HttpUnitTestCase {
6
7   public SessionParamTest(String JavaDoc arg0) {
8     super(arg0);
9   }
10   
11   public void testSessionParam() throws Exception JavaDoc {
12     wc.sendRequest(new GetMethodWebRequest(servletUrl + "/paramtest.jsp"));
13     utils.check("paramtest-01", "filter.xsl", "test01");
14     utils.followXPath("//a[contains(., 'AAA')]", 0);
15     utils.check("paramtest-02", "filter.xsl", "test01");
16   }
17 }
18
Popular Tags