Changeset 2017 for trunk/autoquest-test-utils/src/main/java/de/ugoe
- Timestamp:
- 07/17/15 13:29:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/http/HTTPTestUtils.java
r1561 r2017 68 68 exchange.setReceiver(createRandomAddress()); 69 69 70 try { 71 Thread.sleep(2); 72 } 73 catch (InterruptedException e) { 74 // ignore 75 } 76 70 77 HttpRequest request = factory.createHttpRequest(); 78 request.setOrderingId(System.currentTimeMillis()); 71 79 request.setAuthType("AUTH_" + Math.random()); 72 80 request.setQuery("QUERY_" + Math.random()); … … 81 89 exchange.setRequest(request); 82 90 91 try { 92 Thread.sleep(2); 93 } 94 catch (InterruptedException e) { 95 // ignore 96 } 97 83 98 HttpResponse response = factory.createHttpResponse(); 99 response.setOrderingId(System.currentTimeMillis()); 84 100 response.setContent(createRandomContent()); 85 101 response.setHeaders(createRandomHeaders());
Note: See TracChangeset
for help on using the changeset viewer.