<div dir="ltr"><div>I&#39;m unclear on the desired architecture.</div><div><br></div>You&#39;re asking for something in the HAL codebase itself, right? Not in WildFly.  But to test most scenarios, including authentication, you need to have a running WildFly too, even though the HAL code you are testing is not the code that WildFly serves. Is that an accurate summary?<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 18, 2018 at 3:42 AM, Romain Pelisse <span dir="ltr">&lt;<a href="mailto:belaran@redhat.com" target="_blank">belaran@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Darn, I knew I should have been a bit more verbose! :) I would like something a bit more evolved. I&#39;m no expert in HAL, but I&#39;ve know webapps to return 200 while being utterly broken. I was hoping to run a small scenario, maybe something as stupid as trying to log in (even a failed attempt, returning the proper code would be nice). Is there no way to run a test from the suite standalone? <br></div><div><br></div><div>(I&#39;ve try the usual mvn -Dtest without success, but I also need to configure the testsuite to run against the proper instance)</div><div><br></div><div>If you think Curl is the better way to achieve that, I have no issue with it. I assume we can also use it to interact with the ReST API, right?</div><div><br></div><div>Thanks!<br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 18, 2018 at 10:34 AM, Harald Pehl <span dir="ltr">&lt;<a href="mailto:hpehl@redhat.com" target="_blank">hpehl@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">You could try to use `curl --head <a href="http://localhost:9990/console/index.html%60" target="_blank">http://localhost:9990/console/<wbr>index.html`</a> which should return something like<div><br></div><div>HTTP/1.1 200 OK<br>Connection: keep-alive<br>Last-Modified: Fri, 13 Jul 2018 14:27:50 GMT<br>X-Frame-Options: SAMEORIGIN<br>Content-Length: 1288<br>Content-Type: text/html<br>Accept-Ranges: bytes<br>Date: Wed, 18 Jul 2018 08:33:37 GMT</div><div><br><div><br><blockquote type="cite"><div><div class="m_8142162959093895513h5"><div>On 18. Jul 2018, at 10:22, Romain Pelisse &lt;<a href="mailto:belaran@redhat.com" target="_blank">belaran@redhat.com</a>&gt; wrote:</div><br class="m_8142162959093895513m_5290575694681770582Apple-interchange-newline"></div></div><div><div><div class="m_8142162959093895513h5"><div dir="ltr"><div>Hi all,</div><div><br></div><div>Is there a unit inside HAL code base I could use to automate checking that the console is working properly after firing Wildfly? I&#39;ve try to look for that myself, but i&#39;ve been a bit confused by the code base I&#39;m must confess.</div><div><br></div><div>(I&#39;ve kept it short, but feel free to ask for more context if you need to)<br></div></div></div></div>
______________________________<wbr>_________________<br>wildfly-dev mailing list<br><a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/wildfly-dev</a></div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Brian Stansberry<div>Manager, Senior Principal Software Engineer</div><div>Red Hat</div></div></div>
</div>