This is Jayapraksh, I need to set some trace information with every http call, which can be used later on server side for debugging purpose. I found out that selenium.addCustomRequestHeader method actually helps in achieving this. I called this method as follows but not finding "TestKey" & "TestValue" literal in http header field. I am using HttpAnalyzer V5 as sniffer. I have setup the http proxy also for selenium RC.

@Test(invocationCount = 2)
public void testMethod() throws Exception {

selenium.addCustomRequestHeader("TestKey", "TestValue");

Please do let me know if I am missing some steps over here. In case someonce can provide me step by step instructions for using selenium.addCustomRequestHeader method, that would be great.