Thanks, it was helpful.
But now I have another problem.
I tried to repeat opening google page from "getting starting"
https://github.com/cplim/JMeter/wiki/Getting-Started
and after starting the script a browser started, but page did not open and
in jmeter log I got error

2013/01/10 12:09:49 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.NoClassDefFoundError: org/apache/http/entity/ContentType
    at
org.openqa.selenium.remote.HttpCommandExecutor$EntityWithEncoding.<init>(HttpCommandExecutor.java:420)
    at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:315)
    at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.execute(NewProfileExtensionConnection.java:133)
    at
org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.execute(FirefoxDriver.java:355)
    at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:506)
    at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
    at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)
    at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:188)
    at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
    at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)
    at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)
    at
org.apache.jmeter.protocol.web.util.BrowserFactory.getBrowser(BrowserFactory.java:44)
    at
org.apache.jmeter.protocol.web.sampler.WebSampler.initManager(WebSampler.java:108)
    at
org.apache.jmeter.protocol.web.sampler.WebSampler.sample(WebSampler.java:71)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:442)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271)
    at java.lang.Thread.run(Thread.java:722)



On 4 January 2013 14:12, Yogesh Ketkar <[email protected]> wrote:

> Seems like attachments are not supported, I am just copying part of
> build.properties file which will make this work.
>
> maven2.repo                 = http://repo2.maven.org/maven2
> # added this below maven2.repo
> maven1.repo                 = http://repo1.maven.org/maven2
>
> # Changed jcharts part so it uses maven1.repo for downloading the file
> jcharts.version             = 0.7.5
> jcharts.jar                 = jcharts-${jcharts.version}.jar
> jcharts.loc                 =
> ${maven1.repo}/jcharts/jcharts/${jcharts.version}
> jcharts.md5                 = 13927D8077C991E7EBCD8CB284746A7A
>
> -----Original Message-----
> From: Yogesh Ketkar [mailto:[email protected]]
> Sent: Friday, January 04, 2013 3:24 PM
> To: 'JMeter Users List'
> Cc: 'Michael Payne'
> Subject: RE: Issues with integrating WebDriver
>
> I guess you are trying to build 2.7 source code. You will not get this
> error with 2.8 source code.
> But in case, you want to build 2.7 source code use attached
> build.properties file and your error will go away.
>
> Basically build uses build.properties file to get location/version of all
> dependents jars to download.
> There is a small issue with build.properties for jcharts jar, path below
> is not valid.
> http://www.mvnsearch.org/maven2/jcharts/jcharts/0.7.5/jcharts-0.7.5.jar
>
> -----Original Message-----
> From: Eugene Kazakov [mailto:[email protected]]
> Sent: Friday, January 04, 2013 3:26 AM
> To: JMeter Users List
> Cc: Michael Payne
> Subject: Re: Issues with integrating WebDriver
>
> Hello!
> I tried to run "ant download_jars", but it completed with error Could
> anybody help with that problem?
>
> _get_jarfile:
>      [echo] Fetching: lib/jcharts-0.7.5.jar
>       [get] Getting:
> http://www.mvnsearch.org/maven2/jcharts/jcharts/0.7.5/jcharts-0.7.5.jar
>       [get] To: D:\JMeter-master\build\jcharts-0.7.5.jar
>       [get] Error opening connection java.io.FileNotFoundException:
> http://www.mvnsearch.org/maven2/jcharts/jcharts/0.7.
> 5/jcharts-0.7.5.jar
>       [get] Error opening connection java.io.FileNotFoundException:
> http://www.mvnsearch.org/maven2/jcharts/jcharts/0.7.
> 5/jcharts-0.7.5.jar
>       [get] Error opening connection java.io.FileNotFoundException:
> http://www.mvnsearch.org/maven2/jcharts/jcharts/0.7.
> 5/jcharts-0.7.5.jar
>       [get] Can't get
> http://www.mvnsearch.org/maven2/jcharts/jcharts/0.7.5/jcharts-0.7.5.jarto 
> D:\JMeter-master\build\ jcharts-0.7.5.jar
>
> BUILD FAILED
> D:\JMeter-master\build.xml:2570: The following error occurred while
> executing this line:
> D:\JMeter-master\build.xml:2516: The following error occurred while
> executing this line:
> D:\JMeter-master\build.xml:2400: The following error occurred while
> executing this line:
> D:\JMeter-master\build.xml:2428: The following error occurred while
> executing this line:
> D:\JMeter-master\build.xml:2458: Can't get
> http://www.mvnsearch.org/maven2/jcharts/jcharts/0.7.5/jcharts-0.7.5.jar to
> D:
> \JMeter-master\build\jcharts-0.7.5.jar
>
>
>
> On 31 December 2012 12:53, Shmuel Krakower <[email protected]> wrote:
>
> > Take a look at https://github.com/cplim/JMeter On Dec 28, 2012 8:24
> > PM, "Michael Payne" <[email protected]> wrote:
> >
> > > I am attempting to load-test a Selenium WebDriver test as a JUnit
> > > Request.  This is for a Seam application and the test runs with
> > Arquillian.
> > > I see my Junit 4 annotated classes and methods, however, upon
> > > running I receive a NullPointerException in the Response Data when a
> > > test method attempts to use an injected object.
> > >
> > > My setup:
> > > - selenium-java and selenium-server-standalone in /lib
> > > - Test JAR in /lib/junit
> > > - JAR dependencies to /lib as needed
> > >
> > > Given the current issues, what are some things I could try?  Does my
> > setup
> > > and environment suggest any other caveats?
> > >
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
>
>
>
> --
> Thank you,
> Eugene Kazakov
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Thank you,
Eugene Kazakov

Reply via email to