Commit 2d309ed0 authored by Geoff Simmons's avatar Geoff Simmons

Context-Paths angepasst: ts-mockvert und ts-rcv

parent cdca9dfc
nb-configuration.xml nb-configuration.xml
*~ *~
/rdrtestapp/target/
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.otto.lhotse.track</groupId> <groupId>de.otto.lhotse.track</groupId>
<artifactId>rdrtestapp</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<version>0.1-SNAPSHOT</version> <version>0.1-SNAPSHOT</version>
<name>rdrtestapp Maven Webapp</name>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<dependencies> <dependencies>
<dependency> <dependency>
...@@ -40,4 +38,7 @@ ...@@ -40,4 +38,7 @@
</plugins> </plugins>
<finalName>rdrtestapp</finalName> <finalName>rdrtestapp</finalName>
</build> </build>
<artifactId>ts-mockvert</artifactId>
<name>Tracking Mock Vertical</name>
<description>Mock-Vertikale, die zufällige Daten in Tracking-Tags erzeugt, um Tracking (insbesondere den Tracking Log-Reader) zu testen</description>
</project> </project>
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
<p>This included page simulates generation of customer data (order, shopping cart, <p>This included page simulates generation of customer data (order, shopping cart,
customer age & gender, etc.), and includes the next page.</p> customer age & gender, etc.), and includes the next page.</p>
<esi:include src="/tr/rcv?ot_ArtQuantity=<%=d.nextInt(10)%>&ot_Login=<jsp:getProperty name="d" property="boolean"/>"/> <esi:include src="/ts-rcv?ot_ArtQuantity=<%=d.nextInt(10)%>&ot_Login=<jsp:getProperty name="d" property="boolean"/>"/>
<esi:include src="/tr/rcv?ot_Bid=<jsp:getProperty name="d" property="hexInt"/>"/> <esi:include src="/ts-rcv?ot_Bid=<jsp:getProperty name="d" property="hexInt"/>"/>
<esi:include src="/tr/rcv?ot_Oid=<jsp:getProperty name="d" property="hexInt"/>"/> <esi:include src="/ts-rcv?ot_Oid=<jsp:getProperty name="d" property="hexInt"/>"/>
<esi:include src="/tr/rcv?ot_Login=<jsp:getProperty name="d" property="boolean"/>"/> <esi:include src="/ts-rcv?ot_Login=<jsp:getProperty name="d" property="boolean"/>"/>
<esi:include src="/tr/rcv?ot_DsOptOut=<jsp:getProperty name="d" property="boolean"/>"/> <esi:include src="/ts-rcv?ot_DsOptOut=<jsp:getProperty name="d" property="boolean"/>"/>
<esi:include src="/tr/rcv?ot_ktnr=<jsp:getProperty name="d" property="hexInt"/>"/> <esi:include src="/ts-rcv?ot_ktnr=<jsp:getProperty name="d" property="hexInt"/>"/>
<esi:include src="/tr/rcv?ot_custtype=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?ot_custtype=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?ot_age=<%=d.nextInt(80)%>&ot_sex=<jsp:getProperty name="d" property="gender"/>"/> <esi:include src="/ts-rcv?ot_age=<%=d.nextInt(80)%>&ot_sex=<jsp:getProperty name="d" property="gender"/>"/>
<esi:include src="include2.jsp"/> <esi:include src="include2.jsp"/>
...@@ -4,37 +4,37 @@ ...@@ -4,37 +4,37 @@
<h2>Include level 2</h2> <h2>Include level 2</h2>
<p>This included page simulates generation of marketing entry tags.</p> <p>This included page simulates generation of marketing entry tags.</p>
<esi:include src="/tr/rcv?me_campid=<jsp:getProperty name="d" property="hexInt"/>"/> <esi:include src="/ts-rcv?me_campid=<jsp:getProperty name="d" property="hexInt"/>"/>
<esi:include src="/tr/rcv?me_entry=<jsp:getProperty name="d" property="entryType"/>"/> <esi:include src="/ts-rcv?me_entry=<jsp:getProperty name="d" property="entryType"/>"/>
<esi:include src="/tr/rcv?me_creaid=<jsp:getProperty name="d" property="hexInt"/>"/> <esi:include src="/ts-rcv?me_creaid=<jsp:getProperty name="d" property="hexInt"/>"/>
<esi:include src="/tr/rcv?me_publid=<jsp:getProperty name="d" property="hexInt"/>"/> <esi:include src="/ts-rcv?me_publid=<jsp:getProperty name="d" property="hexInt"/>"/>
<esi:include src="/tr/rcv?me_iwl=<jsp:getProperty name="d" property="hexInt"/>"/> <esi:include src="/ts-rcv?me_iwl=<jsp:getProperty name="d" property="hexInt"/>"/>
<esi:include src="/tr/rcv?me_actseaterm=<jsp:getProperty name="d" property="searchTerms"/>"/> <esi:include src="/ts-rcv?me_actseaterm=<jsp:getProperty name="d" property="searchTerms"/>"/>
<esi:include src="/tr/rcv?me_actseaeng=<jsp:getProperty name="d" property="searchEngine"/>"/> <esi:include src="/ts-rcv?me_actseaeng=<jsp:getProperty name="d" property="searchEngine"/>"/>
<esi:include src="/tr/rcv?me_kochannel=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kochannel=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kopartn=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kopartn=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kosubpartn=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kosubpartn=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kocampna=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kocampna=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kosemkon=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kosemkon=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kosemsor=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kosemsor=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kosemcam=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kosemcam=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kosemadg=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kosemadg=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kosemkey=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kosemkey=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kosemmat=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kosemmat=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kopsmsor=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kopsmsor=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kopsmart=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kopsmart=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_konltyp=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_konltyp=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_konlvar=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_konlvar=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_konlfla=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_konlfla=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_konlecm=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_konlecm=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kokoopla=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kokoopla=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kowerbem=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kowerbem=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kocreatyp=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kocreatyp=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kocreafor=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kocreafor=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kocreathe=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kocreathe=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_kocreamot=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_kocreamot=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_origdom=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_origdom=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_gootid=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_gootid=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_psmasid=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_psmasid=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_psmart=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_psmart=<jsp:getProperty name="d" property="string"/>"/>
<esi:include src="/tr/rcv?me_hkz=<jsp:getProperty name="d" property="string"/>"/> <esi:include src="/ts-rcv?me_hkz=<jsp:getProperty name="d" property="string"/>"/>
...@@ -23,15 +23,15 @@ from there by the tracking reader. Its functions are:</p> ...@@ -23,15 +23,15 @@ from there by the tracking reader. Its functions are:</p>
<p>The outer page simulates generation of data presumably obtained from <p>The outer page simulates generation of data presumably obtained from
JavaScript, and includes the next page.</p> JavaScript, and includes the next page.</p>
<esi:include src="/tr/rcv?ot_browinw=<%=d.nextInt(1200)%>&ot_browinh=<%=d.nextInt(1200)%>"/> <esi:include src="/ts-rcv?ot_browinw=<%=d.nextInt(1200)%>&ot_browinh=<%=d.nextInt(1200)%>"/>
<esi:include src="/tr/rcv?ot_dispres=<%=d.nextInt(1920)%>x<%=d.nextInt(1080)%>"/> <esi:include src="/ts-rcv?ot_dispres=<%=d.nextInt(1920)%>x<%=d.nextInt(1080)%>"/>
<esi:include src="/tr/rcv?ot_dispcol=<jsp:getProperty name="d" property="colorDepth"/>"/> <esi:include src="/ts-rcv?ot_dispcol=<jsp:getProperty name="d" property="colorDepth"/>"/>
<esi:include src="/tr/rcv?ot_flash=<%=d.nextInt(12)%>&ot_java=<jsp:getProperty name="d" property="boolean"/>"/> <esi:include src="/ts-rcv?ot_flash=<%=d.nextInt(12)%>&ot_java=<jsp:getProperty name="d" property="boolean"/>"/>
<esi:include src="/tr/rcv?ot_js=1.<%=d.nextInt(9)%>&ot_cookies=<jsp:getProperty name="d" property="boolean"/>"/> <esi:include src="/ts-rcv?ot_js=1.<%=d.nextInt(9)%>&ot_cookies=<jsp:getProperty name="d" property="boolean"/>"/>
<esi:include src="include1.jsp"/> <esi:include src="include1.jsp"/>
......
...@@ -50,7 +50,7 @@ sub vcl_recv { ...@@ -50,7 +50,7 @@ sub vcl_recv {
req.http.Accept-Language); req.http.Accept-Language);
} }
} }
if (req.url ~ "^/tr") { if (req.url ~ "^/ts-rcv") {
if (req.url ~ "\?") { if (req.url ~ "\?") {
std.log("track " + req.xid + " " + std.log("track " + req.xid + " " +
regsub(req.url, "^.+\?(.+)$", "\1")); regsub(req.url, "^.+\?(.+)$", "\1"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment