I have automated my neoload transactions using selenium, now when i am trying to collect user experience data then it is throwing me below error.
Please find attached the java code, pom.xml & program arguments.
Please Note: I am using the free version of Neoload
Also, do i need to export my Java code as JAR and then import it into Neoload ?
Exception in thread "main" java.lang.RuntimeException: Disable the proxy or set the server URL. If using a JAR file, settings must be specified before the JAR file. See documentation for details.
at com.neotys.selenium.proxies.helpers.SeleniumProxyConfig.initializeDataExchangeAPIClient(SeleniumProxyConfig.java:316)
at com.neotys.selenium.proxies.helpers.SeleniumProxyConfig.getDataExchangeAPIClient(SeleniumProxyConfig.java:274)
at com.neotys.selenium.proxies.helpers.EntryHandler.sendData(EntryHandler.java:124)
at com.neotys.selenium.proxies.helpers.EntryHandler.sendEntry(EntryHandler.java:98)
at com.neotys.selenium.proxies.helpers.ProxySendHelper.sendAndReturn(ProxySendHelper.java:216)
at com.neotys.selenium.proxies.MethodHandlers$1.invoke(MethodHandlers.java:66)
at com.neotys.selenium.proxies.NLRemoteWebDriver_$$_javassist_0.get(NLRemoteWebDriver_$$_javassist_0.java)
at com.neoload.userpath.NeoloadMetrics.CreateUserPath(NeoloadMetrics.java:51)
at com.neoload.userpath.NeoloadMetrics.main(NeoloadMetrics.java:28)
Caused by: NL-DATAEXCHANGE-NO-TEST-RUNNING
at com.neotys.rest.error.NeotysAPIException.parse(NeotysAPIException.java:208)
at com.neotys.rest.client.NeotysAPIClientOlingo.writeEntity(NeotysAPIClientOlingo.java:202)
at com.neotys.rest.client.NeotysAPIClientOlingo.readEntity(NeotysAPIClientOlingo.java:134)
at com.neotys.rest.dataexchange.client.DataExchangeAPIClientOlingo.<init>(DataExchangeAPIClientOlingo.java:78)
at com.neotys.rest.dataexchange.client.DataExchangeAPIClientFactory$1.load(DataExchangeAPIClientFactory.java:65)
at com.neotys.rest.dataexchange.client.DataExchangeAPIClientFactory$1.load(DataExchangeAPIClientFactory.java:1)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at com.neotys.rest.dataexchange.client.DataExchangeAPIClientFactory.newClient(DataExchangeAPIClientFactory.java:130)
at com.neotys.selenium.proxies.helpers.SeleniumProxyConfig.initializeDataExchangeAPIClient(SeleniumProxyConfig.java:308)
... 8 more