<div dir="ltr"><div>Robin,</div><div><br></div><div>We don&#39;t have anything right now apart from io.undertow.servlet.handlers.ServletInitialHandler#dispatchMockRequest, so you will have to dig in and try to write a mock yourself. Maybe I&#39;ll add that to a future release plan but, for now, it is not on my radar either.</div><div><br></div><div>Flavia<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 5, 2019 at 1:52 PM Robin Anil &lt;<a href="mailto:robin.anil@gmail.com">robin.anil@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Undertow-dev<div><br></div><div>Could you see this request. Apologies for pinging Stuart directly. But I am looking for ways to write tests that exercise the  undertow handler chain tests going through the network.</div><div><br></div><div>Robin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2019 at 6:11 PM Stuart Douglas &lt;<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Not in the near future. I have mostly been working on Quarkus for the moment, and Flavia has taken over as Undertow lead (I am still involved in the project, I just don&#39;t have as much time to spend on it).<div><br></div><div>Stuart</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 21, 2019 at 2:02 AM Robin Anil &lt;<a href="mailto:robin.anil@gmail.com" target="_blank">robin.anil@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Stuart, just checking in again, is doing a local invocation of handlers without involving network on your radar?<div><br></div><div>Robin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 15, 2018 at 4:44 PM Robin Anil &lt;<a href="mailto:robin.anil@gmail.com" target="_blank">robin.anil@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Not a lot of data. But most of our handlers are very fast and out test suite is in the 2000 range and increasing<br><br><div>- from a phone, xquz typoz</div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 15, 2018 4:35 PM, &quot;Stuart Douglas&quot; &lt;<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail-m_4776061752708700690gmail-m_8554994927922515140gmail-m_-3487821169260241065gmail-m_4231487152150182356quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">For servlet there is io.undertow.servlet.handlers.ServletInitialHandler#dispatchMockRequest, however it is Servlet only at the moment and it pretty basic.<br><div><br></div><div>That said though I am currently looking at adding support for a new client+proxy implementation, and one of the things I want to support is local invocation without involving the network, so doing a more general version of this was on my radar.</div><div><br></div><div>I am still surprised that the network is causing issues for your integration tests though. How much data are these tests sending?</div><font color="#888888"><div><br></div><div>Stuart</div></font></div><div class="gmail-m_4776061752708700690gmail-m_8554994927922515140gmail-m_-3487821169260241065gmail-m_4231487152150182356elided-text"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 16, 2018 at 6:14 AM, Robin Anil <span dir="ltr">&lt;<a href="mailto:robin.anil@gmail.com" target="_blank">robin.anil@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Stuart,</div><div><br></div>Is there a way to bring up undertow programmatically where the underlying HTTP/https transport is removed in favor or direction function calls<div><br></div><div>Effectively, we have accumulated a lot of integration tests and are looking for ways to speed them up and at the moment, 80% of CPU time in the test is pretty data copies back and forth at the HTTP client and HTTP server.</div><div><br></div><div>Before I start refactoring our HTTP-handler chains to fake-undertow, I thought it might be good to ask.</div><span class="gmail-m_4776061752708700690gmail-m_8554994927922515140gmail-m_-3487821169260241065gmail-m_4231487152150182356m_3527110297831353396HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Robin</div></font></span></div>
</blockquote></div><br></div>
</div></blockquote></div><br></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_4776061752708700690gmail-m_8554994927922515140gmail-m_-3487821169260241065gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="font-family:sans-serif;font-size:13px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(85,85,85);line-height:19px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px"><div dir="ltr" style="color:rgb(136,136,136);font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;line-height:19.5px"><br></div><div dir="ltr" style="color:rgb(136,136,136);font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;line-height:19.5px"><div style="color:rgb(0,0,0);font-family:helvetica;font-size:medium;display:inline-block;vertical-align:top;padding-left:5px;padding-top:2px"><a href="https://www.exploretock.com/?utm_source=email&amp;utm_medium=signature" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.tockhq.com/src/images/brand/tock-mark.png" alt="Tock" style="width: 20px; height: 20px;"></a></div><span style="color:rgb(0,0,0);font-family:helvetica;font-size:medium"> </span><div style="display:inline-block;vertical-align:top;margin-left:15px;font-size:11px;line-height:1.5;color:rgb(76,76,76);font-family:helvetica,arial,sans-serif"><div style="font-weight:bold;color:black">Robin Anil</div><div>Director of Engineering</div><div></div><br><div>Tock / <a href="https://www.exploretock.com/?utm_source=email&amp;utm_medium=signature" style="color:rgb(76,76,76)" target="_blank">exploretock.com</a></div></div></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_4776061752708700690gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="font-family:sans-serif;font-size:13px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(85,85,85);line-height:19px;border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px"><div dir="ltr" style="color:rgb(136,136,136);font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;line-height:19.5px"><br></div><div dir="ltr" style="color:rgb(136,136,136);font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;line-height:19.5px"><div style="color:rgb(0,0,0);font-family:helvetica;font-size:medium;display:inline-block;vertical-align:top;padding-left:5px;padding-top:2px"><a href="https://www.exploretock.com/?utm_source=email&amp;utm_medium=signature" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.tockhq.com/src/images/brand/tock-mark.png" alt="Tock" style="width: 20px; height: 20px;"></a></div><span style="color:rgb(0,0,0);font-family:helvetica;font-size:medium"> </span><div style="display:inline-block;vertical-align:top;margin-left:15px;font-size:11px;line-height:1.5;color:rgb(76,76,76);font-family:helvetica,arial,sans-serif"><div style="font-weight:bold;color:black">Robin Anil</div><div>Director of Engineering</div><div></div><br><div>Tock / <a href="https://www.exploretock.com/?utm_source=email&amp;utm_medium=signature" style="color:rgb(76,76,76)" target="_blank">exploretock.com</a></div></div></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>
<p style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>Flavia</span> <span>Rainone</span></p>
<p style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>Principal Software Engineer</span><span style="font-weight:normal;color:rgb(170,170,170);margin:0px"></span></p>
<p style="font-weight:normal;margin:0px;font-size:10px;color:rgb(153,153,153)"><a style="color:rgb(0,136,206);font-size:10px;margin:0px;text-decoration:none;font-family:&quot;overpass&quot;,sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span><br><br></span></a></p>




<table border="0"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a> </td>
<td style="font-weight:normal;font-size:10px">
<div><a href="https://redhat.com/trusted" style="text-decoration:none;color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED</a></div></td></tr></tbody></table></div></div></div></div></div></div></div>