Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » JMeter
JMeter [message #753588] Thu, 27 October 2011 21:31 Go to next message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
Hi

I went to this link to learn and record the RAP TestCases.

http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf

I was unable to record the testcases under Recording Controller.

But i was able to see the results when i was clicking at the different parts of my application in the 'View Results Tree'.

Any pointer what i missed..

Thanks
Raj
Re: JMeter [message #753592 is a reply to message #753588] Thu, 27 October 2011 21:47 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Ray,

check out this wiki page, maybe it provides the missing piece?

http://wiki.eclipse.org/RAP/LoadTesting

Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: JMeter [message #753813 is a reply to message #753592] Fri, 28 October 2011 21:35 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
I am getting the error in the results from JMeter

"Your browser or browser-setup is not supported. <br />Please use one of: IE 6 or higher, Firefox 1.5 or higher Safari 3 or higher, Google Chrome 2 or higher or Opera 10 or higher. <br />Ensure that Javascript is enabled and XMLHttpRequests are allowed."

In the Result of Jmeter.....


Any thoughts????

Raj
Re: JMeter [message #753814 is a reply to message #753592] Fri, 28 October 2011 21:35 Go to previous messageGo to next message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
I am getting the error in the results from JMeter

"Your browser or browser-setup is not supported. <br />Please use one of: IE 6 or higher, Firefox 1.5 or higher Safari 3 or higher, Google Chrome 2 or higher or Opera 10 or higher. <br />Ensure that Javascript is enabled and XMLHttpRequests are allowed."

In the Result of Jmeter.....


Any thoughts????

Raj
Re: JMeter [message #753831 is a reply to message #753813] Sat, 29 October 2011 06:47 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Let me describe more

I am using the url rewriting to maintaim sesion.
I am using

<Context cookies="false"></Context>

at my tomcat server for url rewriting.
But my first two test caes are executed withput any errors but after that all the test fails.
I am running the test with single user.
Re: JMeter [message #753832 is a reply to message #753813] Sat, 29 October 2011 06:47 Go to previous messageGo to next message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
Let me describe more

I am using the url rewriting to maintaim sesion.
I am using

<Context cookies="false"></Context>

at my tomcat server for url rewriting.
But my first two test caes are executed withput any errors but after that all the test fails.
I am running the test with single user.
Re: JMeter [message #753833 is a reply to message #753831] Sat, 29 October 2011 08:29 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Raj,

> I am using the url rewriting to maintaim sesion. I am using
> <Context cookies="false"></Context>
> at my tomcat server for url rewriting.

That won't work, at least not out-of-the-box. The JMeter recording will
include the session id at recording time, because it's part of the
request URLs. It might work somehow for the first user but all
subsequent simulated user sessions will all provide the same session id
to the server, which will then detect a request counter mismatch.

I don't know if JMeter can handle url rewriting and modify the recorded
URLs accordingly. If not, couldn't you just try to run your load tests
with cookies enabled?

Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: JMeter [message #754683 is a reply to message #753833] Thu, 03 November 2011 20:38 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Hi Ralf

Thanks for the pointer.

Yes, i need to play around with the Jmeter and it worked well.

I was able to run the test with the url rewriting. In JMeter there is something called regular expression extracter. I used this to extract the jsessionid from the first response from the server and then pass the same id in the all the other requests.

Thanks
Raj
Re: JMeter [message #754685 is a reply to message #753833] Thu, 03 November 2011 20:38 Go to previous messageGo to next message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
Hi Ralf

Thanks for the pointer.

Yes, i need to play around with the Jmeter and it worked well.

I was able to run the test with the url rewriting. In JMeter there is something called regular expression extracter. I used this to extract the jsessionid from the first response from the server and then pass the same id in the all the other requests.

Thanks
Raj
Re: JMeter [message #755650 is a reply to message #754683] Wed, 09 November 2011 08:27 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Thanks for letting us know Raj,

I added your advise to the FAQ:

http://wiki.eclipse.org/RAP/LoadTesting#URL_rewriting_instead_of_cookies

Regards, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:JMeter
Next Topic:view in separate bundle (plug-in)?
Goto Forum:
  


Current Time: Fri Mar 29 11:36:56 GMT 2024

Powered by FUDForum. Page generated in 0.02913 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top