Hi Ritesh,

webtest is intended to allow test of webapplication. From this perspective is the http protocol used for communication between browser and server a detail. I think that we can trust common browsers and web servers to handle it correctly. This is the reason why webtest doesn't provide any mechanism to specify it. Nevertheless if you really want to explicitely use a special protocol version, you can use a script step to configure the underlying HttpClient instance as you want (other http protocol version does not only mean an other version number in the first header line). To do this, you have to look by yourself at HttpClient's API. If you're able to provide a list of protocol version used by different browser, it could be interesting to integrate this information in htmlunit.

Marc.


Ritesh Trivedi wrote:
Marc,

Thanks for the response.

From the API link you posted for Apache commons HttpClient, it looks
like protocol version can be controlled.

But my question was more of - from webtest xml testcase, how can I
set/control different versions of HTTP protocol in the HTTP headers -
during the conversation with the server?

Thanks
Ritesh
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to