I extracted the contents of selenium-server-standalone-2.17.0.jar and
added CyberVillians certificate to custom firefox profile.(I hope this
is the process for adding the certificate). Then used the custom
firefox profile to run the tests.
After running the scripts i got the following exception
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.substring(String.java:1938)
at
cz.mallat.uasparser.fileparser.PHPFileParser.loadFile(PHPFileParser.java:
65)
at
cz.mallat.uasparser.fileparser.PHPFileParser.<init>(PHPFileParser.java:
29)
at cz.mallat.uasparser.UASparser.loadDataFromFile(UASparser.java:212)
at
cz.mallat.uasparser.CachingOnlineUpdateUASparser.<init>(CachingOnlineUpdateUASparser.java:
55)
at
cz.mallat.uasparser.CachingOnlineUpdateUASparser.<init>(CachingOnlineUpdateUASparser.java:
26)
at
org.browsermob.proxy.http.BrowserMobHttpClient.execute(BrowserMobHttpClient.java:
381)
at
org.browsermob.proxy.http.BrowserMobHttpClient.execute(BrowserMobHttpClient.java:
356)
at
org.browsermob.proxy.http.BrowserMobHttpRequest.execute(BrowserMobHttpRequest.java:
149)
at
org.browsermob.proxy.BrowserMobProxyHandler.proxyPlainTextRequest(BrowserMobProxyHandler.java:
270)
at
org.browsermob.proxy.selenium.SeleniumProxyHandler.handle(SeleniumProxyHandler.java:
185)
at
org.browsermob.proxy.jetty.http.HttpContext.handle(HttpContext.java:
1509)
at
org.browsermob.proxy.jetty.http.HttpContext.handle(HttpContext.java:
1461)
at org.browsermob.proxy.jetty.http.HttpServer.service(HttpServer.java:
892)
at
org.browsermob.proxy.jetty.http.HttpConnection.service(HttpConnection.java:
815)
at
org.browsermob.proxy.jetty.http.HttpConnection.handleNext(HttpConnection.java:
981)
at
org.browsermob.proxy.jetty.http.HttpConnection.handle(HttpConnection.java:
832)
at
org.browsermob.proxy.jetty.http.SocketListener.handleConnection(SocketListener.java:
245)
at
org.browsermob.proxy.jetty.util.ThreadedServer.handle(ThreadedServer.java:
357)
at org.browsermob.proxy.jetty.util.ThreadPool
$PoolThread.run(ThreadPool.java:534)
Thanks
Mathew