| 1 22 package org.jboss.test.cluster.test; 23 24 import junit.framework.Test; 25 import org.apache.commons.httpclient.HttpClient; 26 import org.apache.commons.httpclient.HttpMethod; 27 import org.apache.commons.httpclient.methods.GetMethod; 28 import org.jboss.test.JBossClusteredTestCase; 29 30 import java.util.Random ; 31 32 import EDU.oswego.cs.dl.util.concurrent.Semaphore; 33 34 40 public class AttributeBasedConcurrentTestCase 41 extends SessionBasedConcurrentTestCase 42 { 43 public AttributeBasedConcurrentTestCase(String name) 44 { 45 super(name); 46 setURLName_ = "/http-scoped-attr/testsessionreplication.jsp"; 47 getURLName_ = "/http-scoped-attr/getattribute.jsp"; 48 } 49 50 public static Test suite() throws Exception  52 { 53 Test t1 = JBossClusteredTestCase.getDeploySetup(AttributeBasedConcurrentTestCase.class, 54 "http-scoped-attr.war"); 55 return t1; 56 } 57 } 58 | Popular Tags |