Re: Typed variable declaration error opening AQSession with BeanShell Sampler

2010-03-22 Thread Peter
thanks for your hints. During init AQjmsSession javax.transaction.Transaction is referenced, whereas there was shown no dependency. Adding jta.jar to lib/ext solved the problem. btw: try catch, additional logging etc do not help in this context. Kind regards Peter Am 22.03.2010 um 22:41 schrieb

The Result Data of Tree Report and Summary Report are not consistent

2010-03-22 Thread sandy320
A java Request to test EJB Server(Jboss), and I need a callback method to verify whether the server has response. The code slice is below: public SampleResult runTest(JavaSamplerContext context) { .. // Callback method, the Server will invoke this method, and I should judge the result in th

Re: Spring REST @PathVariable with JMeter

2010-03-22 Thread Deepak Shetty
the 500 internal server error means it did hit your service and got an error response from your application . Your app logs might give you more information. The only parameter I can see missing is count , Other possibilities may be date format handling or something its easy to compare if you have

Re: Spring REST @PathVariable with JMeter

2010-03-22 Thread Justin Hoang
Deepak, Thanks for your response. Actually i have it wrong in the pic, the correct path is: /clientservices/requestbroker/1.0/035BD2B8-6BC5-A929-45A8-C40306484D12/feedItems.atom 035BD2B8-6BC5-A929-45A8-C40306484D12 is the userId. Seems like it never hits my service. I got error message back i

Re: Spring REST @PathVariable with JMeter

2010-03-22 Thread Deepak Shetty
whats the ${UUID} you have in your path? You probably want this to be a user id correct? where should this user id be got from? Do you have a working request to this REST service(from the browser or anywhere)? Your error message on the server should probably tell you whats happening (are you missin

Re: Spring REST @PathVariable with JMeter

2010-03-22 Thread sebb
On 22/03/2010, Justin Hoang wrote: > > Hello everyone, > > I am trying to use JMeter to load test my Spring REST for the below service: > > @RequestMapping(value = "/{userId}/feedItems.*", method = > RequestMethod.POST) > public ModelAndView getFeedItemsByUser(@PathVariable("userId") St

Spring REST @PathVariable with JMeter

2010-03-22 Thread Justin Hoang
Hello everyone, I am trying to use JMeter to load test my Spring REST for the below service: @RequestMapping(value = "/{userId}/feedItems.*", method = RequestMethod.POST) public ModelAndView getFeedItemsByUser(@PathVariable("userId") String userId, int count, String[] filterByFeedUrls, D

Re: Reg NTLM Authorization Manager

2010-03-22 Thread sebb
On 22/03/2010, Deepak Shetty wrote: > hi > Source code should probably be in HTTPClient , not in JMeter . You might > want to check directly using httpclient api's (not via jmeter) > Again , whether or not IE or FF change the case of the entered text , a user > can enter his username in any ca

Re: Typed variable declaration error opening AQSession with BeanShell Sampler

2010-03-22 Thread sebb
On 22/03/2010, Peter wrote: > Hi, > > I am trying to send a message using Oracle Queues. Therefore I prepared the > code in Eclipse, where it works. Now I am trying to migrate the code to > JMeter BeanShell Sampler. Somehow JMeter reports an error during execution: > > part of the script

Re: FW: How to setup JMeter to run Remote Server through proxy.

2010-03-22 Thread Deepak Shetty
Im not exactly sure what you want to do. Do you a. Want to have JMeter use a proxy for its test? OR b. Want to run JMeter in distributed mode AND use a proxy when making HTTP requests? if a.) then 1. is your proxy working correctly? From the machine where you are running JMeter , launch a browser

Re: Typed variable declaration error opening AQSession with BeanShell Sampler

2010-03-22 Thread Deepak Shetty
try catch blocks printing exception stacktraces and liberal print and log statements :) If your code is working in eclipse then its probably classpath libraries/ property files that are available in your eclipse project but not to JMeter. On Mon, Mar 22, 2010 at 9:12 AM, Peter wrote: > Hi, >

Re: How to use a main Duration Assertion over multiple HTTP threads ?

2010-03-22 Thread Deepak Shetty
Hi The following works Thread Group +Transaction Controller(Generate Parent Sample = yes) ++Simple Controller +++Sample1 ++Simple Controller +++Sample2 +++Sample3 +++Sample4 ++Duration Assertion (child of transaction controller, main sample only) Only disadvantage is it will change the way

Re: Reg NTLM Authorization Manager

2010-03-22 Thread Deepak Shetty
hi Source code should probably be in HTTPClient , not in JMeter . You might want to check directly using httpclient api's (not via jmeter) Again , whether or not IE or FF change the case of the entered text , a user can enter his username in any case right? Also what version of NTLM ? Did you also

Re: Getting Session Expired Message for the load test of a HTTPS web application using JMeter

2010-03-22 Thread Deepak Shetty
If you do not understand what URL rewriting is or how session ids are used by web applications, remove the URL rewriting modifier, remove the regex extractor you have added for session id and ONLY use the Cookie Manager. If you have recorded the script and the jsessionid is in url because of that ,

Typed variable declaration error opening AQSession with BeanShell Sampler

2010-03-22 Thread Peter
Hi, I am trying to send a message using Oracle Queues. Therefore I prepared the code in Eclipse, where it works. Now I am trying to migrate the code to JMeter BeanShell Sampler. Somehow JMeter reports an error during execution: part of the script import javax.jms.*; import oracle.jms

How to use a main Duration Assertion over multiple HTTP threads ?

2010-03-22 Thread Dijk, van, Rutger
Hello, I have set up the following test plan: - Thread Group - For each ... - Simple Controller - Sampler 1 (HTTP) - Duration Assertion 1 (e.g. 300) - Simple Controller - Sampler 2 (HTTP) - Sampler 3 (HTTP) - Sampler

FW: How to setup JMeter to run Remote Server through proxy.

2010-03-22 Thread KRISHNA CHOWDARY BOPPANA
hi all, I want to run a test plan from a proxy. The proxy is in remote machine. After the test plan is executed results has to collected in the JMeter server machine. JMeter > Remote Server > Proxy > Web Server How can i configure this setup in JMeter. I tried with following comm

Re: Reg NTLM Authorization Manager

2010-03-22 Thread Gokulakannan Somasundaram
Thanks for the confirmation. > what happens when you use Internet explorer as the client instead of Jmeter > , do you not see a similar problem? > > But both IE and Firefox are not changing the case of the username to uppercase. Infact, if they are converting the username case, then the applicati

Re: Reg NTLM Authorization Manager

2010-03-22 Thread Gokulakannan Somasundaram
> > > Does JMeter behave the same with both HTTP samplers? > > > Yes! JMeter behave the same with both HTTP Samplers. But we see some strange patterns a) HTTP Request HTTP Client doesn't work with HTTP Post with authentication. Fails with Some unknown error like this Size in bytes: 797 Sample Co

Re: Getting Session Expired Message for the load test of a HTTPS web application using JMeter

2010-03-22 Thread Rajesh Tiwary
Hi deepak, well in the response data tab for tree listener i am not getting any error message..also all the reports in tree listener are showing error count:0 but the problem is aftering sending the usid and password i m still getting the login page in the response data.. compairing the results