Changeset 1390 for trunk/autoquest-httpmonitor-test/src/test/java/de/ugoe/cs/autoquest/httpmonitor/HttpMonitorTest.java
- Timestamp:
- 02/20/14 16:15:23 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-httpmonitor-test/src/test/java/de/ugoe/cs/autoquest/httpmonitor/HttpMonitorTest.java
r1376 r1390 94 94 @Test 95 95 public void test_SimulatedSession_MonitorOnly() throws Exception { 96 monitor = new HttpMonitor(new String[] { LOG_FILE_DIR, PORT +"" });96 monitor = new HttpMonitor(new String[] { LOG_FILE_DIR, MONITOR_PORT + "" }); 97 97 98 98 monitor.init(); … … 155 155 @Test 156 156 public void test_SimpleText_ProxyAndMonitor() throws Exception { 157 monitor = new HttpMonitor(new String[] { LOG_FILE_DIR, (PORT + 2)+ "" });157 monitor = new HttpMonitor(new String[] { LOG_FILE_DIR, MONITOR_PORT + "" }); 158 158 159 159 monitor.init(); … … 161 161 162 162 proxy = new HttpMonitoringProxy 163 (new String[] { LOG_FILE_DIR, P ORT +"",164 "localhost:" + (PORT + 1), "localhost:" + (PORT + 2)});163 (new String[] { LOG_FILE_DIR, PROXY_PORT + "", 164 "localhost:" + DUMMY_SERVER_PORT, "localhost:" + MONITOR_PORT }); 165 165 166 166 proxy.init(); … … 216 216 @Test 217 217 public void test_XMLMessage_ProxyAndMonitor() throws Exception { 218 monitor = new HttpMonitor(new String[] { LOG_FILE_DIR, (PORT + 2)+ "" });218 monitor = new HttpMonitor(new String[] { LOG_FILE_DIR, MONITOR_PORT + "" }); 219 219 220 220 monitor.init(); … … 222 222 223 223 proxy = new HttpMonitoringProxy 224 (new String[] { LOG_FILE_DIR, P ORT +"",225 "localhost:" + (PORT + 1), "localhost:" + (PORT + 2)});224 (new String[] { LOG_FILE_DIR, PROXY_PORT + "", 225 "localhost:" + DUMMY_SERVER_PORT, "localhost:" + MONITOR_PORT }); 226 226 227 227 proxy.init(); … … 315 315 316 316 for (HttpExchange exchange : exchanges) { 317 HttpPost httpRequest = new HttpPost("http://localhost:" + PORT + "/");317 HttpPost httpRequest = new HttpPost("http://localhost:" + MONITOR_PORT + "/"); 318 318 319 319 JAXBContext jaxbContext =
Note: See TracChangeset
for help on using the changeset viewer.