Ignore:
Timestamp:
07/17/15 13:29:19 (9 years ago)
Author:
pharms
Message:

added ordering id stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/http/HTTPTestUtils.java

    r1561 r2017  
    6868        exchange.setReceiver(createRandomAddress()); 
    6969         
     70        try { 
     71            Thread.sleep(2); 
     72        } 
     73        catch (InterruptedException e) { 
     74            // ignore 
     75        } 
     76 
    7077        HttpRequest request = factory.createHttpRequest(); 
     78        request.setOrderingId(System.currentTimeMillis()); 
    7179        request.setAuthType("AUTH_" + Math.random()); 
    7280        request.setQuery("QUERY_" + Math.random()); 
     
    8189        exchange.setRequest(request); 
    8290         
     91        try { 
     92            Thread.sleep(2); 
     93        } 
     94        catch (InterruptedException e) { 
     95            // ignore 
     96        } 
     97         
    8398        HttpResponse response = factory.createHttpResponse(); 
     99        response.setOrderingId(System.currentTimeMillis()); 
    84100        response.setContent(createRandomContent()); 
    85101        response.setHeaders(createRandomHeaders()); 
Note: See TracChangeset for help on using the changeset viewer.