Doesn't look as though there is a way to do it in the current state. How can I submit a feature request?
Maybe you could try the drone extension and set the headers with the addCustomRequestHeader?
Thanks, Ivan -- but I am not sure how to do it with Drone? I understand how Drone controls Selenium and such, but how can I integrate that code and header to make "regular" Arquillian tests invoke the same code in tests using Servlet 3.0 protocol?
Aslak, I see the code in org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute() method that invokes the test servlet, and as I thought, there's no configuration that allows me to add a custom header to the POST. But, I can't find any way to either subclass ServletMethodExecutor and override execute(), or plug any sort of custom implementation of URLConnection. Is there anything I can do myself, or you can enable me to do, with perhaps a Service Locator (??) or any other approach, to add some of my own code to add custom headers?