2016-04-08 5 views
0

Am ziemlich sicher, ich habe keine analytics google Haken in meinen Tests, aberQuelle von Google Analytics aufrufen

15:25:08.883 [New I/O worker #1] DEBUG c.n.h.c.p.n.r.NettyConnectListener - Using non-cached Channel [id: 0x20706c2d, /10.40.36.87:53126 => ssl.google-analytics.com/216.58.197.72:443] for POST '/collect' 
15:25:08.937 [New I/O worker #1] DEBUG c.n.h.c.p.netty.handler.HttpProtocol - 

Request DefaultHttpRequest(chunked: false) 
POST /collect HTTP/1.1 
Connection: Keep-Alive 
User-Agent: java/1.8.0_60 
Content-Length: 135 
Content-Type: application/x-www-form-urlencoded 
Host: ssl.google-analytics.com 
Accept: */* 

Response DefaultHttpResponse(chunked: false) 
HTTP/1.1 200 OK 
Access-Control-Allow-Origin: * 
Date: Fri, 08 Apr 2016 09:55:08 GMT 
Pragma: no-cache 
Expires: Fri, 01 Jan 1990 00:00:00 GMT 
Cache-Control: no-cache, no-store, must-revalidate 
Last-Modified: Sun, 17 May 1998 03:00:00 GMT 
X-Content-Type-Options: nosniff 
Content-Type: image/gif 
Server: Golfe2 
Content-Length: 35 
Alternate-Protocol: 443:quic 
Alt-Svc: quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25" 

15:25:08.938 [New I/O worker #1] DEBUG c.n.h.c.p.n.channel.ChannelManager - Adding key: https://ssl.google-analytics.com:443 for channel [id: 0x20706c2d, /10.40.36.87:53126 => ssl.google-analytics.com/216.58.197.72:443] 

Diese Zeilen gedruckt werden, noch bevor eine Zeile wie unten

die Quelle der unten Nachrichten frage mich,

Ich laufe dies als ein Großprojekt und das obige ist Konsolenausgabe.

Antwort

0

Dies ist etwas hinzugefügt zu gatling selbst, da die Autoren verfolgen möchten, wie gatling verwendet wird. Wenn Sie es loswerden wollen, können Sie in der Konfigurationsdatei gatling.conf entweder enableGA = false setzen oder eine Systemvariable setzen.

Da ich auch gatling von gradle ich mit dem Systemvariable auf der gradle Befehlszeile (gradlew -DenableGA = false) dann alle Systemvariablen passieren in der Gatling d.h javaexec zu nennen .:

task gatling(dependsOn: 'compileTestScala') << { 
    javaexec { 
     main = 'io.gatling.app.Gatling' 
     systemProperties System.getProperties() 
     . 
     . 
    } 
}