|
29 | 29 | public class ITStickySession extends BaseTest {
|
30 | 30 | private static final String testAppName = "stickysessionapp";
|
31 | 31 | private static final String testAppPath = testAppName + "/StickySessionCounterServlet";
|
32 |
| - // private static final String testAppName = "httpsessionreptestapp"; |
33 |
| - // private static final String testAppPath = testAppName + "/CounterServlet"; |
34 | 32 | private static final String scriptName = "buildDeployAppInPod.sh";
|
35 | 33 |
|
36 | 34 | private static Map<String, String> httpAttrMap;
|
@@ -185,7 +183,9 @@ public void testSameSessionStickiness() throws Exception {
|
185 | 183 | }
|
186 | 184 |
|
187 | 185 | /**
|
188 |
| - * Use a web application deployed on Weblogic cluster to track HTTP sessions. This test sends two |
| 186 | + * Use a web application deployed on Weblogic cluster to track HTTP session. In-memory replication |
| 187 | + * persistence method is configured to implement session persistence. server-affinity is achieved |
| 188 | + * by Voyager load balancer based on HTTP session information. This test sends two |
189 | 189 | * HTTP requests from two different clients to Weblogic and verify that HTTP sessions are
|
190 | 190 | * isolated.
|
191 | 191 | *
|
@@ -239,10 +239,10 @@ public void testDiffSessionsNoSharing() throws Exception {
|
239 | 239 | + count
|
240 | 240 | + ">");
|
241 | 241 |
|
242 |
| - // Verify that each client session has a different session ID |
| 242 | + // Verify that each client session has its own session ID |
243 | 243 | Assume.assumeFalse("HTTP session should NOT be same!", serverIDClient1.equals(serverIDClient2));
|
244 | 244 |
|
245 |
| - // Verify that HTTP session state is not shared between two clients |
| 245 | + // Verify that count number retrieved from session state is not shared between two clients |
246 | 246 | Assume.assumeTrue(
|
247 | 247 | "Count number <" + counterNum + "> set by client1 should be invisible to client2",
|
248 | 248 | count.equals("0"));
|
|
0 commit comments