3 Replies Latest reply on Aug 2, 2013 4:23 AM by Aslak Knutsen

    Multiple deployment in Arquillian

    Antoine Duprat Newbie


      I've one question about multiple deployment in Arquillian.


      I wish to deploy two webapps (A & B), where A as to know B's URL.

      This behaviour is currently working with this pattern :





          public void test(@ArquillianResource @OperateOnDeployment("A") URL aURL,

                  @ArquillianResource @OperateOnDeployment("B") URL bURL) throws Exception {



              telling to A the B URL





      (I had to define a new endpoint in A, in order to store B URL.)


      The bad point of this pattern is that all the test methods have to handle two parameters + call of 'telling to A the B URL' method.


      Any idea?