John,<br /><br />Could you give us a bit more information?&nbsp;&nbsp;For example do you have a test case you are trying to write, but can&#39;t?&nbsp;&nbsp;I&#39;ll a little confused as to what you are trying to do and maybe seeing more code would help.<br /><br />Oh, and Just FYI the newer versions of Catalyst move the env access from engine to request, and if you are planning of making heavy use of that I&#39;d consider upgrading, so that you won&#39;t have compatibility issues later.<br /><br />John<br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div  dir="ltr" > <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> John Karr &lt;brainbuz@brainbuz.org&gt;<br> <b><span
 style="font-weight: bold;">To:</span></b> &#39;The elegant MVC web framework&#39; &lt;catalyst@lists.scsys.co.uk&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 12, 2012 3:39 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Catalyst] Application Testing, Mocking Apache Headers/Environment<br> </font> </div> <br>
I am trying to test an application that is deployed behind a proxy and which<BR>is dependent on obtaining information from the request through<BR>$c-&gt;engine-&gt;env this information includes the logged in user and client ip<BR>address. I've been using the config file to provide override values,<BR>however, this is not helpful for testing multiple values.<BR><BR><BR><BR><BR>_______________________________________________<BR>List: <a ymailto="mailto:Catalyst@lists.scsys.co.uk" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><BR>Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst<BR>Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/<BR>Dev site: http://dev.catalyst.perl.org/<BR><br><br> </div> </div> </blockquote>