Hi all,
I'm quite new to Neoload and as the ver5.1 released, I've been tasked to see if I can integrate selenium test script into Neoload.
http://www.neotys.com/documents/doc/neoload/latest/en/htm...
It says do the following
Old line:
WebDriver driver = new FirefoxDriver();
New line:
NLWebDriver driver = WebDriverProxy.newInstance(new FirefoxDriver());
------------------------------------------
and when I run it, I get
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/olingo/odata2/api/exception/ODataException
at com.neotys.selenium.proxies.WebDriverProxy.<init>(WebDriverProxy.java:41)
at com.neotys.selenium.proxies.WebDriverProxy.newInstance(WebDriverProxy.java:49)
at planView.FirstTrial.main(FirstTrial.java:25)
Caused by: java.lang.ClassNotFoundException: org.apache.olingo.odata2.api.exception.ODataException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 3 more
any idea/help please? I have no clue what's wrong
Hi Sahryn,
Make sure you have the following jars (from <neoload>/lib) in your classpath:
commons-io-2.4.jar
commons-lang3-3.2.1.jar
gson-2.2.2.jar
guava-14.0.1.jar
javax.ws.rs-api-2.0-m10.jar
neotys-rest-api-client-olingo-1.0.1.jar
neotys-rest-api-common-1.0.0.jar
neotys-rest-api-dataexchange-client-1.0.1.jar
neotys-rest-api-dataexchange-client-olingo-x.y.z.jar
olingo-odata2-api-1.2.0.jar
olingo-odata2-core-1.2.0.jar
christophe answered
Sahyun posted a new question