Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
_jmeter.threads.JMeterThread: org.openqa.selenium.SessionNotCreatedException: InvalidArgumentError:

Open 0 Answers 143 Views
0 0
_jmeter.threads.JMeterThread: org.openqa.selenium.SessionNotCreatedException: InvalidArgumentError: Expected [object String] "{"proxyAutoconfigUrl":null,"autodetect":false,"socksUsername":null,"socksPassword":null,"httpProxy":null,"proxyType":"SYSTEM","noProxy":null,"ftpProxy":null,"socksProxy":null,"hCode":1762714717,"class":"org.openqa.selenium.Proxy","sslProxy":null}" to be an object (WARNING: The server did not provide any stacktrace information) Test failed! 

Driver info: driver.version: FirefoxDriver

On starting FF with Jmeter getting above error. Please refer stacktrace below for more information.


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:367)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:113)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)

1Comments
commented by (151 points)
Can you post your code using which you are invoking Firefox browser?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...