Team, Good morning ,
Am in progress of creating Security testing for my UI application , which i have built on Jmeter.
this script is using Chrome Driver, if i use Zap proxy and port number on chrom driver config.
am getting below error while launching browser.
2024-03-04 12:15:21,801 ERROR o.a.j.t.JMeterThread: Error calling threadStarted
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 400. Message: invalid argument: entry 0 of 'firstMatch' is invalid
from invalid argument: cannot parse capability: proxy
from invalid argument: 'socksVersion' must be between 0 and 255
Host info: host: 'VA-X4U5HH09XAN7', ip: '192.168.1.169'
Build info: version: '4.9.1', revision: 'eb2032df7f'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '21.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: false, browserName: chrome, goog:chromeOptions: {args: [--headless=new, --remote-allow-origins=*], extensions: []}, proxy: Proxy(manual, ftp=:8080, ht...}]}]
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:136) ~[selenium-remote-driver-4.9.1.jar:?]
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:94) ~[selenium-remote-driver-4.9.1.jar:?]
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68) ~[selenium-remote-driver-4.9.1.jar:?]
could you pls assist me on this issue .
Thank you